Skip to content

Commit

Permalink
added usage of enforcer plugin for used maven version
Browse files Browse the repository at this point in the history
  • Loading branch information
svendiedrichsen committed Feb 11, 2018
1 parent 1ea62f5 commit 0db68f2
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.jollyday</groupId>
<artifactId>jollyday</artifactId>
Expand Down Expand Up @@ -262,11 +263,21 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules>
<requireMavenVersion>3.0.5</requireMavenVersion>
</rules>
</configuration>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.5</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 0db68f2

Please sign in to comment.