Created
November 24, 2016 17:41
-
-
Save wadoon/436939b3c47ce4ab9e382ef39b38d26d to your computer and use it in GitHub Desktop.
Maven Snippets
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
https://maven.apache.org/plugins/maven-checkstyle-plugin/ | |
<project> | |
... | |
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-checkstyle-plugin</artifactId> | |
<version>2.17</version> | |
<reportSets> | |
<reportSet> | |
<reports> | |
<report>checkstyle</report> | |
</reports> | |
</reportSet> | |
</reportSets> | |
</plugin> | |
</plugins> | |
</reporting> | |
... | |
</project |
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
mvn site # for everything | |
mvn checkstyle:checkstyle |
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
http://gleclaire.github.io/findbugs-maven-plugin/usage.html | |
<project> | |
... | |
<reporting> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>findbugs-maven-plugin</artifactId> | |
<version>3.0.5-SNAPSHOT</version> | |
</plugin> | |
</plugins> | |
</reporting> | |
... | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment