Skip to content

Commit 02e2c78

Browse files
authored
Upgrade plugins and clean build warnings (#4)
1 parent d0c0bc6 commit 02e2c78

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
@@ -81,14 +81,54 @@ limitations under the License.
8181
<build>
8282
<pluginManagement>
8383
<plugins>
84+
<plugin>
85+
<groupId>org.apache.maven.plugins</groupId>
86+
<artifactId>maven-enforcer-plugin</artifactId>
87+
<version>3.3.0</version>
88+
</plugin>
8489
<plugin>
8590
<groupId>org.apache.maven.plugins</groupId>
8691
<artifactId>maven-resources-plugin</artifactId>
8792
<version>3.3.1</version>
8893
</plugin>
94+
<plugin>
95+
<groupId>org.apache.maven.plugins</groupId>
96+
<artifactId>maven-surefire-plugin</artifactId>
97+
<version>3.0.0</version>
98+
</plugin>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-site-plugin</artifactId>
102+
<version>4.0.0-M7</version>
103+
</plugin>
104+
<plugin>
105+
<groupId>org.apache.maven.plugins</groupId>
106+
<artifactId>maven-compiler-plugin</artifactId>
107+
<version>3.11.0</version>
108+
</plugin>
89109
</plugins>
90110
</pluginManagement>
91111
<plugins>
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-enforcer-plugin</artifactId>
115+
<executions>
116+
<execution>
117+
<id>enforce-maven</id>
118+
<goals>
119+
<goal>enforce</goal>
120+
</goals>
121+
<configuration>
122+
<rules>
123+
<requireMavenVersion>
124+
<version>3.2.5</version>
125+
<message>This project requires at least Maven 3.2.5</message>
126+
</requireMavenVersion>
127+
</rules>
128+
</configuration>
129+
</execution>
130+
</executions>
131+
</plugin>
92132
<plugin>
93133
<artifactId>maven-compiler-plugin</artifactId>
94134
<executions>
@@ -126,7 +166,7 @@ limitations under the License.
126166
<configuration>
127167
<!-- required to ensure the test classes are used, not surefire's plexus-utils -->
128168
<childDelegation>true</childDelegation>
129-
<systemProperties>
169+
<systemPropertyVariables>
130170
<property>
131171
<name>JAVA_HOME</name>
132172
<value>${JAVA_HOME}</value>
@@ -135,7 +175,7 @@ limitations under the License.
135175
<name>M2_HOME</name>
136176
<value>${M2_HOME}</value>
137177
</property>
138-
</systemProperties>
178+
</systemPropertyVariables>
139179
</configuration>
140180
</plugin>
141181
</plugins>

0 commit comments

Comments
 (0)