Skip to content

Commit

Permalink
Upgrade plugins and clean build warnings (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 10, 2023
1 parent d0c0bc6 commit 02e2c78
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,54 @@ limitations under the License.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.2.5</version>
<message>This project requires at least Maven 3.2.5</message>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -126,7 +166,7 @@ limitations under the License.
<configuration>
<!-- required to ensure the test classes are used, not surefire's plexus-utils -->
<childDelegation>true</childDelegation>
<systemProperties>
<systemPropertyVariables>
<property>
<name>JAVA_HOME</name>
<value>${JAVA_HOME}</value>
Expand All @@ -135,7 +175,7 @@ limitations under the License.
<name>M2_HOME</name>
<value>${M2_HOME}</value>
</property>
</systemProperties>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 02e2c78

Please sign in to comment.