You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andre Dantas Rocha <an...@uol.com.br> on 2008/10/07 22:19:37 UTC
Using custom properties in archetypes
Hi all,
Is that possible to use custom properties during the archetype creation?
My pom.xml has the structure below and I'm typing mvn archetype:generate
-DarchetypeArtifactId=myArchetypeName -DsystemName=XXXX, but the
"systemName" property is ignored...
<project>
...
<properties>
<systemName>MySystem</systemName>
</properties>
...
<name>${systemName}</name>
...
</project>
How can I do this?
Thanks,
Andre