From d0a2fa65dbe6e263bb700359b9546280dbb263a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 20:41:49 +0200 Subject: [PATCH] [MSHARED-1388] Bump org.apache.maven.shared:maven-shared-components from 41 to 42 (#73) * Bump org.apache.maven.shared:maven-shared-components from 41 to 42 Bumps [org.apache.maven.shared:maven-shared-components](https://github.com/apache/maven-parent) from 41 to 42. - [Release notes](https://github.com/apache/maven-parent/releases) - [Commits](https://github.com/apache/maven-parent/commits) --- updated-dependencies: - dependency-name: org.apache.maven.shared:maven-shared-components dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Cleanups with new parent, fix tests --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Slawomir Jaranowski --- pom.xml | 46 ++++--------------- .../shared/invoker/DefaultInvokerTest.java | 6 +-- .../test-build-should-timeout/pom.xml | 11 ----- .../resources/test-space-properties/pom.xml | 2 +- 4 files changed, 12 insertions(+), 53 deletions(-) diff --git a/pom.xml b/pom.xml index 4a535a0..93b386f 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. org.apache.maven.shared maven-shared-components - 41 + 42 @@ -68,18 +68,6 @@ under the License. 2022-04-05T18:45:23Z - - - - org.junit - junit-bom - 5.10.2 - pom - import - - - - org.apache.maven.shared @@ -99,6 +87,13 @@ under the License. + + + true + ${project.basedir}/src//test/resources + + + org.apache.maven.plugins @@ -108,6 +103,7 @@ under the License. ${maven.home} + ${settings.localRepository} test-build-should*/** @@ -120,28 +116,4 @@ under the License. - - - - maven-repo-local - - - maven.repo.local - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${maven.repo.local} - - - - - - - diff --git a/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java b/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java index 303fb04..3335564 100644 --- a/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java +++ b/src/test/java/org/apache/maven/shared/invoker/DefaultInvokerTest.java @@ -242,10 +242,8 @@ private File getBasedirForBuild() throws URISyntaxException { private Properties getProperties() { Properties properties = new Properties(); - if (!System.getProperty("java.version").startsWith("1.")) { - properties.put("maven.compiler.source", "1.7"); - properties.put("maven.compiler.target", "1.7"); - } + properties.put("maven.compiler.source", "1.8"); + properties.put("maven.compiler.target", "1.8"); String httpProtocols = System.getProperty("https.protocols"); if (httpProtocols != null) { diff --git a/src/test/resources/test-build-should-timeout/pom.xml b/src/test/resources/test-build-should-timeout/pom.xml index cd0f828..3c5d150 100644 --- a/src/test/resources/test-build-should-timeout/pom.xml +++ b/src/test/resources/test-build-should-timeout/pom.xml @@ -31,15 +31,4 @@ under the License. test - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.2 - - - - diff --git a/src/test/resources/test-space-properties/pom.xml b/src/test/resources/test-space-properties/pom.xml index b199951..e162450 100644 --- a/src/test/resources/test-space-properties/pom.xml +++ b/src/test/resources/test-space-properties/pom.xml @@ -28,7 +28,7 @@ under the License. org.apache.maven.plugins maven-antrun-plugin - 3.0.0 + ${version.maven-antrun-plugin}