[ 
https://jira.codehaus.org/browse/MWAR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=327680#comment-327680
 ] 

Olivier Lamy commented on MWAR-267:
-----------------------------------

depending on the type artifacts goes in different places (.xar goes to 
/WEB-INF/extensions, .tld goes to WEB-INF/tld etc...)

                
> Maven WAR plugin does not copy dependencies of type "bundle" into WEB-INF/lib
> -----------------------------------------------------------------------------
>
>                 Key: MWAR-267
>                 URL: https://jira.codehaus.org/browse/MWAR-267
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: Any
>            Reporter: Thomas Vandahl
>
> A WAR project has transitive dependencies of type "bundle" (mina-core, ...). 
> These dependencies do not end up in the WAR file structure under WEB-INF/lib 
> as they are supposed to.
> My guess would be the method ArtifactsPackagingTask.performPackaging(), where 
> only known types of dependencies are handled, AFAICS. Could the type "bundle" 
> be added there? Like:
> {code}
> else if ( "jar".equals( type ) || "ejb".equals( type ) || 
> "ejb-client".equals( type )
>     || "test-jar".equals( type ) || "bundle".equals( type ))
> {
>     copyFile( id, context, artifact.getFile(), LIB_PATH + targetFileName );
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to