This is an automated email from the ASF dual-hosted git repository. cstamas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git
The following commit(s) were added to refs/heads/master by this push: new 8e416f3 [MWRAPPER-129][MWRAPPER-128] Drop legacy stuff, require Maven 3.6.3+ (#126) 8e416f3 is described below commit 8e416f3d4017be8a9063e11edcba66ea1a7fdded Author: Tamas Cservenak <ta...@cservenak.net> AuthorDate: Wed Apr 17 10:41:22 2024 +0200 [MWRAPPER-129][MWRAPPER-128] Drop legacy stuff, require Maven 3.6.3+ (#126) Also refresh and reshuffle to not duplicate dependencies and versions. Tend to use properties for versions where there is 2+ of them, otherwise is just fluff. Also, raise prerequisite of plugin to 3.6.3+ --- https://issues.apache.org/jira/browse/MWRAPPER-128 https://issues.apache.org/jira/browse/MWRAPPER-129 --- maven-wrapper-plugin/pom.xml | 21 +++++++++++---------- maven-wrapper/pom.xml | 19 +------------------ pom.xml | 14 +++++++++++++- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/maven-wrapper-plugin/pom.xml b/maven-wrapper-plugin/pom.xml index 0a41a7f..e7ba92d 100644 --- a/maven-wrapper-plugin/pom.xml +++ b/maven-wrapper-plugin/pom.xml @@ -34,7 +34,7 @@ under the License. <description>The Maven Wrapper Plugin is a plugin that provides support for the Maven Wrapper by unpacking Maven Wrapper Distribution to the current project.</description> <prerequisites> - <maven>${mavenVersion}</maven> + <maven>3.6.3</maven> </prerequisites> <dependencies> @@ -56,11 +56,6 @@ under the License. <version>${mavenVersion}</version> <scope>provided</scope> </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-shared-utils</artifactId> - <version>3.4.2</version> - </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> @@ -82,12 +77,19 @@ under the License. <version>3.4.2</version> </dependency> <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-api</artifactId> - <version>1.1.0</version> + <groupId>org.apache.maven.resolver</groupId> + <artifactId>maven-resolver-api</artifactId> + <version>1.9.18</version> <scope>provided</scope> </dependency> + <!-- ONLY: MessageUtil --> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-shared-utils</artifactId> + <version>3.4.2</version> + </dependency> + <!-- dependencies to annotations --> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> @@ -109,7 +111,6 @@ under the License. <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> - <version>5.10.2</version> <scope>test</scope> </dependency> </dependencies> diff --git a/maven-wrapper/pom.xml b/maven-wrapper/pom.xml index 8cb1ffd..6fb7eb0 100644 --- a/maven-wrapper/pom.xml +++ b/maven-wrapper/pom.xml @@ -31,23 +31,6 @@ under the License. <name>Maven Wrapper Jar</name> <description>Maven Wrapper Jar download, installs and launches installed target Maven distribution as part of Maven Wrapper scripts run.</description> - <properties> - <junit.version>5.10.2</junit.version> - <mockito.version>4.11.0</mockito.version> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.junit</groupId> - <artifactId>junit-bom</artifactId> - <version>${junit.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - <dependencies> <dependency> <groupId>org.hamcrest</groupId> @@ -63,7 +46,7 @@ under the License. <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> - <version>${mockito.version}</version> + <version>4.11.0</version> <scope>test</scope> </dependency> </dependencies> diff --git a/pom.xml b/pom.xml index 5d1e028..f60e464 100644 --- a/pom.xml +++ b/pom.xml @@ -63,11 +63,23 @@ under the License. <properties> <maven.site.path>wrapper-archives/wrapper-LATEST</maven.site.path> - <mavenVersion>3.2.5</mavenVersion> + <mavenVersion>3.9.6</mavenVersion> <javaVersion>8</javaVersion> <project.build.outputTimestamp>2023-03-08T23:06:24Z</project.build.outputTimestamp> </properties> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <version>5.10.2</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + <build> <pluginManagement> <plugins>