Skip to content

Commit 2ebdfed

Browse files
authored
updated pom.xml
added maven-enforce plugin
1 parent c279e95 commit 2ebdfed

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,31 @@
218218
</prerequisites>
219219

220220
</project>
221+
<project>
222+
[...]
223+
<build>
224+
<plugins>
225+
<plugin>
226+
<groupId>org.apache.maven.plugins</groupId>
227+
<artifactId>maven-enforcer-plugin</artifactId>
228+
<version>3.0.0-M3</version>
229+
<executions>
230+
<execution>
231+
<id>enforce-maven</id>
232+
<goals>
233+
<goal>enforce</goal>
234+
</goals>
235+
<configuration>
236+
<rules>
237+
<requireMavenVersion>
238+
<version>3.0</version>
239+
</requireMavenVersion>
240+
</rules>
241+
</configuration>
242+
</execution>
243+
</executions>
244+
</plugin>
245+
</plugins>
246+
</build>
247+
[...]
248+
</project>

0 commit comments

Comments
 (0)