diff options
author | Brett Porter <brett@apache.org> | 2008-03-29 10:12:41 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2008-03-29 10:12:41 +0000 |
commit | d9c7f7f5299532d3c9d753b3e904fc1c4918f094 (patch) | |
tree | 723f0f4f691008e628357efbad9d891464b7661e /archiva-modules/pom.xml | |
parent | a05f42cc0ec53b094ddd64661579374792a55231 (diff) | |
download | archiva-d9c7f7f5299532d3c9d753b3e904fc1c4918f094.tar.gz archiva-d9c7f7f5299532d3c9d753b3e904fc1c4918f094.zip |
arrange plugin declarations to minimise need to release parent while maximising reuse. Move all reporting and Java configuration into modules section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642524 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/pom.xml')
-rw-r--r-- | archiva-modules/pom.xml | 189 |
1 files changed, 189 insertions, 0 deletions
diff --git a/archiva-modules/pom.xml b/archiva-modules/pom.xml index 1ae0b1d69..d62cad0ad 100644 --- a/archiva-modules/pom.xml +++ b/archiva-modules/pom.xml @@ -36,4 +36,193 @@ <module>archiva-scheduled</module> <module>archiva-web</module> </modules> + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.2</version> + </plugin> + <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 + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>1.1.1</version> + </plugin> +--> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>changelog-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <aggregate>true</aggregate> + </configuration> + </plugin> + <plugin> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.4.2</version> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.4</version> + <configuration> + <source>1.5</source> + <aggregate>true</aggregate> + <doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet> + <docletArtifact> + <groupId>gr.spinellis</groupId> + <artifactId>UmlGraph</artifactId> + <version>4.6</version> + </docletArtifact> + <additionalparam> + -inferrel -inferdep -quiet -hide java.* + -collpackages java.util.* -qualify + -postfixpackage -nodefontsize 9 + -nodefontpackagesize 7 + </additionalparam> + <links> + <link>http://java.sun.com/j2se/1.4.2/docs/api</link> + <link>http://java.sun.com/j2ee/1.4/docs/api</link> + <link>http://java.sun.com/j2se/1.5.0/docs/api</link> + <link>http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/</link> + <link>http://commons.apache.org/dbcp/apidocs/</link> + <link>http://commons.apache.org/fileupload/apidocs/</link> + <link>http://commons.apache.org/httpclient/apidocs/</link> + <link>http://commons.apache.org/logging/apidocs/</link> + <link>http://commons.apache.org/pool/apidocs/</link> + <link>http://junit.sourceforge.net/javadoc/</link> + <link>http://logging.apache.org/log4j/1.2/apidocs/</link> + <link>http://jakarta.apache.org/regexp/apidocs/</link> + <link>http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/</link> + </links> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <!-- TODO: choose appropriate rulesets --> + <configuration> + <targetJdk>1.5</targetJdk> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>clirr-maven-plugin</artifactId> + </plugin> + </plugins> + </reporting> + <profiles> + <profile> + <id>ci</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <executions> + <execution> + <goals> + <!-- TODO: after rules are set + <goal>check</goal> + --> + <goal>cpd-check</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <goals> + <!-- TODO: reformat first, and correct the checks (some are not consistent with the Maven style) + <goal>check</goal> + --> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.2</version> + <configuration> + <check> + <!-- TODO: raise to 85/100 --> + <totalLineRate>77</totalLineRate> + <totalBranchRate>95</totalBranchRate> + </check> + <instrumentation> + <excludes> + <exclude>**/*$*</exclude> + </excludes> + </instrumentation> + </configuration> + <executions> + <execution> + <id>clean</id> + <goals> + <goal>clean</goal> + </goals> + </execution> + <execution> + <id>check</id> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> + <distributionManagement> + <site> + <id>apache.website</id> + <url>${siteBaseDeployment}/ref/${project.version}</url> + </site> + </distributionManagement> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <version>1.0-alpha-15</version> + </plugin> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-maven-plugin</artifactId> + <version>1.3.5</version> + <executions> + <execution> + <id>generate</id> + <goals> + <goal>descriptor</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> |