maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Brautaset Aronsen (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-362) Not able to include ejb-client artifact in jar-with-dependencies
Date Thu, 12 Feb 2009 08:48:19 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165221#action_165221
] 

Henrik Brautaset Aronsen commented on MASSEMBLY-362:
----------------------------------------------------

Maybe using [maven-shade-plugin|http://maven.apache.org/plugins/maven-shade-plugin/] instead
of the assembly plugin will solve it?  I haven't had time to test it yet.



> 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
>
> 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

        

Mime
View raw message