[
https://jira.codehaus.org/browse/MRM-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter closed MRM-995.
----------------------------
Resolution: Fixed
Fix Version/s: (was: Backlog)
1.4-M1
should no longer be an issue
> Generated Descriptors are wrong after Eclipse Project Clean
> -----------------------------------------------------------
>
> Key: MRM-995
> URL: https://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
> Assignee: James William Dumay
> Priority: Minor
> Fix For: 1.4-M1
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira