I've created archetypes for different project types and am looking for a method of creating a new project without having to type in all the extra arguments (as in):
archetype:create -DartifactId=user-guide -DgroupId=com.mergere.mvnbook.proficio -DarchetypeArtifactId=maven-archetype-site-simple Clearly I could use a batch job/shell script to avoid the arguments, but I'd like to make it easy for all our developers to do this without having to distribute a set of scripts. The initial thought is to create a plugin that feeds parameters to the archetype plugin. Using this mythical plugin, creating a web project could be done by typing something like: mvn myplugin:new-web myWebProject Has anyone done something like this? If so, how do you call a plugin from another plugin. I noticed Maven 1 had a 'caller' plugin but one page said this wasn't needed in Maven 2. Any suggestions? Thanks in advance! Scott