Skip to content

Commit 8f7b7ec

Browse files
gnodethboutemy
authored andcommitted
Upgrade plugins and clean build warnings (#4)
1 parent 6b57e0c commit 8f7b7ec

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

pom.xml

+42-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,54 @@ limitations under the License.
8282
<build>
8383
<pluginManagement>
8484
<plugins>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-enforcer-plugin</artifactId>
88+
<version>3.3.0</version>
89+
</plugin>
8590
<plugin>
8691
<groupId>org.apache.maven.plugins</groupId>
8792
<artifactId>maven-resources-plugin</artifactId>
8893
<version>3.3.1</version>
8994
</plugin>
95+
<plugin>
96+
<groupId>org.apache.maven.plugins</groupId>
97+
<artifactId>maven-surefire-plugin</artifactId>
98+
<version>3.0.0</version>
99+
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-site-plugin</artifactId>
103+
<version>4.0.0-M7</version>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-compiler-plugin</artifactId>
108+
<version>3.11.0</version>
109+
</plugin>
90110
</plugins>
91111
</pluginManagement>
92112
<plugins>
113+
<plugin>
114+
<groupId>org.apache.maven.plugins</groupId>
115+
<artifactId>maven-enforcer-plugin</artifactId>
116+
<executions>
117+
<execution>
118+
<id>enforce-maven</id>
119+
<goals>
120+
<goal>enforce</goal>
121+
</goals>
122+
<configuration>
123+
<rules>
124+
<requireMavenVersion>
125+
<version>3.2.5</version>
126+
<message>This project requires at least Maven 3.2.5</message>
127+
</requireMavenVersion>
128+
</rules>
129+
</configuration>
130+
</execution>
131+
</executions>
132+
</plugin>
93133
<plugin>
94134
<artifactId>maven-compiler-plugin</artifactId>
95135
<executions>
@@ -127,7 +167,7 @@ limitations under the License.
127167
<configuration>
128168
<!-- required to ensure the test classes are used, not surefire's plexus-utils -->
129169
<childDelegation>true</childDelegation>
130-
<systemProperties>
170+
<systemPropertyVariables>
131171
<property>
132172
<name>JAVA_HOME</name>
133173
<value>${JAVA_HOME}</value>
@@ -136,7 +176,7 @@ limitations under the License.
136176
<name>M2_HOME</name>
137177
<value>${M2_HOME}</value>
138178
</property>
139-
</systemProperties>
179+
</systemPropertyVariables>
140180
</configuration>
141181
</plugin>
142182
</plugins>

0 commit comments

Comments
 (0)