[
http://jira.codehaus.org/browse/ARCHETYPE-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206953#action_206953
]
Torben Knerr commented on ARCHETYPE-192:
----------------------------------------
When will 2.0-alpha-5 be deployed to repo1.maven.org? I have seen it is already
tagged in svn, so I guess it is already released, right?
> Property replacement for required properties
> --------------------------------------------
>
> Key: ARCHETYPE-192
> URL: http://jira.codehaus.org/browse/ARCHETYPE-192
> Project: Maven Archetype
> Issue Type: Improvement
> Affects Versions: 2.0-alpha-3
> Reporter: Will Gomes
> Fix For: 2.0-alpha-5
>
>
> It would be nice if one could define default values for required properties
> using other required properties.
> For example:
> <requiredProperties>
> <requiredProperty key="myModule" />
> <requiredProperty key="myApp" />
> <requiredProperty key="package">
> <defaultValue>org.foo.bar.${myModule}.${myApp}</defaultValue>
> </requiredProperty>
> </requiredProperties>
> having resources
> src/main/java
> dao/MyDao.java
> Main.java
> would produce
> org.foo.bar.mymodule.myapp.dao.MyDao.java
> org.foo.bar.mymodule.myapp.Main.java
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira