DRY? Create a Maven plugin!

“Don’t Repeat Yourself” is a rule, but sometimes I don’t remember that (do I need a wallpaper?). Today I realized that I was spending lots of my time following guidelines of a client company (Vodafone Italy) about “how to package a release for the next Canvass”… and this happens whenever a release should be built.
Now it is the time to create something to automate this!
It’s time for a new Maven plugin!

I create the project with this command:

mvn archetype:create \
      -DgroupId=org.sonatype.mavenbook.plugins \
      -DartifactId=first-maven-plugin \
      -DarchetypeGroupId=org.apache.maven.archetypes \
      -DarchetypeArtifactId=maven-archetype-mojo

you can find the project on github at https://github.com/sixro/vodafonecanvassrelease-maven-plugin