maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Mahler (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (ARCHETYPE-255) custom variable filtered in created resources
Date Wed, 16 Mar 2011 09:40:22 GMT

    [ http://jira.codehaus.org/browse/ARCHETYPE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260375#action_260375
] 

Björn Mahler commented on ARCHETYPE-255:
----------------------------------------

it's allready there? look for <requiredProperties> in metadata.. or am i missing something?

> custom variable filtered in created resources
> ---------------------------------------------
>
>                 Key: ARCHETYPE-255
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-255
>             Project: Maven Archetype
>          Issue Type: Wish
>          Components: Creator, Generator
>         Environment: Any
>            Reporter: Lorand Somogyi
>
> It would be nice to be able to define a custom variable that would be filtered for created
resources just like artifactId or gourpId. 
> Example
> ------------
> Command line: mvn archetype:create ... -DartifactId=my-foo -DmyVar=myValue
> Usage, in archetype-resources pom for example:
> <scm>
>   <developersConnection>https://example.com/foo/${myVar}/${artifactId}/trunk
> Which would translate to:
> <scm>
>   <developersConnection>https://example.com/foo/myValue/my-foo/trunk

-- 
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