You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by aldana <al...@gmx.de> on 2007/08/23 15:40:06 UTC
assembly plugin: transitive dependencies do not get included
hi,
i am using assembly plugin with standard descriptor jar-with-dependencies.
problem is that transitive dependencies do not get included.
pom.xml from project A:
...
<groupId>a</groupId>
<artifactId>a</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>tran</groupId>
<artifactId>dep</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
...
pom.xml from project B:
...
<groupId>b</groupId>
<artifactId>b</artifactId>
<version>1.0</version>
<build>
... enabling assembly-plugin with jar-with-dependencies...
</build>
<dependencies>
<dependency>
<groupId>a</groupId>
<artifactId>a</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
...
i am doing assembly:assembly on b:b. now tran:dep does not get included
though it is defined in a:a. that means: if i open the assembled jar-file
(from b:b) i cannot see any artifacts from tran:dep.
what is going wrong here? thought that default behaviour of
jar-with-dependencies includes everything as told in
http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453s177.html#a6020485?
i am using plugin in version 2.2-beta-1.
thanks for your help.
--
View this message in context: http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12293820
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: assembly plugin: transitive dependencies do not get included
Posted by aldana <al...@gmx.de>.
thought that this tweak makes pattern of include/exclude be imported to
transitive dependencies (see
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet).
never the less i tried it, but still same issue :(
Stephane Nicoll-2 wrote:
>
> <useTransitiveFiltering/> sorry.
>
> On 8/23/07, aldana <al...@gmx.de> wrote:
>>
>> where do i set option includeTransitiveDeps to true? cannot find it in
>> assembly descriptor schema.
>>
>>
>> Stephane Nicoll-2 wrote:
>> >
>> > Mmm. This might be a bug. Check that includeTransitiveDeps is set to
>> true.
>> >
>> > HTH,
>> > Stéphane
>> >
>> > On 8/23/07, aldana <al...@gmx.de> wrote:
>> >>
>> >> hi,
>> >>
>> >> i am using assembly plugin with standard descriptor
>> >> jar-with-dependencies.
>> >> problem is that transitive dependencies do not get included.
>> >>
>> >> pom.xml from project A:
>> >> ...
>> >> <groupId>a</groupId>
>> >> <artifactId>a</artifactId>
>> >> <version>1.0</version>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>tran</groupId>
>> >> <artifactId>dep</artifactId>
>> >> <version>1.0</version>
>> >> </dependency>
>> >> </dependencies>
>> >> ...
>> >>
>> >>
>> >> pom.xml from project B:
>> >> ...
>> >> <groupId>b</groupId>
>> >> <artifactId>b</artifactId>
>> >> <version>1.0</version>
>> >> <build>
>> >> ... enabling assembly-plugin with jar-with-dependencies...
>> >> </build>
>> >> <dependencies>
>> >> <dependency>
>> >> <groupId>a</groupId>
>> >> <artifactId>a</artifactId>
>> >> <version>1.0</version>
>> >> </dependency>
>> >> </dependencies>
>> >> ...
>> >>
>> >> i am doing assembly:assembly on b:b. now tran:dep does not get
>> included
>> >> though it is defined in a:a. that means: if i open the assembled
>> jar-file
>> >> (from b:b) i cannot see any artifacts from tran:dep.
>> >>
>> >> what is going wrong here? thought that default behaviour of
>> >> jar-with-dependencies includes everything as told in
>> >>
>> http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453s177.html#a6020485?
>> >>
>> >> i am using plugin in version 2.2-beta-1.
>> >>
>> >> thanks for your help.
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12293820
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Large Systems Suck: This rule is 100% transitive. If you build one,
>> > you suck" -- S.Yegge
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12301837
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12308820
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: assembly plugin: transitive dependencies do not get included
Posted by Stephane Nicoll <st...@gmail.com>.
<useTransitiveFiltering/> sorry.
On 8/23/07, aldana <al...@gmx.de> wrote:
>
> where do i set option includeTransitiveDeps to true? cannot find it in
> assembly descriptor schema.
>
>
> Stephane Nicoll-2 wrote:
> >
> > Mmm. This might be a bug. Check that includeTransitiveDeps is set to true.
> >
> > HTH,
> > Stéphane
> >
> > On 8/23/07, aldana <al...@gmx.de> wrote:
> >>
> >> hi,
> >>
> >> i am using assembly plugin with standard descriptor
> >> jar-with-dependencies.
> >> problem is that transitive dependencies do not get included.
> >>
> >> pom.xml from project A:
> >> ...
> >> <groupId>a</groupId>
> >> <artifactId>a</artifactId>
> >> <version>1.0</version>
> >> <dependencies>
> >> <dependency>
> >> <groupId>tran</groupId>
> >> <artifactId>dep</artifactId>
> >> <version>1.0</version>
> >> </dependency>
> >> </dependencies>
> >> ...
> >>
> >>
> >> pom.xml from project B:
> >> ...
> >> <groupId>b</groupId>
> >> <artifactId>b</artifactId>
> >> <version>1.0</version>
> >> <build>
> >> ... enabling assembly-plugin with jar-with-dependencies...
> >> </build>
> >> <dependencies>
> >> <dependency>
> >> <groupId>a</groupId>
> >> <artifactId>a</artifactId>
> >> <version>1.0</version>
> >> </dependency>
> >> </dependencies>
> >> ...
> >>
> >> i am doing assembly:assembly on b:b. now tran:dep does not get included
> >> though it is defined in a:a. that means: if i open the assembled jar-file
> >> (from b:b) i cannot see any artifacts from tran:dep.
> >>
> >> what is going wrong here? thought that default behaviour of
> >> jar-with-dependencies includes everything as told in
> >> http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453s177.html#a6020485?
> >>
> >> i am using plugin in version 2.2-beta-1.
> >>
> >> thanks for your help.
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12293820
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> > --
> > Large Systems Suck: This rule is 100% transitive. If you build one,
> > you suck" -- S.Yegge
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12301837
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: assembly plugin: transitive dependencies do not get included
Posted by aldana <al...@gmx.de>.
where do i set option includeTransitiveDeps to true? cannot find it in
assembly descriptor schema.
Stephane Nicoll-2 wrote:
>
> Mmm. This might be a bug. Check that includeTransitiveDeps is set to true.
>
> HTH,
> Stéphane
>
> On 8/23/07, aldana <al...@gmx.de> wrote:
>>
>> hi,
>>
>> i am using assembly plugin with standard descriptor
>> jar-with-dependencies.
>> problem is that transitive dependencies do not get included.
>>
>> pom.xml from project A:
>> ...
>> <groupId>a</groupId>
>> <artifactId>a</artifactId>
>> <version>1.0</version>
>> <dependencies>
>> <dependency>
>> <groupId>tran</groupId>
>> <artifactId>dep</artifactId>
>> <version>1.0</version>
>> </dependency>
>> </dependencies>
>> ...
>>
>>
>> pom.xml from project B:
>> ...
>> <groupId>b</groupId>
>> <artifactId>b</artifactId>
>> <version>1.0</version>
>> <build>
>> ... enabling assembly-plugin with jar-with-dependencies...
>> </build>
>> <dependencies>
>> <dependency>
>> <groupId>a</groupId>
>> <artifactId>a</artifactId>
>> <version>1.0</version>
>> </dependency>
>> </dependencies>
>> ...
>>
>> i am doing assembly:assembly on b:b. now tran:dep does not get included
>> though it is defined in a:a. that means: if i open the assembled jar-file
>> (from b:b) i cannot see any artifacts from tran:dep.
>>
>> what is going wrong here? thought that default behaviour of
>> jar-with-dependencies includes everything as told in
>> http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453s177.html#a6020485?
>>
>> i am using plugin in version 2.2-beta-1.
>>
>> thanks for your help.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12293820
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
> Large Systems Suck: This rule is 100% transitive. If you build one,
> you suck" -- S.Yegge
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12301837
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: assembly plugin: transitive dependencies do not get included
Posted by Stephane Nicoll <st...@gmail.com>.
Mmm. This might be a bug. Check that includeTransitiveDeps is set to true.
HTH,
Stéphane
On 8/23/07, aldana <al...@gmx.de> wrote:
>
> hi,
>
> i am using assembly plugin with standard descriptor jar-with-dependencies.
> problem is that transitive dependencies do not get included.
>
> pom.xml from project A:
> ...
> <groupId>a</groupId>
> <artifactId>a</artifactId>
> <version>1.0</version>
> <dependencies>
> <dependency>
> <groupId>tran</groupId>
> <artifactId>dep</artifactId>
> <version>1.0</version>
> </dependency>
> </dependencies>
> ...
>
>
> pom.xml from project B:
> ...
> <groupId>b</groupId>
> <artifactId>b</artifactId>
> <version>1.0</version>
> <build>
> ... enabling assembly-plugin with jar-with-dependencies...
> </build>
> <dependencies>
> <dependency>
> <groupId>a</groupId>
> <artifactId>a</artifactId>
> <version>1.0</version>
> </dependency>
> </dependencies>
> ...
>
> i am doing assembly:assembly on b:b. now tran:dep does not get included
> though it is defined in a:a. that means: if i open the assembled jar-file
> (from b:b) i cannot see any artifacts from tran:dep.
>
> what is going wrong here? thought that default behaviour of
> jar-with-dependencies includes everything as told in
> http://www.nabble.com/-M2--How-to-include-transitive-dependencies-with-Assembly-plugin-tf2177453s177.html#a6020485?
>
> i am using plugin in version 2.2-beta-1.
>
> thanks for your help.
>
>
> --
> View this message in context: http://www.nabble.com/assembly-plugin%3A-transitive-dependencies-do-not-get-included-tf4317601s177.html#a12293820
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org