Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0-alpha-5
-
None
-
None
Description
In our archetype-metadata.xml we´ve defined a <requiredProperty> with a default value like this:
<requiredProperty key="subArtifactId"> <defaultValue>${artifactId}.itest1</defaultValue> </requiredProperty>
When we call "archetype:generate" and enter the parameters in interactive mode everything works fine. But when we try to set the parameter "subArtifactId" on the command line (mvn archetype:generate -DsubArtifactId=xyz) or from an "archetype.properties" file, the value is ignored. In the generated pom.xml the variable ${subArtifactId} is always replaced with "${artifactId}.itest1".
Attachments
Attachments
Issue Links
- relates to
-
ARCHETYPE-247 Maven properties are not filtered correctly
- Closed
-
ARCHETYPE-255 custom variable filtered in created resources
- Closed