mirror of https://github.com/apache/archiva.git
make report 3.0 style
upgrade several plugin version: pmd,findbugs,jxr remove cobertura and try jacoco git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1377135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
03633b288c
commit
fd8ee555d9
|
@ -36,11 +36,56 @@
|
|||
<module>metadata</module>
|
||||
<module>plugins</module>
|
||||
</modules>
|
||||
|
||||
<reporting>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- No need for the standard project reports -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.5.9.201207300726</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>3.1</version>
|
||||
<configuration>
|
||||
<reportPlugins>
|
||||
<!-- jxr first -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<aggregate>true</aggregate>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<configuration>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<configLocation>config/maven_checks.xml</configLocation>
|
||||
<reportSets>
|
||||
<report>checkstyle</report>
|
||||
</reportSets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<!-- No need for the standard project reports -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
|
@ -52,52 +97,32 @@
|
|||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<!-- Disabled - not working
|
||||
<!-- cobertura Disabled - not working try jacoco-->
|
||||
<!-- cobertura not working wll with jdk7 -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.5.9.201207300726</version>
|
||||
</plugin>
|
||||
-->
|
||||
<!-- Disabled - not currently being used to correct errors
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>2.1</version>
|
||||
<configuration>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<configLocation>config/maven_checks.xml</configLocation>
|
||||
<!- - TODO: enable when archiva-build-resources is active (released?)
|
||||
<configLocation>checkstyle.xml</configLocation>
|
||||
<headerLocation>header.txt</headerLocation>
|
||||
- ->
|
||||
</configuration>
|
||||
</plugin>
|
||||
-->
|
||||
<!-- TODO: OOME
|
||||
<!-- -->
|
||||
<!-- TODO: OOME 1.1.1 check newer version-->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>1.1.1</version>
|
||||
<version>2.5.2</version>
|
||||
</plugin>
|
||||
-->
|
||||
|
||||
|
||||
<!-- -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>taglist-maven-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
<version>2.2</version>
|
||||
<configuration>
|
||||
<aggregate>true</aggregate>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.8</version>
|
||||
<version>2.8.1</version>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<useStandardDocletOptions>true</useStandardDocletOptions>
|
||||
|
@ -144,25 +169,30 @@
|
|||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<inherited>false</inherited>
|
||||
<!-- <inherited>false</inherited> skygo failing-->
|
||||
</plugin>
|
||||
<!-- TODO: choose appropriate rulesets
|
||||
|
||||
<!-- TODO: choose appropriate rulesets -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>2.7.1</version>
|
||||
<configuration>
|
||||
<targetJdk>1.5</targetJdk>
|
||||
</configuration>
|
||||
</plugin>
|
||||
-->
|
||||
<!-- -->
|
||||
<!-- Not being checked
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
-->
|
||||
</reportPlugins>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</build>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
|
|
Loading…
Reference in New Issue