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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to