Your type should be uberwar (it needs to match the role-hint, as
stated in the docs).

- Brett

On 11/18/05, Nigel Magnay <[EMAIL PROTECTED]> 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]
>
>

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

Reply via email to