kemitix-parent/enforcer/tile.xml

37 lines
1.4 KiB
XML
Raw Normal View History

2017-12-23 15:24:21 +00:00
<project>
<properties>
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
<required-maven.version>3.0.4</required-maven.version>
<java.version>1.8</java.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-maven</id>
<phase>validate</phase>
<goals>
<goal>display-info</goal>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<requireMavenVersion>
<version>${required-maven.version}</version>
</requireMavenVersion>
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin><!-- maven-enforcer-plugin -->
</plugins>
</build>
</project>