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 2010/05/10 19:47:13 UTC

[jira] Moved: (MARCHETYPES-7) Should ask input for requiredProperty with defaultValue

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

Herve Boutemy moved ARCHETYPE-200 to MARCHETYPES-7:
---------------------------------------------------

    Component/s:     (was: Generator)
                     (was: Plugin)
            Key: MARCHETYPES-7  (was: ARCHETYPE-200)
        Project: Maven Archetype Bundles  (was: Maven Archetype)

> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>
>                 Key: MARCHETYPES-7
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-7
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>            Reporter: Grégory Joseph
>         Attachments: ARCHETYPE-200.patch
>
>
> It seems that if a requiredProperty is defined with a defaultValue, the generate mojo does not ask user input. In my opinion it should, just like it does it for the version.
> DefaultArchetypeFactory lines 156-168 seem to be the culprit and I'll attach a patch that might fix this.

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