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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to