From 381771d1f8ff668418e57d4a026e88a0574f5db0 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Fri, 12 Jun 2015 01:29:55 -0400 Subject: [PATCH] Added various reporting features to the pom. --- pom.xml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/pom.xml b/pom.xml index 7d7b97c..d9696e9 100644 --- a/pom.xml +++ b/pom.xml @@ -127,6 +127,32 @@ <target>1.6</target> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.3</version> + <configuration> + <!-- This is temporary until we get the javadocs to compile --> + <sourcepath>src/main/java/</sourcepath> + <show>public</show> + </configuration> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.18.1</version> + <configuration> + <argLine>-enableassertions</argLine> + </configuration> + </plugin> <plugin> <groupId>com.mycila.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> @@ -173,6 +199,16 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.7</version> + <configuration> + <formats> + <format>xml</format> + </formats> + </configuration> + </plugin> </plugins> </build> @@ -206,4 +242,30 @@ </dependency> </dependencies> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <version>2.5</version> + <configuration> + <linkJavadoc>true</linkJavadoc> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.3</version> + <configuration> + <excludePackageNames>*.xml</excludePackageNames> + <failOnError>false</failOnError> + </configuration> + </plugin> + </plugins> + </reporting> + </project> -- GitLab