[
https://jira.codehaus.org/browse/ARCHETYPE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282059#comment-282059
]
vychtrle commented on ARCHETYPE-308:
------------------------------------
Ou my, I would so love to see this fixed... Doesn't make sense like this... It
asks you first for artifactId, groupId, version and packaging.... then you have
to say N to have a chance to change the custom properties from default values,
BUT it asks you again for artifactId, groupId, version and packaging ... and
then the properties finally ...
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira