diff --git a/gradle/impl-gradle-embedded-archive/src/it/jar-sample/build.gradle b/gradle/impl-gradle-embedded-archive/src/it/jar-sample/build.gradle index 8962efc75..ca33ce2fd 100644 --- a/gradle/impl-gradle-embedded-archive/src/it/jar-sample/build.gradle +++ b/gradle/impl-gradle-embedded-archive/src/it/jar-sample/build.gradle @@ -11,7 +11,7 @@ repositories { dependencies { implementation 'commons-codec:commons-codec:1.7' - testImplementation 'org.junit.jupiter:junit-jupiter:5.10.3' + testImplementation 'org.junit.jupiter:junit-jupiter:5.11.3' implementation('org.jboss.spec:jboss-javaee-web-6.0:3.0.2.Final') { exclude(module: 'xalan') } diff --git a/gradle/impl-gradle-embedded-archive/src/it/multi-module-sample/module-one/build.gradle b/gradle/impl-gradle-embedded-archive/src/it/multi-module-sample/module-one/build.gradle index a51d70a94..7a2f36fc3 100644 --- a/gradle/impl-gradle-embedded-archive/src/it/multi-module-sample/module-one/build.gradle +++ b/gradle/impl-gradle-embedded-archive/src/it/multi-module-sample/module-one/build.gradle @@ -6,7 +6,7 @@ repositories { dependencies { implementation 'commons-codec:commons-codec:1.7' - testImplementation 'org.junit.jupiter:junit-jupiter:5.10.3' + testImplementation 'org.junit.jupiter:junit-jupiter:5.11.3' implementation('org.jboss.spec:jboss-javaee-web-6.0:3.0.2.Final') { exclude(module: 'xalan') } diff --git a/gradle/impl-gradle-embedded-archive/src/it/war-sample/build.gradle b/gradle/impl-gradle-embedded-archive/src/it/war-sample/build.gradle index 77875dcb7..e44bd7eda 100644 --- a/gradle/impl-gradle-embedded-archive/src/it/war-sample/build.gradle +++ b/gradle/impl-gradle-embedded-archive/src/it/war-sample/build.gradle @@ -12,7 +12,7 @@ repositories { dependencies { implementation group: 'commons-codec', name: 'commons-codec', version:'1.7' - testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version:'5.10.3' + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version:'5.11.3' providedCompile group: 'org.slf4j', name: 'slf4j-api', version:'1.6.1' providedCompile(group: 'org.jboss.spec', name: 'jboss-javaee-web-6.0', version:'3.0.2.Final') { exclude(module: 'xalan') diff --git a/gradle/impl-gradle/src/test/resources/dependencymanager/build.gradle b/gradle/impl-gradle/src/test/resources/dependencymanager/build.gradle index 5e770fbbf..f6f624b4e 100644 --- a/gradle/impl-gradle/src/test/resources/dependencymanager/build.gradle +++ b/gradle/impl-gradle/src/test/resources/dependencymanager/build.gradle @@ -16,7 +16,7 @@ dependencyManagement { dependencies { implementation 'org.slf4j:slf4j-simple:1.7.5' - testImplementation 'org.junit.jupiter:junit-jupiter:5.10.3' + testImplementation 'org.junit.jupiter:junit-jupiter:5.11.3' implementation 'org.apache.deltaspike.core:deltaspike-core-api' runtimeOnly 'org.apache.deltaspike.core:deltaspike-core-impl' } \ No newline at end of file diff --git a/gradle/impl-gradle/src/test/resources/simple/build.gradle b/gradle/impl-gradle/src/test/resources/simple/build.gradle index 24ee08f09..b8f7f89c7 100644 --- a/gradle/impl-gradle/src/test/resources/simple/build.gradle +++ b/gradle/impl-gradle/src/test/resources/simple/build.gradle @@ -6,5 +6,5 @@ repositories { dependencies { implementation 'org.slf4j:slf4j-simple:1.7.5' - testCompileOnly 'org.junit.jupiter:junit-jupiter:5.10.3' + testCompileOnly 'org.junit.jupiter:junit-jupiter:5.11.3' } \ No newline at end of file diff --git a/maven/impl-maven-archive/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/archive/usecases/UseCasesTestCase.java b/maven/impl-maven-archive/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/archive/usecases/UseCasesTestCase.java index a37e1d73a..7144b84ba 100644 --- a/maven/impl-maven-archive/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/archive/usecases/UseCasesTestCase.java +++ b/maven/impl-maven-archive/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/archive/usecases/UseCasesTestCase.java @@ -130,7 +130,7 @@ void multipleArtifacts() { .as(File.class); @SuppressWarnings("unused") - final File[] analagous1 = Maven.resolver().resolve("org.jboss:jboss-something:1.0.0", "org.junit.jupiter:junit-jupiter:5.10.3") + final File[] analagous1 = Maven.resolver().resolve("org.jboss:jboss-something:1.0.0", "org.junit.jupiter:junit-jupiter:5.11.3") .withoutTransitivity().as(File.class); // DependencyResolvers.use(MavenDependencyResolver.class).artifact("G:A:V").artifact("G:B:V") diff --git a/maven/impl-maven-embedded/src/it/cube-gradle-sample/gradle-sample/build.gradle b/maven/impl-maven-embedded/src/it/cube-gradle-sample/gradle-sample/build.gradle index a56f906e3..ea253814a 100644 --- a/maven/impl-maven-embedded/src/it/cube-gradle-sample/gradle-sample/build.gradle +++ b/maven/impl-maven-embedded/src/it/cube-gradle-sample/gradle-sample/build.gradle @@ -10,7 +10,7 @@ repositories { } dependencies { - testCompile 'org.junit.jupiter:junit-jupiter:5.10.3' + testCompile 'org.junit.jupiter:junit-jupiter:5.11.3' testCompile 'org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:3.0.0-SNAPSHOT' } diff --git a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/AdditionalRemoteRepositoryTestCase.java b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/AdditionalRemoteRepositoryTestCase.java index 8f3e49121..3aa4bca85 100644 --- a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/AdditionalRemoteRepositoryTestCase.java +++ b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/AdditionalRemoteRepositoryTestCase.java @@ -53,7 +53,7 @@ void cleanup() throws Exception { @Test void control1() { // This should resolve from Maven Central - final File file = Maven.configureResolver().withClassPathResolution(false).resolve("org.junit.jupiter:junit-jupiter:5.10.3") + final File file = Maven.configureResolver().withClassPathResolution(false).resolve("org.junit.jupiter:junit-jupiter:5.11.3") .withoutTransitivity().asSingle(File.class); // Ensure we get JUnit new ValidationUtil("junit-jupiter").validate(file); @@ -69,7 +69,7 @@ void control1() { void control2() { Assertions.assertThrows(NoResolvedResultException.class, () -> { final File file = Maven.configureResolver().withClassPathResolution(false).withMavenCentralRepo(false) - .resolve("org.junit.jupiter:junit-jupiter:5.10.3").withoutTransitivity().asSingle(File.class); + .resolve("org.junit.jupiter:junit-jupiter:5.11.3").withoutTransitivity().asSingle(File.class); new ValidationUtil("junit-jupiter").validate(file); final File localRepo = new File(FAKE_REPO); Assertions.assertTrue(file.getAbsolutePath().contains(localRepo.getAbsolutePath())); @@ -250,7 +250,7 @@ void shouldOverloadCentral() { Assertions.assertThrows(NoResolvedResultException.class, () -> { Maven.configureResolver() .withRemoteRepo("central", "http://127.0.0.1", "default") - .withClassPathResolution(false).resolve("org.junit.jupiter:junit-jupiter:5.10.3") + .withClassPathResolution(false).resolve("org.junit.jupiter:junit-jupiter:5.11.3") .withTransitivity().as(File.class); }); } diff --git a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/DisabledCentralRepositoryTestCase.java b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/DisabledCentralRepositoryTestCase.java index cea537a16..4dda96a8c 100644 --- a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/DisabledCentralRepositoryTestCase.java +++ b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/DisabledCentralRepositoryTestCase.java @@ -93,7 +93,7 @@ void shouldHaveCentralMavenRepositoryAndClassPathResolutionDisabled() { Assertions.assertThrows(NoResolvedResultException.class, () -> { // This should resolve neither from Maven Central nor from class path Maven.configureResolver().withClassPathResolution(false).withMavenCentralRepo(false) - .resolve("org.junit.jupiter:junit-jupiter:5.10.3").withoutTransitivity().asSingle(File.class); + .resolve("org.junit.jupiter:junit-jupiter:5.11.3").withoutTransitivity().asSingle(File.class); }); } diff --git a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/InvalidSettingsTestCase.java b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/InvalidSettingsTestCase.java index e52bca4b6..6f8d6454a 100644 --- a/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/InvalidSettingsTestCase.java +++ b/maven/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/InvalidSettingsTestCase.java @@ -45,7 +45,7 @@ class InvalidSettingsTestCase { private static final String INVALID_SETTINGS = "target/settings/profiles/settings-invalid.xml"; private static final String CENTRAL_SETTINGS = "target/settings/profiles/settings-central.xml"; private static final String FROM_CLASSLOADER = "profiles/settings3-from-classpath.xml"; - private static final String JUNIT_CANONICAL = "org.junit.jupiter:junit-jupiter:5.10.3"; + private static final String JUNIT_CANONICAL = "org.junit.jupiter:junit-jupiter:5.11.3"; private static final File TEST_BOM = new File("target/poms/test-bom.xml"); @BeforeAll @@ -101,7 +101,7 @@ void shouldNotLoadInvalidSettingsR() { /** * In this test the settings-invalid.xml should be loaded during the - * resolve("org.junit.jupiter:junit-jupiter:5.10.3").withTransitivity() phase, + * resolve("org.junit.jupiter:junit-jupiter:5.11.3").withTransitivity() phase, * for this reason the InvalidConfigurationFileException should be thrown *
* Uses method Maven.configureResolver() @@ -115,7 +115,7 @@ void shouldLoadInvalidSettingsDueResolvingCR() { /** * In this test the settings-invalid.xml should be loaded during the - * resolve("org.junit.jupiter:junit-jupiter:5.10.3").withTransitivity() phase, + * resolve("org.junit.jupiter:junit-jupiter:5.11.3").withTransitivity() phase, * for this reason the InvalidConfigurationFileException should be thrown *
* Uses method Maven.resolver() diff --git a/maven/impl-maven/src/test/resources/poms/test-junit.xml b/maven/impl-maven/src/test/resources/poms/test-junit.xml index d76f23a9b..ae5ecf589 100644 --- a/maven/impl-maven/src/test/resources/poms/test-junit.xml +++ b/maven/impl-maven/src/test/resources/poms/test-junit.xml @@ -14,7 +14,7 @@ org.junit.jupiter junit-jupiter - 5.10.3 + 5.11.3 test diff --git a/maven/maven-plugin/src/it/dependency-tree-scope/dependencyTree.expected b/maven/maven-plugin/src/it/dependency-tree-scope/dependencyTree.expected index 56c02be0e..96a40f062 100644 --- a/maven/maven-plugin/src/it/dependency-tree-scope/dependencyTree.expected +++ b/maven/maven-plugin/src/it/dependency-tree-scope/dependencyTree.expected @@ -1,20 +1,20 @@ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-maven-plugin-tests-dependency-tree-scoped:jar:1.0.0 -+- org.junit.jupiter:junit-jupiter:jar:5.10.3 [test] -| +- org.junit.jupiter:junit-jupiter-api:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter:jar:5.11.3 [test] +| +- org.junit.jupiter:junit-jupiter-api:jar:5.11.3 [test] | | +- org.opentest4j:opentest4j:jar:1.3.0 [test] | | +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] | | \- org.apiguardian:apiguardian-api:jar:1.1.2 [test] -| +- org.junit.jupiter:junit-jupiter-params:jar:5.10.3 [test] -| \- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3 [test] +| +- org.junit.jupiter:junit-jupiter-params:jar:5.11.3 [test] +| \- org.junit.jupiter:junit-jupiter-engine:jar:5.11.3 [test] | \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test] -+- org.junit.jupiter:junit-jupiter-api:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter-api:jar:5.11.3 [test] | +- org.opentest4j:opentest4j:jar:1.3.0 [test] | +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] | \- org.apiguardian:apiguardian-api:jar:1.1.2 [test] +- org.opentest4j:opentest4j:jar:1.3.0 [test] +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] +- org.apiguardian:apiguardian-api:jar:1.1.2 [test] -+- org.junit.jupiter:junit-jupiter-params:jar:5.10.3 [test] -+- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter-params:jar:5.11.3 [test] ++- org.junit.jupiter:junit-jupiter-engine:jar:5.11.3 [test] | \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test] \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test] diff --git a/maven/maven-plugin/src/it/dependency-tree/dependencyTree.expected b/maven/maven-plugin/src/it/dependency-tree/dependencyTree.expected index 34a33b7fa..4ebb8f9be 100644 --- a/maven/maven-plugin/src/it/dependency-tree/dependencyTree.expected +++ b/maven/maven-plugin/src/it/dependency-tree/dependencyTree.expected @@ -1,21 +1,21 @@ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-maven-plugin-tests-dependency-tree:jar:1.0.0 +- org.codehaus.groovy:groovy-all:jar:2.1.3 [compile] -+- org.junit.jupiter:junit-jupiter:jar:5.10.3 [test] -| +- org.junit.jupiter:junit-jupiter-api:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter:jar:5.11.3 [test] +| +- org.junit.jupiter:junit-jupiter-api:jar:5.11.3 [test] | | +- org.opentest4j:opentest4j:jar:1.3.0 [test] | | +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] | | \- org.apiguardian:apiguardian-api:jar:1.1.2 [test] -| +- org.junit.jupiter:junit-jupiter-params:jar:5.10.3 [test] -| \- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3 [test] +| +- org.junit.jupiter:junit-jupiter-params:jar:5.11.3 [test] +| \- org.junit.jupiter:junit-jupiter-engine:jar:5.11.3 [test] | \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test] -+- org.junit.jupiter:junit-jupiter-api:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter-api:jar:5.11.3 [test] | +- org.opentest4j:opentest4j:jar:1.3.0 [test] | +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] | \- org.apiguardian:apiguardian-api:jar:1.1.2 [test] +- org.opentest4j:opentest4j:jar:1.3.0 [test] +- org.junit.platform:junit-platform-commons:jar:1.10.3 [test] +- org.apiguardian:apiguardian-api:jar:1.1.2 [test] -+- org.junit.jupiter:junit-jupiter-params:jar:5.10.3 [test] -+- org.junit.jupiter:junit-jupiter-engine:jar:5.10.3 [test] ++- org.junit.jupiter:junit-jupiter-params:jar:5.11.3 [test] ++- org.junit.jupiter:junit-jupiter-engine:jar:5.11.3 [test] | \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test] \- org.junit.platform:junit-platform-engine:jar:1.10.3 [test]