Improve use of properties in tile (#164)
* [tile] improve use of properties * [tile] rename property to match project name * [readme] remove codacy and sonar badges properly * [changelog] updated
This commit is contained in:
parent
fff6052855
commit
90e3f8cd70
5 changed files with 20 additions and 23 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
* [5.3.3] - 2019-02-02
|
||||
|
||||
** Changed
|
||||
|
||||
- [tile] Improved use of properties to remove duplication
|
||||
|
||||
** Dependencies
|
||||
|
||||
- Bump classgraph from 4.6.9 to 4.6.29 (#158)(#160)
|
||||
|
|
|
@ -4,8 +4,6 @@ Provides an extensive Checkstyle ruleset for use with Checkstyle, together with
|
|||
|
||||
![Sonatype Nexus (Release)](https://img.shields.io/nexus/r/https/oss.sonatype.org/net.kemitix.checkstyle/ruleset.svg?style=for-the-badge)
|
||||
![Maven Central](https://img.shields.io/maven-central/v/net.kemitix.checkstyle/ruleset.svg?style=for-the-badge)
|
||||
|
||||
![Codacy](https://img.shields.io/codacy/grade/f1208289122e48daa89c46671293b3c2.svg?style=for-the-badge)
|
||||
![JPeek](http://i.jpeek.org/net.kemitix.checkstyle/ruleset/badge.svg)
|
||||
|
||||
The ruleset includes checks from both the core Checkstyle library and from the Sevntu-Checkstyle library.
|
||||
|
|
|
@ -4,20 +4,6 @@ Provides an extensive Checkstyle ruleset for use with Checkstyle, together with
|
|||
|
||||
![Sonatype Nexus (Release)](https://img.shields.io/nexus/r/https/oss.sonatype.org/net.kemitix.checkstyle/ruleset.svg?style=for-the-badge)
|
||||
![Maven Central](https://img.shields.io/maven-central/v/net.kemitix.checkstyle/ruleset.svg?style=for-the-badge)
|
||||
|
||||
![Coverage](https://img.shields.io/sonar/https/sonarcloud.io/net.kemitix.checkstyle:builder/coverage.svg?style=for-the-badge#.svg)
|
||||
![Tech Debt](https://img.shields.io/sonar/https/sonarcloud.io/net.kemitix.checkstyle:builder/tech_debt.svg?style=for-the-badge#.svg)
|
||||
![SQALE Rating](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=sqale_rating#.svg)
|
||||
![Alert Status](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=alert_status#.svg)
|
||||
![Reliability](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=reliability_rating#.svg)
|
||||
![Security](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=security_rating#.svg)
|
||||
![SQALE Index](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=sqale_index#.svg)
|
||||
![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=vulnerabilities#.svg)
|
||||
![Bugs](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=bugs#.svg)
|
||||
![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=code_smells#.svg)
|
||||
![NCLOC](https://sonarcloud.io/api/project_badges/measure?project=net.kemitix.checkstyle:kemitix-checkstyle-ruleset&metric=ncloc#.svg)
|
||||
|
||||
![Codacy](https://img.shields.io/codacy/grade/f1208289122e48daa89c46671293b3c2.svg?style=for-the-badge)
|
||||
![JPeek](http://i.jpeek.org/net.kemitix.checkstyle/ruleset/badge.svg)
|
||||
|
||||
The ruleset includes checks from both the core Checkstyle library and from the Sevntu-Checkstyle library.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<properties>
|
||||
<tiles-maven-plugin.version>2.12</tiles-maven-plugin.version>
|
||||
<kemitix-tiles.version>0.8.1</kemitix-tiles.version>
|
||||
<kemitix-maven-tiles.version>0.8.1</kemitix-maven-tiles.version>
|
||||
|
||||
<maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
|
||||
<checkstyle.version>8.16</checkstyle.version>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<configuration>
|
||||
<filtering>true</filtering>
|
||||
<tiles>
|
||||
<tile>net.kemitix.tiles:maven-plugins:${kemitix-tiles.version}</tile>
|
||||
<tile>net.kemitix.tiles:maven-plugins:${kemitix-maven-tiles.version}</tile>
|
||||
</tiles>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
|
|
@ -1,29 +1,38 @@
|
|||
<project>
|
||||
<properties>
|
||||
<maven-checkstyle-plugin.version>@maven-checkstyle-plugin.version@</maven-checkstyle-plugin.version>
|
||||
<checkstyle.version>@checkstyle.version@</checkstyle.version>
|
||||
<sevntu.version>@sevntu.version@</sevntu.version>
|
||||
<kemitix.checkstyle.ruleset.version>@kemitix.checkstyle.ruleset.version@</kemitix.checkstyle.ruleset.version>
|
||||
<build.sourceDirectory>@build.sourceDirectory@</build.sourceDirectory>
|
||||
<kemitix.checkstyle.ruleset.level>5-complexity</kemitix.checkstyle.ruleset.level>
|
||||
<kemitix.checkstyle.ruleset.location>net/kemitix/checkstyle-${kemitix.checkstyle.ruleset.level}.xml</kemitix.checkstyle.ruleset.location>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<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>
|
||||
<version>${checkstyle.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.sevntu-checkstyle</groupId>
|
||||
<artifactId>sevntu-checkstyle-maven-plugin</artifactId>
|
||||
<version>@sevntu.version@</version>
|
||||
<version>${sevntu.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.kemitix.checkstyle</groupId>
|
||||
<artifactId>ruleset</artifactId>
|
||||
<version>@kemitix.checkstyle.ruleset.version@</version>
|
||||
<version>${kemitix.checkstyle.ruleset.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
<configLocation>@kemitix.checkstyle.ruleset.location@</configLocation>
|
||||
<configLocation>${kemitix.checkstyle.ruleset.location}</configLocation>
|
||||
<sourceDirectories>
|
||||
<sourceDirectory>${build.sourceDirectory}</sourceDirectory>
|
||||
</sourceDirectories>
|
||||
|
|
Loading…
Reference in a new issue