You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2026/08/26 08:17:09 UTC
(maven-compiler-plugin) branch master updated: Cleanup project with options exists in parent, bump dependencies
This is an automated email from the ASF dual-hosted git repository.
slawekjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new ea416bb Cleanup project with options exists in parent, bump dependencies
ea416bb is described below
commit ea416bb1bd792fd59f65c54c442b6fa4479b0561
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Aug 25 22:48:20 2026 +0200
Cleanup project with options exists in parent, bump dependencies
- bump maven-plugin-tools 3.x and 4.x
- use only javaVersion, remove maven.compiler. properties
- remove plugin configuration - the same in parent
- remove unused guice dependency
---
pom.xml | 63 +++++++--------------------------------------------------------
1 file changed, 7 insertions(+), 56 deletions(-)
diff --git a/pom.xml b/pom.xml
index d57f2d4..cfea9ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,26 +85,23 @@ under the License.
<mavenVersion>4.0.0-rc-6</mavenVersion>
<asmVersion>9.10.1</asmVersion>
- <guiceVersion>7.0.0</guiceVersion>
<mockitoVersion>5.23.0</mockitoVersion>
<eclipseCompilerVersion>3.42.0</eclipseCompilerVersion>
- <version.maven-plugin-tools-3.x>3.13.1</version.maven-plugin-tools-3.x>
- <version.maven-plugin-tools>4.0.0-beta-1</version.maven-plugin-tools>
+ <version.maven-plugin-tools-3.x>3.15.2</version.maven-plugin-tools-3.x>
+ <version.maven-plugin-tools>4.0.0-beta-2</version.maven-plugin-tools>
<invoker.junitPackageName>org.apache.maven.plugins.compiler.its</invoker.junitPackageName>
- <maven.it.failure.ignore>false</maven.it.failure.ignore>
<project.build.outputTimestamp>2026-01-27T00:46:35Z</project.build.outputTimestamp>
<!-- 4.x publish -->
- <maven4x.site.path>plugins-archives/${project.artifactId}-LATEST-4.x</maven4x.site.path>
- <maven.site.path>${maven4x.site.path}</maven.site.path>
+ <maven.site.path.suffix>LATEST-4.x</maven.site.path.suffix>
- <maven.compiler.source />
- <maven.compiler.target />
- <maven.compiler.release>17</maven.compiler.release>
- <minimalJavaBuildVersion>${maven.compiler.release}</minimalJavaBuildVersion>
+ <!-- The minimal Maven version that can build this plugin. The same as in prerequisites -->
+ <minimalMavenBuildVersion>${mavenVersion}</minimalMavenBuildVersion>
+ <!-- fail if dependencies are not declared or not used -->
+ <enforce.dependency.declarations>true</enforce.dependency.declarations>
</properties>
<dependencies>
@@ -151,12 +148,6 @@ under the License.
<version>${mavenVersion}</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <version>${guiceVersion}</version>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
@@ -173,13 +164,6 @@ under the License.
<build>
<pluginManagement>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <release>${javaVersion}</release>
- </configuration>
- </plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
@@ -206,33 +190,6 @@ under the License.
</excludes>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <configuration>
- <targetJdk>${maven.compiler.release}</targetJdk>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-bytecode-version</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <enforceBytecodeVersion>
- <maxJdkVersion>${maven.compiler.release}</maxJdkVersion>
- </enforceBytecodeVersion>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</pluginManagement>
</build>
@@ -258,18 +215,12 @@ under the License.
<pomInclude>extras/*/pom.xml</pomInclude>
<pomInclude>multirelease-patterns/*/pom.xml</pomInclude>
</pomIncludes>
- <!--
- ! Unfortunately we can't define an execution order.
- ! https://issues.apache.org/jira/browse/MINVOKER-174
- -->
<setupIncludes>
<setupInclude>setup*/pom.xml</setupInclude>
</setupIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
- <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures>
- <streamLogsOnFailures>true</streamLogsOnFailures>
<goals>
<goal>clean</goal>
<goal>test-compile</goal>