You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Gängel (JIRA)" <ji...@apache.org> on 2019/02/22 11:29:00 UTC
[jira] [Commented] (ARCHETYPE-308) Should ask input for
requiredProperty with defaultValue
[ https://issues.apache.org/jira/browse/ARCHETYPE-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775047#comment-16775047 ]
Alexander Gängel commented on ARCHETYPE-308:
--------------------------------------------
ping
> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>
> Key: ARCHETYPE-308
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-308
> Project: Maven Archetype
> Issue Type: Bug
> Reporter: Grégory Joseph
> Priority: Major
> 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
(v7.6.3#76005)