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

Thomas Vandahl commented on MWAR-267:
-------------------------------------

I thought this was too much to ask...

This is actually a potential (and in our case substantial) reason for serious 
headache. Would some developer please care to comment.
                
> 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: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to