versions = new MavenMetadataVersionResolver(rest,
80 | Arrays.asList("https://repo1.example.com", "https://repo2.example.com"))
81 | .resolveVersions(new Module("com.example", "core"));
82 | assertThat(versions.stream().map(DependencyVersion::toString).collect(Collectors.toList()))
83 | .containsExactly("1.0.0.RELEASE", "1.1.0.RELEASE");
84 | }
85 |
86 | }
87 |
--------------------------------------------------------------------------------
/src/test/java/io/spring/bomr/upgrade/UpgradePolicyTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017-2019 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * https://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package io.spring.bomr.upgrade;
18 |
19 | import io.spring.bomr.upgrade.version.DependencyVersion;
20 | import org.eclipse.aether.version.InvalidVersionSpecificationException;
21 | import org.junit.Test;
22 |
23 | import static org.assertj.core.api.Assertions.assertThat;
24 |
25 | /**
26 | * Tests for {@link UpgradePolicy}.
27 | *
28 | * @author Andy Wilkinson
29 | */
30 | public class UpgradePolicyTests {
31 |
32 | @Test
33 | public void anyWhenCandidateIsNewerMajorThanCurrentShouldReturnTrue() throws InvalidVersionSpecificationException {
34 | assertThat(UpgradePolicy.ANY.test(version("2.0.0"), version("1.0.0"))).isTrue();
35 | }
36 |
37 | @Test
38 | public void anyWhenCandidateIsNewerMinorThanCurrentShouldReturnTrue() throws InvalidVersionSpecificationException {
39 | assertThat(UpgradePolicy.ANY.test(version("1.1.0"), version("1.0.0"))).isTrue();
40 | }
41 |
42 | @Test
43 | public void anyWhenCandidateIsNewerPatchThanCurrentShouldReturnTrue() throws InvalidVersionSpecificationException {
44 | assertThat(UpgradePolicy.ANY.test(version("1.0.1"), version("1.0.0"))).isTrue();
45 | }
46 |
47 | @Test
48 | public void anyWhenCandidateIsSameAsCurrentShouldReturnFalse() throws InvalidVersionSpecificationException {
49 | assertThat(UpgradePolicy.ANY.test(version("1.0.0"), version("1.0.0"))).isFalse();
50 | }
51 |
52 | @Test
53 | public void anyWhenCandidateIsOlderThanCurrentShouldReturnFalse() throws InvalidVersionSpecificationException {
54 | assertThat(UpgradePolicy.ANY.test(version("2.0.0"), version("2.0.1"))).isFalse();
55 | }
56 |
57 | @Test
58 | public void sameMajorVersionWhenCandidateIsNewerMajorThanCurrentShouldReturnFalse()
59 | throws InvalidVersionSpecificationException {
60 | assertThat(UpgradePolicy.SAME_MAJOR_VERSION.test(version("2.0.0"), version("1.0.0"))).isFalse();
61 | }
62 |
63 | @Test
64 | public void sameMajorVersionWhenCandidateIsNewerMinorThanCurrentShouldReturnTrue()
65 | throws InvalidVersionSpecificationException {
66 | assertThat(UpgradePolicy.SAME_MAJOR_VERSION.test(version("1.1.0"), version("1.0.0"))).isTrue();
67 | }
68 |
69 | @Test
70 | public void sameMajorVersionWhenCandidateIsNewerPatchThanCurrentShouldReturnTrue()
71 | throws InvalidVersionSpecificationException {
72 | assertThat(UpgradePolicy.SAME_MAJOR_VERSION.test(version("1.0.1"), version("1.0.0"))).isTrue();
73 | }
74 |
75 | @Test
76 | public void sameMajorVersionWhenCandidateIsSameAsCurrentShouldReturnFalse()
77 | throws InvalidVersionSpecificationException {
78 | assertThat(UpgradePolicy.SAME_MAJOR_VERSION.test(version("1.0.0"), version("1.0.0"))).isFalse();
79 | }
80 |
81 | @Test
82 | public void sameMajorVersionWhenCandidateIsOlderThanCurrentShouldReturnFalse()
83 | throws InvalidVersionSpecificationException {
84 | assertThat(UpgradePolicy.SAME_MAJOR_VERSION.test(version("2.0.0"), version("2.1.0"))).isFalse();
85 | }
86 |
87 | @Test
88 | public void sameMinorVersionWhenCandidateIsNewerMajorThanCurrentShouldReturnFalse()
89 | throws InvalidVersionSpecificationException {
90 | assertThat(UpgradePolicy.SAME_MINOR_VERSION.test(version("2.0.0"), version("1.0.0"))).isFalse();
91 | }
92 |
93 | @Test
94 | public void sameMinorVersionWhenCandidateIsNewerMinorThanCurrentShouldReturnFalse()
95 | throws InvalidVersionSpecificationException {
96 | assertThat(UpgradePolicy.SAME_MINOR_VERSION.test(version("10.13.1"), version("10.14.1"))).isFalse();
97 | }
98 |
99 | @Test
100 | public void sameMinorVersionWhenCandidateIsNewerPatchThanCurrentShouldReturnTrue()
101 | throws InvalidVersionSpecificationException {
102 | assertThat(UpgradePolicy.SAME_MINOR_VERSION.test(version("1.0.1"), version("1.0.0"))).isTrue();
103 | }
104 |
105 | @Test
106 | public void sameMinorVersionWhenCandidateIsSameAsCurrentShouldReturnFalse()
107 | throws InvalidVersionSpecificationException {
108 | assertThat(UpgradePolicy.SAME_MINOR_VERSION.test(version("1.0.0"), version("1.0.0"))).isFalse();
109 | }
110 |
111 | @Test
112 | public void sameMinorVersionWhenCandidateIsOlderThanCurrentShouldReturnFalse()
113 | throws InvalidVersionSpecificationException {
114 | assertThat(UpgradePolicy.SAME_MINOR_VERSION.test(version("2.1.0"), version("2.1.1"))).isFalse();
115 | }
116 |
117 | private DependencyVersion version(String version) {
118 | return DependencyVersion.parse(version);
119 | }
120 |
121 | }
122 |
--------------------------------------------------------------------------------
/src/test/java/io/spring/bomr/upgrade/version/ArtifactVersionDependencyVersionTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017-2019 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * https://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package io.spring.bomr.upgrade.version;
18 |
19 | import org.junit.Test;
20 |
21 | import static org.assertj.core.api.Assertions.assertThat;
22 |
23 | /**
24 | * Tests for {@link ArtifactVersionDependencyVersion}.
25 | *
26 | * @author Andy Wilkinson
27 | */
28 | public class ArtifactVersionDependencyVersionTests {
29 |
30 | @Test
31 | public void parseWhenVersionIsNotAMavenVersionShouldReturnNull() {
32 | assertThat(version("1.2.3.1")).isNull();
33 | }
34 |
35 | @Test
36 | public void parseWhenVersionIsAMavenVersionShouldReturnAVersion() {
37 | assertThat(version("1.2.3")).isNotNull();
38 | }
39 |
40 | @Test
41 | public void isNewerThanWhenInputIsOlderMajorShouldReturnTrue() {
42 | assertThat(version("2.1.2").isNewerThan(version("1.9.0"))).isTrue();
43 | }
44 |
45 | @Test
46 | public void isNewerThanWhenInputIsOlderMinorShouldReturnTrue() {
47 | assertThat(version("2.1.2").isNewerThan(version("2.0.2"))).isTrue();
48 | }
49 |
50 | @Test
51 | public void isNewerThanWhenInputIsOlderPatchShouldReturnTrue() {
52 | assertThat(version("2.1.2").isNewerThan(version("2.1.1"))).isTrue();
53 | }
54 |
55 | @Test
56 | public void isNewerThanWhenInputIsNewerMajorShouldReturnFalse() {
57 | assertThat(version("2.1.2").isNewerThan(version("3.2.1"))).isFalse();
58 | }
59 |
60 | @Test
61 | public void isSameMajorAndNewerThanWhenMinorIsOlderShouldReturnTrue() {
62 | assertThat(version("1.10.2").isSameMajorAndNewerThan(version("1.9.0"))).isTrue();
63 | }
64 |
65 | @Test
66 | public void isSameMajorAndNewerThanWhenMajorIsOlderShouldReturnFalse() {
67 | assertThat(version("2.0.2").isSameMajorAndNewerThan(version("1.9.0"))).isFalse();
68 | }
69 |
70 | @Test
71 | public void isSameMajorAndNewerThanWhenPatchIsNewerShouldReturnTrue() {
72 | assertThat(version("2.1.2").isSameMajorAndNewerThan(version("2.1.1"))).isTrue();
73 | }
74 |
75 | @Test
76 | public void isSameMajorAndNewerThanWhenMinorIsNewerShouldReturnFalse() {
77 | assertThat(version("2.1.2").isSameMajorAndNewerThan(version("2.2.1"))).isFalse();
78 | }
79 |
80 | @Test
81 | public void isSameMajorAndNewerThanWhenMajorIsNewerShouldReturnFalse() {
82 | assertThat(version("2.1.2").isSameMajorAndNewerThan(version("3.0.1"))).isFalse();
83 | }
84 |
85 | @Test
86 | public void isSameMinorAndNewerThanWhenPatchIsOlderShouldReturnTrue() {
87 | assertThat(version("1.10.2").isSameMinorAndNewerThan(version("1.10.1"))).isTrue();
88 | }
89 |
90 | @Test
91 | public void isSameMinorAndNewerThanWhenMinorIsOlderShouldReturnFalse() {
92 | assertThat(version("2.1.2").isSameMinorAndNewerThan(version("2.0.1"))).isFalse();
93 | }
94 |
95 | @Test
96 | public void isSameMinorAndNewerThanWhenVersionsAreTheSameShouldReturnFalse() {
97 | assertThat(version("2.1.2").isSameMinorAndNewerThan(version("2.1.2"))).isFalse();
98 | }
99 |
100 | @Test
101 | public void isSameMinorAndNewerThanWhenPatchIsNewerShouldReturnFalse() {
102 | assertThat(version("2.1.2").isSameMinorAndNewerThan(version("2.1.3"))).isFalse();
103 | }
104 |
105 | @Test
106 | public void isSameMinorAndNewerThanWhenMinorIsNewerShouldReturnFalse() {
107 | assertThat(version("2.1.2").isSameMinorAndNewerThan(version("2.0.1"))).isFalse();
108 | }
109 |
110 | @Test
111 | public void isSameMinorAndNewerThanWhenMajorIsNewerShouldReturnFalse() {
112 | assertThat(version("3.1.2").isSameMinorAndNewerThan(version("2.0.1"))).isFalse();
113 | }
114 |
115 | private ArtifactVersionDependencyVersion version(String version) {
116 | return ArtifactVersionDependencyVersion.parse(version);
117 | }
118 |
119 | }
120 |
--------------------------------------------------------------------------------
/src/test/java/io/spring/bomr/upgrade/version/DependencyVersionTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017-2019 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * https://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package io.spring.bomr.upgrade.version;
18 |
19 | import org.junit.Test;
20 |
21 | import static org.assertj.core.api.Assertions.assertThat;
22 |
23 | /**
24 | * Tests for {@link DependencyVersion}.
25 | *
26 | * @author Andy Wilkinson
27 | */
28 | public class DependencyVersionTests {
29 |
30 | @Test
31 | public void parseWhenValidMavenVersionShouldReturnArtifactVersionDependencyVersion() {
32 | assertThat(DependencyVersion.parse("1.2.3.Final")).isInstanceOf(ArtifactVersionDependencyVersion.class);
33 | }
34 |
35 | @Test
36 | public void parseWhenReleaseTrainShouldReturnReleaseTrainDependencyVersion() {
37 | assertThat(DependencyVersion.parse("Ingalls-SR5")).isInstanceOf(ReleaseTrainDependencyVersion.class);
38 | }
39 |
40 | @Test
41 | public void parseWhenMavenLikeVersionWithNumericQualifieShouldReturnNumericQualifierDependencyVersion() {
42 | assertThat(DependencyVersion.parse("1.2.3.4")).isInstanceOf(NumericQualifierDependencyVersion.class);
43 | }
44 |
45 | @Test
46 | public void parseWhenVersionWithLeadingZeroesShouldReturnLeadingZeroesDependencyVersion() {
47 | assertThat(DependencyVersion.parse("1.4.01")).isInstanceOf(LeadingZeroesDependencyVersion.class);
48 | }
49 |
50 | @Test
51 | public void parseWhenVersionWithCombinedPatchAndQualifierShouldReturnCombinedPatchAndQualifierDependencyVersion() {
52 | assertThat(DependencyVersion.parse("4.0.0M4")).isInstanceOf(CombinedPatchAndQualifierDependencyVersion.class);
53 | }
54 |
55 | }
56 |
--------------------------------------------------------------------------------
/src/test/java/io/spring/bomr/upgrade/version/NumericQualifierDependencyVersionTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017-2019 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * https://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package io.spring.bomr.upgrade.version;
18 |
19 | import org.junit.Test;
20 |
21 | import static org.assertj.core.api.Assertions.assertThat;
22 |
23 | /**
24 | * Tests for {@link NumericQualifierDependencyVersion}.
25 | *
26 | * @author Andy Wilkinson
27 | */
28 | public class NumericQualifierDependencyVersionTests {
29 |
30 | @Test
31 | public void isNewerThanOnVersionWithNumericQualifierWhenInputHasNoQualifierShouldReturnTrue() {
32 | assertThat(version("2.9.9.20190806").isNewerThan(DependencyVersion.parse("2.9.9"))).isTrue();
33 | }
34 |
35 | @Test
36 | public void isNewerThanOnVersionWithNumericQualifierWhenInputHasOlderQualifierShouldReturnTrue() {
37 | assertThat(version("2.9.9.20190806").isNewerThan(version("2.9.9.20190805"))).isTrue();
38 | }
39 |
40 | @Test
41 | public void isNewerThanOnVersionWithNumericQualifierWhenInputHasNewerQualifierShouldReturnFalse() {
42 | assertThat(version("2.9.9.20190806").isNewerThan(version("2.9.9.20190807"))).isFalse();
43 | }
44 |
45 | @Test
46 | public void isNewerThanOnVersionWithNumericQualifierWhenInputHasSameQualifierShouldReturnFalse() {
47 | assertThat(version("2.9.9.20190806").isNewerThan(version("2.9.9.20190806"))).isFalse();
48 | }
49 |
50 | private NumericQualifierDependencyVersion version(String version) {
51 | return NumericQualifierDependencyVersion.parse(version);
52 | }
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/src/test/java/io/spring/bomr/upgrade/version/ReleaseTrainDependencyVersionTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017-2021 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * https://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package io.spring.bomr.upgrade.version;
18 |
19 | import org.junit.Test;
20 |
21 | import static org.assertj.core.api.Assertions.assertThat;
22 |
23 | /**
24 | * Tests for {@link ReleaseTrainDependencyVersion}.
25 | *
26 | * @author Andy Wilkinson
27 | */
28 | public class ReleaseTrainDependencyVersionTests {
29 |
30 | @Test
31 | public void parsingOfANonReleaseTrainVersionReturnsNull() {
32 | assertThat(version("5.1.4.RELEASE")).isNull();
33 | }
34 |
35 | @Test
36 | public void parsingOfAReleaseTrainVersionReturnsVersion() {
37 | assertThat(version("Lovelace-SR3")).isNotNull();
38 | }
39 |
40 | @Test
41 | public void isNewerThanWhenReleaseTrainIsNewerShouldReturnTrue() {
42 | assertThat(version("Lovelace-RELEASE").isNewerThan(version("Kay-SR5"))).isTrue();
43 | }
44 |
45 | @Test
46 | public void isNewerThanWhenVersionIsNewerShouldReturnTrue() {
47 | assertThat(version("Kay-SR10").isNewerThan(version("Kay-SR5"))).isTrue();
48 | }
49 |
50 | @Test
51 | public void isNewerThanWhenVersionIsOlderShouldReturnFalse() {
52 | assertThat(version("Kay-RELEASE").isNewerThan(version("Kay-SR5"))).isFalse();
53 | }
54 |
55 | @Test
56 | public void isNewerThanWhenReleaseTrainIsOlderShouldReturnFalse() {
57 | assertThat(version("Ingalls-RELEASE").isNewerThan(version("Kay-SR5"))).isFalse();
58 | }
59 |
60 | @Test
61 | public void isSameMajorAndNewerWhenWhenReleaseTrainIsNewerShouldReturnTrue() {
62 | assertThat(version("Lovelace-RELEASE").isSameMajorAndNewerThan(version("Kay-SR5"))).isTrue();
63 | }
64 |
65 | @Test
66 | public void isSameMajorAndNewerThanWhenReleaseTrainIsOlderShouldReturnFalse() {
67 | assertThat(version("Ingalls-RELEASE").isSameMajorAndNewerThan(version("Kay-SR5"))).isFalse();
68 | }
69 |
70 | @Test
71 | public void isSameMajorAndNewerThanWhenVersionIsNewerShouldReturnTrue() {
72 | assertThat(version("Kay-SR6").isSameMajorAndNewerThan(version("Kay-SR5"))).isTrue();
73 | }
74 |
75 | @Test
76 | public void isSameMinorAndNewerThanWhenReleaseTrainIsNewerShouldReturnFalse() {
77 | assertThat(version("Lovelace-RELEASE").isSameMinorAndNewerThan(version("Kay-SR5"))).isFalse();
78 | }
79 |
80 | @Test
81 | public void isSameMinorAndNewerThanWhenReleaseTrainIsTheSameAndVersionIsNewerShouldReturnTrue() {
82 | assertThat(version("Kay-SR6").isSameMinorAndNewerThan(version("Kay-SR5"))).isTrue();
83 | }
84 |
85 | @Test
86 | public void isSameMinorAndNewerThanWhenReleaseTrainAndVersionAreTheSameShouldReturnFalse() {
87 | assertThat(version("Kay-SR6").isSameMinorAndNewerThan(version("Kay-SR6"))).isFalse();
88 | }
89 |
90 | @Test
91 | public void isSameMinorAndNewerThanWhenReleaseTrainIsTheSameAndVersionIsOlderShouldReturnFalse() {
92 | assertThat(version("Kay-SR6").isSameMinorAndNewerThan(version("Kay-SR7"))).isFalse();
93 | }
94 |
95 | @Test
96 | public void whenComparedWithADifferentDependencyVersionTypeThenTheResultsAreNonZero() {
97 | ReleaseTrainDependencyVersion dysprosium = ReleaseTrainDependencyVersion.parse("Dysprosium-SR16");
98 | ArtifactVersionDependencyVersion twentyTwenty = ArtifactVersionDependencyVersion.parse("2020.0.0");
99 | assertThat(dysprosium.compareTo(twentyTwenty)).isLessThan(0);
100 | assertThat(twentyTwenty.compareTo(dysprosium)).isGreaterThan(0);
101 | }
102 |
103 | private static ReleaseTrainDependencyVersion version(String input) {
104 | return ReleaseTrainDependencyVersion.parse(input);
105 | }
106 |
107 | }
108 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/infinispan/page6.json:
--------------------------------------------------------------------------------
1 | {
2 | "response": {
3 | "docs": [
4 | {
5 | "a": "infinispan-server-core",
6 | "ec": [
7 | "-sources.jar",
8 | "-test-sources.jar",
9 | "-tests.jar",
10 | ".jar",
11 | ".pom"
12 | ],
13 | "g": "org.infinispan",
14 | "id": "org.infinispan:infinispan-server-core:9.4.15.Final",
15 | "p": "bundle",
16 | "tags": [
17 | "infinispan",
18 | "server",
19 | "core",
20 | "components"
21 | ],
22 | "timestamp": 1560795545000,
23 | "v": "9.4.15.Final"
24 | },
25 | {
26 | "a": "infinispan-spring5-common",
27 | "ec": [
28 | "-sources.jar",
29 | "-test-sources.jar",
30 | ".jar",
31 | "-tests.jar",
32 | ".pom"
33 | ],
34 | "g": "org.infinispan",
35 | "id": "org.infinispan:infinispan-spring5-common:9.4.15.Final",
36 | "p": "jar",
37 | "tags": [
38 | "distributed",
39 | "used",
40 | "same",
41 | "springframework",
42 | "namespace",
43 | "accesses",
44 | "over",
45 | "primary",
46 | "features",
47 | "facilitating",
48 | "factorybeans",
49 | "central",
50 | "support",
51 | "defined",
52 | "offers",
53 | "definitions",
54 | "project",
55 | "powered",
56 | "infinispan",
57 | "abstraction",
58 | "backed",
59 | "components",
60 | "outside",
61 | "creation",
62 | "remotecachemanager",
63 | "cachemanager",
64 | "remotely",
65 | "from",
66 | "running",
67 | "spring",
68 | "embeddedcachemanager",
69 | "network",
70 | "shortcut",
71 | "allowing",
72 | "integration",
73 | "performance",
74 | "above",
75 | "various",
76 | "colocated",
77 | "jndi",
78 | "retrieved",
79 | "caching",
80 | "classes",
81 | "application",
82 | "cache",
83 | "needs",
84 | "your",
85 | "provides",
86 | "addition",
87 | "access",
88 | "cachecontainer",
89 | "reference",
90 | "implementation",
91 | "context",
92 | "core",
93 | "within",
94 | "high"
95 | ],
96 | "timestamp": 1560795538000,
97 | "v": "9.4.15.Final"
98 | },
99 | {
100 | "a": "infinispan-cdi-remote",
101 | "ec": [
102 | "-sources.jar",
103 | "-test-sources.jar",
104 | "-tests.jar",
105 | ".jar",
106 | ".pom"
107 | ],
108 | "g": "org.infinispan",
109 | "id": "org.infinispan:infinispan-cdi-remote:9.4.15.Final",
110 | "p": "bundle",
111 | "tags": [
112 | "module",
113 | "infinispan",
114 | "common",
115 | "parent"
116 | ],
117 | "timestamp": 1560795535000,
118 | "v": "9.4.15.Final"
119 | }
120 | ],
121 | "numFound": 103,
122 | "start": 100
123 | },
124 | "responseHeader": {
125 | "QTime": 0,
126 | "params": {
127 | "core": "",
128 | "fl": "id,g,a,v,p,ec,timestamp,tags",
129 | "indent": "off",
130 | "q": "g:org.infinispan AND v:9.4.15.Final",
131 | "rows": "20",
132 | "sort": "score desc,timestamp desc,g asc,a asc,v desc",
133 | "start": "100",
134 | "version": "2.2",
135 | "wt": "json"
136 | },
137 | "status": 0
138 | }
139 | }
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler
17 |
18 |
19 |
20 |
21 | ../
22 | internal/ - -
23 | quartz/ - -
24 | quartz-backward-compat/ - -
25 | quartz-commonj/ - -
26 | quartz-jboss/ - -
27 | quartz-jobs/ - -
28 | quartz-oracle/ - -
29 | quartz-parent/ - -
30 | quartz-weblogic/ - -
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/internal/index.html:
--------------------------------------------------------------------------------
1 |
2 | 302 Moved Temporarily
3 |
4 | 302 Moved Temporarily
5 |
6 | - Code: Found
7 | - Message: Resource Found
8 | - RequestId: E58ACE82DBB1ED1E
9 | - HostId: R6jZCOY1+UtVUsRIbxKCogNKwHyS1y3FS8HGW0td0qn1Aob6ZMfcOmphE2z7ogBy1IWCUEbhI08=
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-backward-compat/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-backward-compat
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-backward-compat
17 |
18 |
19 |
20 |
21 | ../
22 | 2.0.0/ 2011-03-28 20:34 -
23 | 2.0.1/ 2011-04-14 03:39 -
24 | 2.0.2/ 2011-07-07 18:47 -
25 | 2.1.0/ 2011-09-22 21:48 -
26 | 2.1.1/ 2011-11-14 20:21 -
27 | 2.1.2/ 2011-12-20 13:56 -
28 | 2.1.3/ 2012-01-30 19:31 -
29 | 2.1.4/ 2012-04-17 19:23 -
30 | 2.1.5/ 2012-04-27 14:51 -
31 | 2.1.6/ 2013-02-22 21:20 -
32 | 2.1.7/ 2013-03-05 15:26 -
33 | maven-metadata.xml 2013-03-05 15:39 659
34 | maven-metadata.xml.md5 2013-03-05 15:39 32
35 | maven-metadata.xml.sha1 2013-03-05 15:39 40
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-commonj/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-commonj
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-commonj
17 |
18 |
19 |
20 |
21 | ../
22 | 1.8.6/ 2012-01-12 21:44 -
23 | 2.1.1/ 2011-11-14 20:22 -
24 | 2.1.2/ 2011-12-20 13:57 -
25 | 2.1.3/ 2012-01-30 19:31 -
26 | 2.1.4/ 2012-04-17 19:23 -
27 | 2.1.5/ 2012-04-27 14:51 -
28 | 2.1.6/ 2013-02-22 21:19 -
29 | 2.1.7/ 2013-03-05 15:26 -
30 | maven-metadata.xml 2013-03-05 15:39 558
31 | maven-metadata.xml.md5 2013-03-05 15:39 32
32 | maven-metadata.xml.sha1 2013-03-05 15:39 40
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-jboss/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-jboss
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-jboss
17 |
18 |
19 |
20 |
21 | ../
22 | 1.7.2/ 2010-02-10 14:53 -
23 | 1.7.3/ 2010-02-24 18:47 -
24 | 1.8.0/ 2010-04-23 04:46 -
25 | 1.8.1/ 2010-06-11 21:10 -
26 | 1.8.2/ 2010-06-17 23:56 -
27 | 1.8.3/ 2010-06-22 21:10 -
28 | 1.8.4/ 2010-07-19 23:03 -
29 | 1.8.5/ 2011-04-14 03:30 -
30 | 1.8.6/ 2012-01-12 21:43 -
31 | 2.0.0/ 2011-03-28 20:34 -
32 | 2.0.1/ 2011-04-14 03:39 -
33 | 2.0.2/ 2011-07-07 18:47 -
34 | 2.1.0/ 2011-09-22 21:47 -
35 | 2.1.1/ 2011-11-14 20:21 -
36 | 2.1.2/ 2011-12-20 13:56 -
37 | 2.1.3/ 2012-01-30 19:30 -
38 | 2.1.4/ 2012-04-17 19:22 -
39 | 2.1.5/ 2012-04-27 14:51 -
40 | 2.1.6/ 2013-02-22 21:16 -
41 | 2.1.7/ 2013-03-05 15:24 -
42 | maven-metadata.xml 2013-03-05 15:39 928
43 | maven-metadata.xml.md5 2013-03-05 15:39 32
44 | maven-metadata.xml.sha1 2013-03-05 15:39 40
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-jobs/2.3.0/quartz-jobs-2.3.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spring-attic/bomr/91a916478d46d89ac803b9c37155d0fbba84407d/src/test/resources/artifacts/org/quartz-scheduler/quartz-jobs/2.3.0/quartz-jobs-2.3.0.jar
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-jobs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-jobs
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-jobs
17 |
18 |
19 |
20 |
21 | ../
22 | 2.2.0/ 2013-06-29 21:04 -
23 | 2.2.1/ 2013-09-25 18:48 -
24 | 2.2.2/ 2015-10-12 11:52 -
25 | 2.2.3/ 2016-04-18 18:26 -
26 | 2.3.0/ 2017-04-19 19:41 -
27 | maven-metadata.xml 2017-04-19 20:16 462
28 | maven-metadata.xml.md5 2017-04-19 20:16 32
29 | maven-metadata.xml.sha1 2017-04-19 20:16 40
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-oracle/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-oracle
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-oracle
17 |
18 |
19 |
20 |
21 | ../
22 | 1.7.2/ 2010-02-10 14:53 -
23 | 1.8.0/ 2010-04-23 04:46 -
24 | 1.8.1/ 2010-06-11 21:10 -
25 | 1.8.2/ 2010-06-17 23:57 -
26 | 1.8.3/ 2010-06-22 21:10 -
27 | 1.8.4/ 2010-07-19 23:04 -
28 | 1.8.5/ 2011-04-14 03:31 -
29 | 1.8.6/ 2012-01-12 21:43 -
30 | 2.0.1/ 2011-04-14 03:39 -
31 | 2.0.2/ 2011-07-07 18:48 -
32 | 2.1.0/ 2011-09-22 21:48 -
33 | 2.1.1/ 2011-11-14 20:22 -
34 | 2.1.2/ 2011-12-20 13:57 -
35 | 2.1.3/ 2012-01-30 19:31 -
36 | 2.1.4/ 2012-04-17 19:23 -
37 | 2.1.5/ 2012-04-27 14:51 -
38 | 2.1.6/ 2013-02-22 21:17 -
39 | 2.1.7/ 2013-03-05 15:25 -
40 | maven-metadata.xml 2013-03-05 15:39 867
41 | maven-metadata.xml.md5 2013-03-05 15:39 32
42 | maven-metadata.xml.sha1 2013-03-05 15:39 40
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-parent/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-parent
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-parent
17 |
18 |
19 |
20 |
21 | ../
22 | 1.7.0/ - -
23 | 1.7.2/ 2010-02-10 14:52 -
24 | 1.7.3/ 2010-02-24 18:46 -
25 | 1.8.0/ 2010-04-23 04:45 -
26 | 1.8.1/ 2010-06-11 21:09 -
27 | 1.8.2/ 2010-06-17 23:55 -
28 | 1.8.3/ 2010-06-22 21:09 -
29 | 1.8.4/ 2010-07-19 23:01 -
30 | 1.8.5/ 2011-04-14 03:30 -
31 | 1.8.6/ 2012-01-12 21:43 -
32 | 2.0.0/ 2011-03-28 20:32 -
33 | 2.0.1/ 2011-04-14 03:38 -
34 | 2.0.2/ 2011-07-07 18:45 -
35 | 2.1.0/ 2011-09-22 21:46 -
36 | 2.1.1/ 2011-11-14 20:21 -
37 | 2.1.2/ 2011-12-20 13:53 -
38 | 2.1.3/ 2012-01-30 19:27 -
39 | 2.1.4/ 2012-04-17 19:21 -
40 | 2.1.5/ 2012-04-27 14:50 -
41 | 2.1.6/ 2013-02-22 21:12 -
42 | 2.1.7/ 2013-03-05 15:22 -
43 | 2.2.0/ 2013-06-29 21:02 -
44 | 2.2.1/ 2013-09-25 18:46 -
45 | 2.2.2/ 2015-10-12 11:51 -
46 | 2.2.3/ 2016-04-18 18:25 -
47 | 2.3.0/ 2017-04-19 19:40 -
48 | maven-metadata.xml 2017-04-19 20:16 1084
49 | maven-metadata.xml.md5 2017-04-19 20:16 32
50 | maven-metadata.xml.sha1 2017-04-19 20:16 40
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz-weblogic/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz-weblogic
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz-weblogic
17 |
18 |
19 |
20 |
21 | ../
22 | 1.7.2/ 2010-02-10 14:53 -
23 | 1.8.0/ 2010-04-23 04:46 -
24 | 1.8.1/ 2010-06-11 21:10 -
25 | 1.8.2/ 2010-06-17 23:57 -
26 | 1.8.3/ 2010-06-22 21:10 -
27 | 1.8.4/ 2010-07-19 23:04 -
28 | 1.8.5/ 2011-04-14 03:31 -
29 | 1.8.6/ 2012-01-12 21:43 -
30 | 2.0.1/ 2011-04-14 03:40 -
31 | 2.0.2/ 2011-07-07 18:48 -
32 | 2.1.0/ 2011-09-22 21:48 -
33 | 2.1.1/ 2011-11-14 20:22 -
34 | 2.1.2/ 2011-12-20 13:57 -
35 | 2.1.3/ 2012-01-30 19:31 -
36 | 2.1.4/ 2012-04-17 19:23 -
37 | 2.1.5/ 2012-04-27 14:51 -
38 | 2.1.6/ 2013-02-22 21:18 -
39 | 2.1.7/ 2013-03-05 15:25 -
40 | maven-metadata.xml 2013-03-05 15:39 869
41 | maven-metadata.xml.md5 2013-03-05 15:39 32
42 | maven-metadata.xml.sha1 2013-03-05 15:39 40
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz/2.3.0/quartz-2.3.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/spring-attic/bomr/91a916478d46d89ac803b9c37155d0fbba84407d/src/test/resources/artifacts/org/quartz-scheduler/quartz/2.3.0/quartz-2.3.0.jar
--------------------------------------------------------------------------------
/src/test/resources/artifacts/org/quartz-scheduler/quartz/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Central Repository: org/quartz-scheduler/quartz
6 |
7 |
12 |
13 |
14 |
15 |
16 | org/quartz-scheduler/quartz
17 |
18 |
19 |
20 |
21 | ../
22 | 1.7.2/ 2010-02-10 14:53 -
23 | 1.7.3/ 2010-02-24 18:47 -
24 | 1.8.0/ 2010-04-23 04:45 -
25 | 1.8.1/ 2010-06-11 21:10 -
26 | 1.8.2/ 2010-06-17 23:56 -
27 | 1.8.3/ 2010-06-22 21:09 -
28 | 1.8.4/ 2010-07-19 23:03 -
29 | 1.8.5/ 2011-04-14 03:30 -
30 | 1.8.6/ 2012-01-12 21:43 -
31 | 2.0.0/ 2011-03-28 20:33 -
32 | 2.0.1/ 2011-04-14 03:39 -
33 | 2.0.2/ 2011-07-07 18:47 -
34 | 2.1.0/ 2011-09-22 21:47 -
35 | 2.1.1/ 2011-11-14 20:21 -
36 | 2.1.2/ 2011-12-20 13:56 -
37 | 2.1.3/ 2012-01-30 19:30 -
38 | 2.1.4/ 2012-04-17 19:22 -
39 | 2.1.5/ 2012-04-27 14:50 -
40 | 2.1.6/ 2013-02-22 21:15 -
41 | 2.1.7/ 2013-03-05 15:24 -
42 | 2.2.0/ 2013-06-29 21:06 -
43 | 2.2.1/ 2013-09-25 18:50 -
44 | 2.2.2/ 2015-10-12 11:52 -
45 | 2.2.3/ 2016-04-18 18:27 -
46 | 2.3.0/ 2017-04-19 19:41 -
47 | maven-metadata.xml 2017-04-19 20:16 1077
48 | maven-metadata.xml.md5 2017-04-19 20:16 32
49 | maven-metadata.xml.sha1 2017-04-19 20:16 40
50 |
51 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/src/test/resources/repo1-maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | com.example
4 | core
5 |
6 | 1.0.0.RELEASE
7 | 1.0.0.RELEASE
8 |
9 | 1.0.0.RELEASE
10 |
11 | 20170928121756
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/test/resources/repo2-maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | com.example
4 | core
5 |
6 | 1.1.0.RELEASE
7 | 1.1.0.RELEASE
8 |
9 | 1.0.0.RELEASE
10 | 1.1.0.RELEASE
11 |
12 | 20170928121756
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/test/resources/spring-core-maven-metadata.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.springframework
4 | spring-core
5 |
6 | 5.0.0.RELEASE
7 | 5.0.0.RELEASE
8 |
9 | 4.3.0.RELEASE
10 | 4.3.1.RELEASE
11 | 4.3.2.RELEASE
12 | 4.3.3.RELEASE
13 | 4.3.4.RELEASE
14 | 4.3.5.RELEASE
15 | 4.3.6.RELEASE
16 | 4.3.7.RELEASE
17 | 4.3.8.RELEASE
18 | 4.3.9.RELEASE
19 | 4.3.10.RELEASE
20 | 4.3.11.RELEASE
21 | 5.0.0.RELEASE
22 |
23 | 20170928121756
24 |
25 |
26 |
--------------------------------------------------------------------------------