You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nicolas de loof <ni...@apache.org> on 2008/12/01 11:35:57 UTC

Re: how to use plexus-maven-plugin to both generate and merge descriptor ?

Thanks !


2008/11/28 Jason van Zyl <jv...@sonatype.com>

> Nicolas,
>
> You can see an example here:
>
> http://svn.sonatype.org/nexus/trunk/nexus-parent/pom.xml
>
> The new plexus-component-metadata plugin will automatically handle:
> - generating components.xml from annotations
> - generation components.xml from javadoc
> - merging generated descriptors with static descriptors
> (src/main/resources/META-INF/plexus/components.xml with the generated ones)
> - everything lands in target/classes/META-INF/plexus/components.xml
>
> As long as you use standard locations you should be fine.
>
>
> On 28-Nov-08, at 7:30 AM, nicolas de loof wrote:
>
>  Hi
>> according to plexus doc, the plexus-maven-plugin has a merge goal
>> (process-resources phase) and an descriptor goal (process-classes phase)
>>
>> Based on declared phases, It seems not possible to merge with the
>> generated
>> descriptor, is it ?
>> Why does descriptor set process-classes phase and not generate-resources
>> ??)
>>
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> jason at sonatype dot com
> ----------------------------------------------------------
>
> happiness is like a butterfly: the more you chase it, the more it will
> elude you, but if you turn your attention to other things, it will come
> and sit softly on your shoulder ...
>
>  -- Thoreau
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>