You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/08/20 01:25:32 UTC

[jira] Closed: (ARCHETYPE-332) required property keys cannot have '.' in the name

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

Herve Boutemy closed ARCHETYPE-332.
-----------------------------------

    Resolution: Fixed
      Assignee: Herve Boutemy

done in [r1159816|http://svn.apache.org/viewvc?rev=1159816&view=rev]

> required property keys cannot have '.' in the name
> --------------------------------------------------
>
>                 Key: ARCHETYPE-332
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-332
>             Project: Maven Archetype
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-5
>            Reporter: Karl Palsson
>            Assignee: Herve Boutemy
>            Priority: Minor
>             Fix For: 2.1
>
>
> Having the following in my archetype-metadata.xml:
> {code}
>         <requiredProperty key="kversion_spring">
>             <defaultValue>3.0.3.RELEASE</defaultValue>
>         </requiredProperty>
> {code}
> and the following in my archetype-resources/pom.xml
> {code}
>     <properties>
>         <version.spring>${kversion_spring}</version.spring>
>     </properties>
> {code}
> generates code as expected (below), however, if the key is "kversion.spring" then the property is not expanded.
> {code}
>     <properties>
>         <version.spring>3.0.3.RELEASE</version.spring>
>     </properties>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira