Last active
December 18, 2017 10:15
-
-
Save zeljic/886f87443bf6de6b0a0e3623b6028144 to your computer and use it in GitHub Desktop.
Enable Maven Reporting / PMD and FindBugs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-pmd-plugin</artifactId> | |
<version>3.7</version> | |
<configuration> | |
<sourceEncoding>utf-8</sourceEncoding> | |
<language>java</language> | |
<verbose>true</verbose> | |
<targetJdk>1.8</targetJdk> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jxr-plugin</artifactId> | |
<version>2.5</version> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>findbugs-maven-plugin</artifactId> | |
<version>3.0.4</version> | |
</plugin> | |
</plugins> | |
</reporting> |
maven-jxr-plugin will add source to project documentation/reporting.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to call Maven Reporting?
$ mvn clean site
HTML pages will be created in target/site