maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Jean-Prost (JIRA)" <>
Subject [jira] Commented: (ARCHETYPE-308) Should ask input for requiredProperty with defaultValue
Date Wed, 01 Dec 2010 16:27:03 GMT


Dominique Jean-Prost commented on ARCHETYPE-308:


Although the package variable is required and has a default value (the groupId value), there
is a prompt for it in the genration process.
So to my mind, following the same reasoning should implement a fix for this bug.

> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>                 Key: ARCHETYPE-308
>                 URL:
>             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.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message