maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni (JIRA) <j...@codehaus.org>
Subject [jira] Closed: (ARCHETYPE-192) Property replacement for required properties
Date Fri, 14 Nov 2008 17:36:15 GMT

     [ http://jira.codehaus.org/browse/ARCHETYPE-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raphaël Piéroni closed ARCHETYPE-192.
-------------------------------------

    Resolution: Fixed

Fixed with revision 713809 and 714078.
This is only available for hand created archetypes.

Benjamin, please create another issue for your specific problem.

> 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

       

Mime
View raw message