jQAssistant Maven Archetype

jQAssistant Maven Archetype

Keine Kommentare zu jQAssistant Maven Archetype

Would you like to setup a new Maven project which shall use jQAssistant? There’s now a Maven archetype available which makes this really easy:

mvn archetype:generate \
  -DarchetypeGroupId=com.buschmais.jqassistant.archetype \
  -DarchetypeArtifactId=jqassistant.archetype.project \
  -DarchetypeVersion=1.0.1 \ 
  -DgroupId=com.example \
  -DartifactId=project \
  -Dversion=1.0.0-SNAPSHOT

The only thing you need to choose are appropriate values for the parameters „groupId“, „artifactId“ and „version“. By executing the command a single module Maven project will be created which contains a jQAssistant plugin configuration in the file pom.xml and an example rule setup for JUnit 4.

The source for the archetype is available from GitHub. The idea ist to extend it step by step to also provide archetypes for creating jQAssistant plugins (e.g. scanners, rules and reports).

About the author:

@dirkmahler

Leave a comment

Back to Top