[Project] Allow generating PMD and SpotBugs reports
This commit is contained in:
parent
015a7cec41
commit
8a1e7aea4e
|
@ -15,6 +15,13 @@
|
||||||
<description>Strolch Agent which is the runtime for Strolch</description>
|
<description>Strolch Agent which is the runtime for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<name>li.strolch.bom</name>
|
<name>li.strolch.bom</name>
|
||||||
<description>All of Strolch's dependencies for easy dependency management in Strolch projects</description>
|
<description>All of Strolch's dependencies for easy dependency management in Strolch projects</description>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<name>li.strolch.model</name>
|
<name>li.strolch.model</name>
|
||||||
<inceptionYear>2012</inceptionYear>
|
<inceptionYear>2012</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -12,6 +12,13 @@
|
||||||
<artifactId>li.strolch.mvn.archetype.main</artifactId>
|
<artifactId>li.strolch.mvn.archetype.main</artifactId>
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
|
@ -12,6 +12,13 @@
|
||||||
<artifactId>li.strolch.mvn.archetype.webapp</artifactId>
|
<artifactId>li.strolch.mvn.archetype.webapp</artifactId>
|
||||||
<packaging>maven-archetype</packaging>
|
<packaging>maven-archetype</packaging>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>Strolch project for running performance tests</description>
|
<description>Strolch project for running performance tests</description>
|
||||||
<inceptionYear>2015</inceptionYear>
|
<inceptionYear>2015</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<perfTestDisabled>true</perfTestDisabled>
|
<perfTestDisabled>true</perfTestDisabled>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>PostgreSQL Persistence Implementation for Strolch</description>
|
<description>PostgreSQL Persistence Implementation for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>Reference Persistence Implementation for Strolch</description>
|
<description>Reference Persistence Implementation for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<name>li.strolch.privilege</name>
|
<name>li.strolch.privilege</name>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>Restful Web Service API for Strolch</description>
|
<description>Restful Web Service API for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>Service API for Strolch</description>
|
<description>Service API for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<name>li.strolch.soql</name>
|
<name>li.strolch.soql</name>
|
||||||
<inceptionYear>2012</inceptionYear>
|
<inceptionYear>2012</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>runtime for Strolch</description>
|
<description>runtime for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -16,6 +16,13 @@
|
||||||
<description>These utils contain project independent helper classes and utilities for reuse</description>
|
<description>These utils contain project independent helper classes and utilities for reuse</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<description>WebSocket API for Strolch</description>
|
<description>WebSocket API for Strolch</description>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
|
@ -15,6 +15,13 @@
|
||||||
<name>li.strolch.xmlpers</name>
|
<name>li.strolch.xmlpers</name>
|
||||||
<inceptionYear>2011</inceptionYear>
|
<inceptionYear>2011</inceptionYear>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/../target/${project.artifactId}</url>
|
||||||
|
</site>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Base -->
|
<!-- Base -->
|
||||||
|
|
57
pom.xml
57
pom.xml
|
@ -137,6 +137,7 @@
|
||||||
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
|
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
|
||||||
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
|
<exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
|
||||||
<archetype-packaging.version>3.2.0</archetype-packaging.version>
|
<archetype-packaging.version>3.2.0</archetype-packaging.version>
|
||||||
|
<spotbugs-maven-plugin.version>4.4.1</spotbugs-maven-plugin.version>
|
||||||
|
|
||||||
<warFinalName>NOT_SET</warFinalName>
|
<warFinalName>NOT_SET</warFinalName>
|
||||||
<tomcat7Url>NOT_SET</tomcat7Url>
|
<tomcat7Url>NOT_SET</tomcat7Url>
|
||||||
|
@ -489,6 +490,19 @@
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
<version>${maven-project-info-reports-plugin.version}</version>
|
<version>${maven-project-info-reports-plugin.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.spotbugs</groupId>
|
||||||
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
|
<version>${spotbugs-maven-plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<effort>Max</effort>
|
||||||
|
<threshold>Default</threshold>
|
||||||
|
<skipEmptyReport>false</skipEmptyReport>
|
||||||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||||||
|
<includeTests>true</includeTests>
|
||||||
|
<classFilesDirectory>${project.build.outputDirectory}</classFilesDirectory>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -673,6 +687,10 @@
|
||||||
<id>oss.sonatype.org</id>
|
<id>oss.sonatype.org</id>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
</snapshotRepository>
|
</snapshotRepository>
|
||||||
|
<site>
|
||||||
|
<id>localhost</id>
|
||||||
|
<url>file://${project.basedir}/target</url>
|
||||||
|
</site>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
@ -716,4 +734,43 @@
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
|
<reporting>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.spotbugs</groupId>
|
||||||
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||||
|
<version>${spotbugs-maven-plugin.version}</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<id>spotbugs</id>
|
||||||
|
<inherited>false</inherited>
|
||||||
|
<reports>
|
||||||
|
<report>spotbugs</report>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-pmd-plugin</artifactId>
|
||||||
|
<version>${pmd-maven-plugin.version}</version>
|
||||||
|
<reportSets>
|
||||||
|
<reportSet>
|
||||||
|
<!-- aggregate reportSet, to define in poms having modules -->
|
||||||
|
<id>aggregate</id>
|
||||||
|
<inherited>false</inherited> <!-- don't run aggregate in child modules -->
|
||||||
|
<reports>
|
||||||
|
<report>aggregate-pmd</report>
|
||||||
|
<report>aggregate-cpd</report>
|
||||||
|
</reports>
|
||||||
|
</reportSet>
|
||||||
|
</reportSets>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</reporting>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue