You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by hamdard <hs...@tiscali.co.uk> on 2006/08/28 15:54:36 UTC
[M2] How to include transitive dependencies with Assembly plugin
Hi
Is there a way to package the transitive dependencies of my dependency
'com.mycompany.ixgf:gw-dao', below?
Thx
<assembly>
<id>pkg</id>
<formats>
<format>zip</format>
</formats>
<!-- To include dependencies to the jar -->
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<includes>
<include>com.mycompany.ixgf:gw-dao</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
--
View this message in context: http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453.html#a6020485
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] How to include transitive dependencies with Assembly plugin
Posted by Barrie Treloar <ba...@gmail.com>.
See http://www.nabble.com/forum/ViewPost.jtp?post=5496323&framed=y
A dependencySet copies ALL dependencies.
So if you get rid of your include statement you will get them all by default.
On 8/28/06, hamdard <hs...@tiscali.co.uk> wrote:
>
> Hi
>
> Is there a way to package the transitive dependencies of my dependency
> 'com.mycompany.ixgf:gw-dao', below?
>
> Thx
>
> <assembly>
> <id>pkg</id>
> <formats>
> <format>zip</format>
> </formats>
>
> <!-- To include dependencies to the jar -->
> <dependencySets>
> <dependencySet>
> <outputDirectory>lib</outputDirectory>
>
> <includes>
> <include>com.mycompany.ixgf:gw-dao</include>
> </includes>
> </dependencySet>
> </dependencySets>
> </assembly>
> --
> View this message in context: http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453.html#a6020485
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org