builder:pom.xml: use kemitix-spring-parent

This commit is contained in:
Paul Campbell 2017-01-06 22:37:24 +00:00
parent c027c372d8
commit 9f979955f8
2 changed files with 36 additions and 65 deletions

View file

@ -6,8 +6,9 @@
<parent> <parent>
<groupId>net.kemitix</groupId> <groupId>net.kemitix</groupId>
<artifactId>kemitix-checkstyle-ruleset-parent</artifactId> <artifactId>kemitix-spring-parent</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.2.0</version>
<relativePath/>
</parent> </parent>
<artifactId>kemitix-checkstyle-ruleset-builder</artifactId> <artifactId>kemitix-checkstyle-ruleset-builder</artifactId>
@ -17,31 +18,30 @@
<name>Kemitix Checkstyle Ruleset Builder</name> <name>Kemitix Checkstyle Ruleset Builder</name>
<description>Builder for the Kemitix Checkstyle Ruleset</description> <description>Builder for the Kemitix Checkstyle Ruleset</description>
<issueManagement>
<url>https://github.com/kemitix/kemitix-checkstyle-ruleset/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<scm>
<connection>scm:git:git@github.com:kemitix/kemitix-checkstyle-ruleset.git</connection>
<developerConnection>scm:git:git@github.com:kemitix/kemitix-checkstyle-ruleset.git</developerConnection>
<url>git@github.com:kemitix/kemitix-checkstyle-ruleset.git</url>
</scm>
<url>https://github.com/kemitix/kemitix-checkstyle-ruleset</url>
<inceptionYear>2016</inceptionYear>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spring-boot.version>1.4.3.RELEASE</spring-boot.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
<checkstyle.version>7.3</checkstyle.version>
<sevntu-checkstyle-maven-plugin.version>1.22.0</sevntu-checkstyle-maven-plugin.version>
<kemitix-checkstyle-ruleset.version>2.0.0-SNAPSHOT</kemitix-checkstyle-ruleset.version> <kemitix-checkstyle-ruleset.version>2.0.0-SNAPSHOT</kemitix-checkstyle-ruleset.version>
<kemitix-checkstyle-ruleset.level>5-complexity</kemitix-checkstyle-ruleset.level> <kemitix-checkstyle-ruleset.level>5-complexity</kemitix-checkstyle-ruleset.level>
<assertj.version>3.6.1</assertj.version> <assertj.version>3.6.1</assertj.version>
<mapstream.version>2.3.4</mapstream.version>
<mapbuilder.version>1.0.0</mapbuilder.version> <mapbuilder.version>1.0.0</mapbuilder.version>
</properties> </properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.spring.platform</groupId>
<artifactId>platform-bom</artifactId>
<version>Athens-SR1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -95,23 +95,6 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven.checkstyle.plugin.version}</version> <version>${maven.checkstyle.plugin.version}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
<dependency>
<groupId>com.github.sevntu.checkstyle</groupId>
<artifactId>sevntu-checkstyle-maven-plugin</artifactId>
<version>${sevntu-checkstyle-maven-plugin.version}</version>
</dependency>
<dependency>
<groupId>net.kemitix</groupId>
<artifactId>kemitix-checkstyle-ruleset</artifactId>
<version>${kemitix-checkstyle-ruleset.version}</version>
</dependency>
</dependencies>
<configuration> <configuration>
<configLocation>net/kemitix/checkstyle-${kemitix-checkstyle-ruleset.level}.xml</configLocation> <configLocation>net/kemitix/checkstyle-${kemitix-checkstyle-ruleset.level}.xml</configLocation>
</configuration> </configuration>
@ -120,26 +103,22 @@
</pluginManagement> </pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<executions> <version>${spring-boot.version}</version>
<execution> <!--<configuration>-->
<id>validate</id> <!--<executable>true</executable>-->
<phase>validate</phase> <!--</configuration>-->
<goals> <!--<executions>-->
<goal>check</goal> <!--<execution>-->
<goal>checkstyle</goal> <!--<goals>-->
</goals> <!--<goal>-->
</execution> <!--repackage-->
</executions> <!--</goal>-->
</plugin><!-- maven-checkstyle-plugin --> <!--</goals>-->
<!--</execution>-->
<!--</executions>-->
</plugin>
</plugins> </plugins>
</build> </build>
<pluginRepositories>
<pluginRepository>
<id>sevntu-maven</id>
<name>sevntu-maven</name>
<url>http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2</url>
</pluginRepository>
</pluginRepositories>
</project> </project>

View file

@ -51,12 +51,4 @@
<organizationUrl>https://github.com/kemitix/</organizationUrl> <organizationUrl>https://github.com/kemitix/</organizationUrl>
</developer> </developer>
</developers> </developers>
<properties>
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<mapstream.version>2.3.4</mapstream.version>
</properties>
</project> </project>