-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You're defining this components.xml in a plugin, right? Do you have
<extensions>true</extensions> defined in the plugin reference within
your plugin-user POM? If not, it will use a default artifact handler
that has the same type as your packaging, and the same extension as your
packaging...

- -j

Nigel Magnay wrote:
| Hello - I have been trying to follow the configuration for
| ArtifactHandlers - I have  in my components.xml
|
| <component>
|       <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
|       <role-hint>uberwar</role-hint>
|
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
|       <configuration>
|         <extension>war</extension>
|         <type>war</type>
|         <packaging>war</packaging>
|         <language>java</language>
|         <addedToClasspath>false</addedToClasspath>
|       </configuration>
|     </component>
|
| But, looking at DefaultArtifactHandler, the configuration never seems
| to be used as there are only private member variables, and extension
| defaults to be the same as the type, which will always be 'uberwar' (I
| want it to be war).
|
| Am I missing something? Or is the intention to create your own subtype
| of ArtifactHandler rather than using the Default (is the configuration
| not implemented?)
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDfLJpK3h2CZwO/4URAnfNAKCuOex6mF2oS8mp9O3lsGfbV7kSSQCdGype
Fpjllnt2C0Pd8ju0fnu4+24=
=LdHb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to