Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/spotbugs-example

spotbugs maven/gradle simple configuration example...
https://github.com/daggerok/spotbugs-example

gradle maven spotbugs spotbugs-plugin

Last synced: about 22 hours ago
JSON representation

spotbugs maven/gradle simple configuration example...

Awesome Lists containing this project

README

        

= spotbugs-example image:https://travis-ci.org/daggerok/spotbugs-example.svg?branch=master["Build Status", link="https://travis-ci.org/daggerok/spotbugs-example"]

//tag::content[]
.maven
[source,bash]
----
./mvnw spotbugs:help -Ddetail=true
./mvnw spotbugs:check -Ddetail=true
./mvnw spotbugs:gui
./mvnw spotbugs:spotbugs
----

.gradle
[source,bash]
----
./gradlew check
./gradlew spotbugsMain
./gradlew spotbugsTest
----

.create spotbugs maven project archetype (windows)
[source,cmd]
----
mvn archetype:generate^
-DarchetypeArtifactId=spotbugs-archetype^
-DarchetypeGroupId=com.github.spotbugs^
-DarchetypeVersion=0.2.2^
-DgroupId=com.github.daggerok^
-DartifactId=spotbugs-example^
-Dversion=1.0.0-SNAPSHOT^
-Dpackage=com.github.daggerok^
-B
----

.create spotbugs maven project archetype (unix)
[source,bash]
----
mvn archetype:generate \
-DarchetypeArtifactId=spotbugs-archetype \
-DarchetypeGroupId=com.github.spotbugs \
-DarchetypeVersion=0.2.2 \
-DgroupId=com.github.daggerok \
-DartifactId=spotbugs-example \
-Dversion=1.0.0-SNAPSHOT \
-Dpackage=com.github.daggerok \
-B # non interactive mode
----

generated by link:https://github.com/daggerok/generator-jvm/[generator-jvm] yeoman generator (java)
//end::content[]