Use tiles in ruleset
This commit is contained in:
parent
020635841a
commit
a115a76458
2 changed files with 20 additions and 83 deletions
3
pom.xml
3
pom.xml
|
@ -13,7 +13,10 @@
|
||||||
<description>Parent POM for the Kemitix Checkstyle Ruleset and it's Builder</description>
|
<description>Parent POM for the Kemitix Checkstyle Ruleset and it's Builder</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<tiles-maven-plugin.version>2.10</tiles-maven-plugin.version>
|
||||||
|
<kemitix-tiles.version>0.1.1</kemitix-tiles.version>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
|
|
||||||
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
|
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
|
||||||
<checkstyle.version>8.0</checkstyle.version>
|
<checkstyle.version>8.0</checkstyle.version>
|
||||||
<sevntu.version>1.24.1</sevntu.version>
|
<sevntu.version>1.24.1</sevntu.version>
|
||||||
|
|
100
ruleset/pom.xml
100
ruleset/pom.xml
|
@ -16,87 +16,21 @@
|
||||||
<name>Kemitix Checkstyle :: Ruleset</name>
|
<name>Kemitix Checkstyle :: Ruleset</name>
|
||||||
<description>Checkstyle Ruleset for use by packages derived from kemitix-parent</description>
|
<description>Checkstyle Ruleset for use by packages derived from kemitix-parent</description>
|
||||||
|
|
||||||
<properties>
|
<build>
|
||||||
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
<plugins>
|
||||||
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
<plugin>
|
||||||
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
<groupId>io.repaint.maven</groupId>
|
||||||
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
|
<artifactId>tiles-maven-plugin</artifactId>
|
||||||
</properties>
|
<version>${tiles-maven-plugin.version}</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
<profiles>
|
<configuration>
|
||||||
<profile>
|
<tiles>
|
||||||
<id>release</id>
|
<tile>net.kemitix.tiles:maven-plugins-tile:${kemitix-tiles.version}</tile>
|
||||||
<build>
|
<tile>net.kemitix.tiles:enforcer-tile:${kemitix-tiles.version}</tile>
|
||||||
<plugins>
|
<tile>net.kemitix.tiles:release-tile:${kemitix-tiles.version}</tile>
|
||||||
<!-- plugin sequence: javadoc, sources, gpg, deploy -->
|
</tiles>
|
||||||
<plugin>
|
</configuration>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</plugin>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
</plugins>
|
||||||
<version>${maven-javadoc-plugin.version}</version>
|
</build>
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-javadocs</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin><!-- maven-javadoc-plugin -->
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
|
||||||
<version>${maven-source-plugin.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-sources</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>jar-no-fork</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin><!-- maven-source-plugin -->
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
|
||||||
<version>${maven-gpg-plugin.version}</version>
|
|
||||||
<configuration>
|
|
||||||
<passphrase>${gpg.passphrase}</passphrase>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>sign-artifacts</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>sign</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin><!-- maven-gpg-plugin -->
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
|
||||||
<version>${maven-deploy-plugin.version}</version>
|
|
||||||
</plugin><!-- maven deploy-plugin -->
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile><!-- release -->
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<snapshotRepository>
|
|
||||||
<id>sonatype-nexus-snapshots</id>
|
|
||||||
<name>Sonatype Nexus Snapshots</name>
|
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
||||||
</snapshotRepository>
|
|
||||||
<repository>
|
|
||||||
<id>sonatype-nexus-staging</id>
|
|
||||||
<name>Nexus Release Repository</name>
|
|
||||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue