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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to