[
http://jira.codehaus.org/browse/MOJO-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated MOJO-625:
---------------------------------
Component/s: jboss-packaging-maven-plugin
> jboss-packaging plugin does not include ejb-client jars
> -------------------------------------------------------
>
> Key: MOJO-625
> URL: http://jira.codehaus.org/browse/MOJO-625
> Project: Mojo
> Issue Type: Bug
> Components: jboss-packaging-maven-plugin
> Environment: jboss-packaging-maven-plugin (rev. 2227)
> Reporter: René Link
>
> It should be able to include ejb-client jars into a sar.
> If i specify a dependency to an ejb-client jar it will not be included in the
> sar.
> <dependency>
> <groupId>some.group</groupId>
> <artifactId>some.artifact</artifactId>
> <type>ejb-client</type>
> </dependency>
> I have checked out the jboss-packaging-maven-plugin at revision 2227.
> The buildExplodedPackaging method of the AbstractPackagingMojo class defines
> which
> dependencies are included.
> Here is a patch that will solve the dependency inclusion problem with
> ejb-client jars.
> @@ -270,7 +270,7 @@
> String type = artifact.getType();
> String descriptor = artifact.getGroupId() + ":" +
> artifact.getArtifactId();
> FileUtils.copyFileToDirectory( artifact.getFile(),
> lib
> - if ( "jar".equals( type ) && ! excludes.contains(
> descriptor ) )
> + if ( ("jar".equals( type ) || "ejb-client".equals(type))
> && ! excludes.contains( descriptor ) )
> {String type = artifact.getType();
> getLog().info( " o " + descriptor );" +
> artifact
> FileUtils.copyFileToDirectory( artifact.getFile(),
> libDirectory );
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email