<groupId>jp.sourceforge.mikutoga</groupId>
<artifactId>pmd2xml</artifactId>
- <version>1.201.105-SNAPSHOT</version>
+ <version>1.202.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Pmd2XML</name>
<!-- Walk around: JDK 11 javadoc + Maven -->
<detectJavaApiLink>false</detectJavaApiLink>
- <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
-
<surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
<jacoco-plugin.version>0.8.4</jacoco-plugin.version>
- <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
+ <checkstyle-plugin.version>3.1.0</checkstyle-plugin.version>
+ <checkstyleruntime.version>8.21</checkstyleruntime.version>
+ <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
+ <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
<checkstyle.enable.rss>false</checkstyle.enable.rss>
+ <pmd-plugin.version>3.12.0</pmd-plugin.version>
+
<spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
<dependency>
<groupId>jp.sourceforge.mikutoga</groupId>
<artifactId>togagem</artifactId>
- <version>3.120.2</version>
+ <version>3.122.2</version>
<scope>compile</scope>
</dependency>
<pluginManagement>
<plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${checkstyle-plugin.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>${checkstyleruntime.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
</plugins>
</pluginManagement>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
- <version>2.4</version>
+ <version>3.1.1</version>
<configuration>
- <archiveBaseDirectory>.</archiveBaseDirectory>
<descriptors>
- <descriptor>src/main/assembly/descriptor.xml</descriptor>
+ <descriptor>src/assembly/src.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.11</version>
- <!-- config from property value -->
+ <version>${checkstyle-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.0.1</version>
+ <version>${pmd-plugin.version}</version>
<configuration>
- <!--targetJdk>${maven.compiler.target}</targetJdk-->
<rulesets>
- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+ <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
</rulesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.11</version>
- <configuration>
- <skip>false</skip>
- <!-- config from property value -->
- </configuration>
+ <version>${checkstyle-plugin.version}</version>
<reportSets>
<reportSet>
<reports>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.0.1</version>
+ <version>${pmd-plugin.version}</version>
<configuration>
- <skip>false</skip>
- <!--targetJdk>${maven.compiler.target}</targetJdk-->
<rulesets>
- <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+ <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
</rulesets>
</configuration>
<reportSets>