Add enforcer-tile

This commit is contained in:
Paul Campbell 2017-12-23 15:24:21 +00:00
parent fcb8dada33
commit 17ed2afea8
4 changed files with 54 additions and 0 deletions

View file

@ -17,6 +17,7 @@
<extensions>true</extensions>
<configuration>
<tiles>
<tile>net.kemitix.tiles:enforcer-tile:${kemitix-tiles.version}</tile>
<tile>net.kemitix.tiles:compiler-tile:${kemitix-tiles.version}</tile>
<tile>net.kemitix.tiles:checkstyle-tile:${kemitix-tiles.version}</tile>
<tile>net.kemitix.tiles:digraph-tile:${kemitix-tiles.version}</tile>

16
enforcer/pom.xml Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>tiles-parent</artifactId>
<groupId>net.kemitix.tiles</groupId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../tiles-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>enforcer-tile</artifactId>
<packaging>tile</packaging>
</project>

36
enforcer/tile.xml Normal file
View file

@ -0,0 +1,36 @@
<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>

View file

@ -16,6 +16,7 @@
<module>compiler</module>
<module>release</module>
<module>digraph</module>
<module>enforcer</module>
</modules>
</project>