[ http://jira.codehaus.org/browse/MASSEMBLY-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-362. -------------------------------- Resolution: Won't Fix Fix Version/s: 2.2-beta-6 Assignee: John Casey jar-with-dependencies is not meant to address all use cases. it is merely provided to consolidate a simple project and its simple jar dependencies. Including all dependencies of all types and classifiers is not appropriate for this simple use case. I suggest you create a customized variant of the jar-with-dependencies assembly descriptor to include your ejb-client dependencies alongside the other jar deps. To build a reusable, customized assembly descriptor, see: http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html > Not able to include ejb-client artifact in jar-with-dependencies > ---------------------------------------------------------------- > > Key: MASSEMBLY-362 > URL: http://jira.codehaus.org/browse/MASSEMBLY-362 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-2 > Reporter: Henrik Brautaset Aronsen > Assignee: John Casey > Fix For: 2.2-beta-6 > > > The assembly:assembly target with jar-with-dependencies does not include my > ejb-client dependency. The jar dependencies are included. I've tried > specifiying my own assembly.xml, but the artifact isn't included nonetheless: > assembly.xml: > {code}<includes> > <include>mygroup:myartifact-ejb</include> > </includes> > {code} > pom.xml: > {code}<dependency> > <groupId>mygroup</groupId> > <artifactId>myartifact-ejb</artifactId> > <type>ejb-client</type> > </dependency> > {code} > I've also tried {{mygroup:myartifact-ejb:*}}, > {{mygroup:myartifact-ejb:ejb-client}} and a couple of other combinations. > Maven still complains: > {code}[WARNING] The following patterns were never triggered in this artifact > inclusion filter: > o 'mygroup:myartifact-ejb' > {code} -- 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