You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nitko2 <ni...@gmail.com> on 2005/11/03 16:28:58 UTC
[m2]Archetype variables
Hi!
Is it possible to include variables in archetype pom.xml template?
I created pom.xml which includes this part:
<configuration>
<variable1>${variable1}</variable1>
</configuration>
and I tried to fill it with -D like this
mvn archetype:create
-DarchetypeGroupId=my-plugins
-DarchetypeArtifactId=my-simple-archetype
-DarchetypeVersion=1.0
-DgroupId=mygroupid
-DartifactId=myartifactId
-Dvariable1=variable1Value
but I get the message that variable1 is not a valid message.
Thanks,
Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org