Generated Descriptors are wrong after Eclipse Project Clean
-----------------------------------------------------------
Key: MRM-995
URL: http://jira.codehaus.org/browse/MRM-995
Project: Archiva
Issue Type: Improvement
Components: build
Affects Versions: 1.1.3
Environment: Rational Application Developer 7.5
Reporter: Steffen Grunwald
Priority: Minor
Attachments: fix_phases.patch
I'm trying to run archiva from within RAD.
For this I checkout the whole archiva sources from the repository and run mvn
install. After running the eclipse goal (wtpversion=1.5), everything is setup
fine for development with RAD/Eclipse
I got problems regarding the merge of components-fragment.xml and the derived
resource components.xml (happing in e.g. archiva-policies).
After a project clean or a change in the generated components xml, the
automatic eclipse build overwrites the merged file, which only exists in the
target/classes folder. This results in error messages like: url-failures-cache
bean cannot be found.
I wonder why the descriptor goals do not run in the generate-resources phase
and generate their output first to target/generated-resources, making later
phases take care of the processing and packaging.
The suggested patch:
- changes the phases for the descriptor and merge-descriptors goals
- outputs the merged result to
generated-resources/plexus/META-INF/plexus/components.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira