Roland Asmann created ARCHETYPE-523:
---------------------------------------
Summary: Failing call to archetype:generate doesn't fail calling
build
Key: ARCHETYPE-523
URL: https://issues.apache.org/jira/browse/ARCHETYPE-523
Project: Maven Archetype
Issue Type: Bug
Components: Plugin
Affects Versions: 2.4
Reporter: Roland Asmann
At work, we have created an Archetype for a non-project artefact that we want
to setup during the build of another project (for integration testing).
So, during the Phase 'generate-test-resources', we have configured the
archetype-plugin to run the generate-goal. If the Archetype can be generated
without problems, all is fine. However, if the archetype can't be build (for
whatever reason), the plugin fails and cancels generating the archetype, but
this does not fail the build of the project I was actually building, leading to
(incorrect) failures during testing.
Shouldn't the failing of the plugin automatically trigger failing of the
Project that was being built? If not, would it be possible to add a parameter
for this behavior?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)