maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Scheffler <>
Subject property expansion in pom.xml of archetype
Date Wed, 13 Feb 2013 14:27:17 GMT

I created my first archetype. In archetype-metadata.xml I specified

    <requiredProperty key="mylib.version" />

When creating a project I want ${mylib.version} in the prototype pom.xml
to be expanded to the specified value:


On the command line I see the correct value but it is not used for
pom.xml. Just ${artifactId}, ${groupId} and ${version} seem to get expanded.

How can I achieve this without releasing a new archetype with every
version of mylib?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message