Is there a way to include additional system properties on the command
line when running an archetype:create?  We have an archetype that would
need to include a (configurable) dependency.  What we'd like to do is
something like the following:

 

mvn archetype:create -DarchetypeGroupId=... -DdependencyArtifactId=foo

 

If we do this, is there a way to reference 'dependecyArtifcactId' in the
archetype-resources pom (something like ${dependecyArtifactId})?

 

Thanks in advance

Reply via email to