Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.
Issue Links
- is duplicated by
-
ARCHETYPE-196
Default value like property 'version' at 2.0-alpha-3
-
Grégory,
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 value.
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)
Thanks,
Raphaël