[ https://jira.codehaus.org/browse/MWAR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MWAR-267: ------------------------------ Description: 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} was: 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: 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 ); } > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira