[ 
https://jira.codehaus.org/browse/MWAR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MWAR-267.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Olivier Lamy

fixed http://svn.apache.org/r1498100
                
> 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
>            Assignee: Olivier Lamy
>             Fix For: 2.4
>
>
> 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