Most plugins don't need a manual component.xml like this. The dependency plugin has one to provide additional mappings for the unarchiver that were not at the time included in the unarchiver component itself.
-----Original Message----- From: 陈思淼 [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2008 9:13 PM To: Maven Users List Subject: Re: the meaning of component.xml? I find a document which have some detail description about the component.xml.http://www.sonatype.com/book/reference/public-b ook.htm l (the plugin chapter) thank you all the same. 2008/9/29 supareno <[EMAIL PROTECTED]> > you caould find some infos here: > http://maven.apache.org/plugins/maven-assembly-plugin/component.html > > I've read the source code of maven-dependency-plugin and there is a >> component.xml, >> I know this file is for pluxes container to locate load the plugin, can >> anybody tell me the detail meaning of component.xml, or give a document >> about the component.xml tags meaning, thanks! >> >> <component-set> >> <components> >> >> <!-- UnArchiver --> >> >> <component> >> >> <role>org.codehaus.plexus.archiver.UnArchiver</role> >> >> <role-hint>swc</role-hint> >> >> <!-- there is no implementaion of SWCUnArchiver, but ZipUnArchive will do >> the job --> >> >> >> <implementation>org.codehaus.plexus.archiver.zip.ZipUnArchiver</implementation> >> >> <instantiation-strategy>per-lookup</instantiation-strategy> >> >> </component> >> >> </components> >> >> </component-set> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
