Hi all,

I've been trying to define a Maven Archetype which would contain properties
`package` and `version` with default values:

Inside archetype-metadata.xml, I included the following:

<requiredProperty key="package">
<defaultValue>${groupId}</defaultValue>
</requiredProperty>

<requiredProperty key="version">
<defaultValue>1.0-SNAPSHOT</defaultValue>
</requiredProperty>

Despite this configuration, the generation fails:

[ERROR] Archetype IT 'basic' failed: Missing required properties in
archetype.properties: package, version

Any clue?


Bruno Borges
[image: https://]brunoborges.io
<https://brunoborges.io?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=plaintext>

Reply via email to