Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.2.1
-
None
-
None
-
None
Description
Given an archetype descriptor with:
<requiredProperties>
<requiredProperty key="example-prop">
<defaultValue>Hi</defaultValue>
</requiredProperty>
</requiredProperties>
when you run `mvn verify` to run the integration test, it fails with:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:integration-test (default-integration-test) on project demo: [ERROR] Archetype IT 'it1' failed: Missing required properties in archetype.properties: example-prop [ERROR] -> [Help 1] [ERROR]
Only after adding the property to the archetype.properties with a value, it will continue to run the test.
It would be nice if the default values were inserted instead, unless specified otherwise.
Attachments
Attachments
Issue Links
- duplicates
-
ARCHETYPE-574 Integration testing ignores default values
- Closed