This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch parent-42-maven-3.6.3 in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
commit 888f40a129629c0d24e93c61e331fb6509f105f0 Author: Michael Osipov <micha...@apache.org> AuthorDate: Fri May 31 22:38:23 2024 +0200 [MCHECKSTYLE-448] Upgrade to Parent 42 and Maven 3.6.3 This closes #137 --- pom.xml | 69 ++++++++++++++++++++++++++++------------------------------------- 1 file changed, 30 insertions(+), 39 deletions(-) diff --git a/pom.xml b/pom.xml index 57333fb..8e781da 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. <parent> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugins</artifactId> - <version>41</version> + <version>42</version> <relativePath /> </parent> @@ -74,8 +74,9 @@ under the License. <properties> <javaVersion>8</javaVersion> - <aetherVersion>1.0.0.v20140518</aetherVersion> - <mavenVersion>3.2.5</mavenVersion> + <mavenVersion>3.6.3</mavenVersion> + <resolverVersion>1.4.1</resolverVersion> + <slf4jVersion>1.7.36</slf4jVersion> <checkstyleVersion>9.3</checkstyleVersion> <doxiaVersion>1.11.1</doxiaVersion> <doxiaSitetoolsVersion>1.11.1</doxiaSitetoolsVersion> @@ -120,6 +121,12 @@ under the License. <artifactId>org.eclipse.sisu.plexus</artifactId> <scope>provided</scope> </dependency> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + <scope>provided</scope> + </dependency> <!-- shared --> <dependency> @@ -193,6 +200,12 @@ under the License. <version>3.14.0</version> </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4jVersion}</version> + </dependency> + <!-- test --> <dependency> <groupId>org.codehaus.plexus</groupId> @@ -209,7 +222,7 @@ under the License. <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> - <version>1.7.36</version> + <version>${slf4jVersion}</version> <scope>test</scope> </dependency> <dependency> @@ -225,27 +238,27 @@ under the License. </exclusions> </dependency> <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-api</artifactId> - <version>${aetherVersion}</version> + <groupId>org.apache.maven.resolver</groupId> + <artifactId>maven-resolver-api</artifactId> + <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-impl</artifactId> - <version>${aetherVersion}</version> + <groupId>org.apache.maven.resolver</groupId> + <artifactId>maven-resolver-impl</artifactId> + <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-connector-basic</artifactId> - <version>${aetherVersion}</version> + <groupId>org.apache.maven.resolver</groupId> + <artifactId>maven-resolver-connector-basic</artifactId> + <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-transport-wagon</artifactId> - <version>${aetherVersion}</version> + <groupId>org.apache.maven.resolver</groupId> + <artifactId>maven-resolver-transport-wagon</artifactId> + <version>${resolverVersion}</version> <scope>test</scope> </dependency> <dependency> @@ -289,28 +302,6 @@ under the License. </plugins> </pluginManagement> <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>3.5.0</version> - <executions> - <!-- - Make the version parts of the maven.compiler.target property - available as separate properties, so that they can be used to define - the java signature artifactId used by animal-sniffer - --> - <execution> - <id>parse-version</id> - <goals> - <goal>parse-version</goal> - </goals> - <configuration> - <propertyPrefix>javaSignature</propertyPrefix> - <versionString>${maven.compiler.target}</versionString> - </configuration> - </execution> - </executions> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> @@ -318,7 +309,7 @@ under the License. <configuration> <signature> <groupId>org.codehaus.mojo.signature</groupId> - <artifactId>java${javaSignature.majorVersion}${javaSignature.minorVersion}</artifactId> + <artifactId>java18</artifactId> <version>1.0</version> </signature> </configuration>