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

Grégory Joseph commented on ARCHETYPE-200:
------------------------------------------

I actually see value for all 3 cases ("fixed value" (ie the current "default"), 
"input with default" and "input"), while I find the idea of having to first 
fill in values, and then *not* confirm it to be able to change the defaults 
counter-intuitive.

Cheers,

-greg

> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>
>                 Key: ARCHETYPE-200
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-200
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator, Plugin
>            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


Reply via email to