maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni (JIRA) <>
Subject [jira] Commented: (ARCHETYPE-200) Should ask input for requiredProperty with defaultValue
Date Fri, 05 Sep 2008 20:39:48 GMT


Raphaël Piéroni commented on ARCHETYPE-200:


with generate goal, the first time, no default value is asked for.
when you answer N to confirmation, then then any property is asked for, proposing a default

If you are really interrested in this feature, please know that some people expressed their
desire in the properties being defaulted without any question.
So if you really want, it, please consider asking for a poll on that subject on user (cross
posting to dev)



> Should ask input for requiredProperty with defaultValue
> -------------------------------------------------------
>                 Key: ARCHETYPE-200
>                 URL:
>             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:
For more information on JIRA, see:


View raw message