You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gregory Amerson (JIRA)" <ji...@codehaus.org> on 2014/05/20 11:19:11 UTC

[jira] (ARCHETYPE-308) Should ask input for requiredProperty with defaultValue

    [ https://jira.codehaus.org/browse/ARCHETYPE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=346753#comment-346753 ] 

Gregory Amerson commented on ARCHETYPE-308:
-------------------------------------------

Ping?

> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>
>                 Key: ARCHETYPE-308
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-308
>             Project: Maven Archetype
>          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 was sent by Atlassian JIRA
(v6.1.6#6162)