You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mike Youngstrom (JIRA)" <ji...@codehaus.org> on 2008/02/26 01:44:28 UTC

[jira] Created: (ARCHETYPE-138) When create-from-project if existing variable is found escape the variable

When create-from-project if existing variable is found escape the variable
--------------------------------------------------------------------------

                 Key: ARCHETYPE-138
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-138
             Project: Maven Archetype
          Issue Type: Improvement
          Components: Creator
    Affects Versions: 2.0-alpha-2
            Reporter: Mike Youngstrom


If i have a file in my project that has a maven filter variable such as ${groupId}.  When I do a archetype:create-from-project on that project and the archetype plugin detects a conflict between it's variables and this variable then the archetype plugin should escape that variable "\$${groupId}" instead of ignoring it.

If you don't think this would be a good general rule then perhaps it can at least be an option?

Mike

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

        

[jira] Closed: (ARCHETYPE-138) When create-from-project if existing variable is found escape the variable

Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/ARCHETYPE-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-4

fixed since revision 670722

> When create-from-project if existing variable is found escape the variable
> --------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-138
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-138
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Creator
>    Affects Versions: 2.0-alpha-2
>            Reporter: Mike Youngstrom
>             Fix For: 2.0-alpha-4
>
>
> If i have a file in my project that has a maven filter variable such as ${groupId}.  When I do a archetype:create-from-project on that project and the archetype plugin detects a conflict between it's variables and this variable then the archetype plugin should escape that variable "\$${groupId}" instead of ignoring it.
> If you don't think this would be a good general rule then perhaps it can at least be an option?
> Mike

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