You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "James William Dumay (JIRA)" <ji...@codehaus.org> on 2009/02/11 00:45:19 UTC

[jira] Closed: (MRM-995) Generated Descriptors are wrong after Eclipse Project Clean

     [ http://jira.codehaus.org/browse/MRM-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay closed MRM-995.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.2-M2

committed in r743169.

Thanks heaps for the patch Steffen!

> 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
>            Assignee: James William Dumay
>            Priority: Minor
>             Fix For: 1.2-M2
>
>         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