Add digraph-tile

This commit is contained in:
Paul Campbell 2017-12-23 15:17:32 +00:00
parent 5c49c2ce1d
commit fcb8dada33
4 changed files with 68 additions and 22 deletions

View file

@ -3,6 +3,7 @@
## Usage ## Usage
```xml ```xml
<project>
<properties> <properties>
<tiles-maven-plugin.version>2.10</tiles-maven-plugin.version> <tiles-maven-plugin.version>2.10</tiles-maven-plugin.version>
<kemitix-tiles.version>0.1.0-SNAPSHOT</kemitix-tiles.version> <kemitix-tiles.version>0.1.0-SNAPSHOT</kemitix-tiles.version>
@ -18,12 +19,14 @@
<tiles> <tiles>
<tile>net.kemitix.tiles:compiler-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:checkstyle-tile:${kemitix-tiles.version}</tile>
<tile>net.kemitix.tiles:digraph-tile:${kemitix-tiles.version}</tile>
<tile>net.kemitix.tiles:release-tile:${kemitix-tiles.version}</tile> <tile>net.kemitix.tiles:release-tile:${kemitix-tiles.version}</tile>
</tiles> </tiles>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project>
``` ```
Enabling the plugins in the `release-tile` requires the `release` profile to be active. Enabling the plugins in the `release-tile` requires the `release` profile to be active.

16
digraph/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>digraph-tile</artifactId>
<packaging>tile</packaging>
</project>

26
digraph/tile.xml Normal file
View file

@ -0,0 +1,26 @@
<project>
<properties>
<digraph-dependency.version>0.9.0</digraph-dependency.version>
<digraph-dependency.basePackage>net.kemitix</digraph-dependency.basePackage>
</properties>
<build>
<plugins>
<plugin>
<groupId>net.kemitix</groupId>
<artifactId>digraph-dependency-maven-plugin</artifactId>
<version>${digraph-dependency.version}</version>
<configuration>
<basePackage>${digraph-dependency.basePackage}</basePackage>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>digraph</goal>
</goals>
</execution>
</executions>
</plugin><!-- digraph-dependency-maven-plugin -->
</plugins>
</build>
</project>

View file

@ -11,10 +11,11 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>tiles-parent</module>
<module>checkstyle</module> <module>checkstyle</module>
<module>compiler</module> <module>compiler</module>
<module>tiles-parent</module>
<module>release</module> <module>release</module>
<module>digraph</module>
</modules> </modules>
</project> </project>