You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Johannes Schneider <ma...@cedarsoft.com> on 2011/03/05 21:19:42 UTC

bundle:bundleall process too many dependencies

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi guys,

I have a problem with bundle:bundleall. It process too many dependencies
(at least in my opinion).
When I call dependency:tree I get this result:

[INFO]

[INFO]
- ------------------------------------------------------------------------
[INFO] Building bundle2 1.0.1-SNAPSHOT
[INFO]
- ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ bundle2 ---
[INFO] com.cedarsoft.tests.felix:bundle2:jar:1.0.1-SNAPSHOT
[INFO] +- com.cedarsoft.tests.felix:bundle1:jar:1.0.1-SNAPSHOT:compile
[INFO] |  +- com.google.inject:guice:jar:3.0-rc2:compile
[INFO] |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- com.cedarsoft.commons:commons:jar:4.0.0-SNAPSHOT:compile
[INFO] |  |  \- com.cedarsoft.commons:exceptions:jar:4.0.0-SNAPSHOT:compile
[INFO] |  \- com.cedarsoft:unit:jar:1.0-beta1:compile
[INFO] |     \- junit:junit:jar:4.8.2:compile (version managed from 4.8.1)
[INFO] +- org.osgi:org.osgi.core:jar:4.2.0:compile
[INFO] +- org.osgi:org.osgi.compendium:jar:4.2.0:compile
[INFO] +- com.cedarsoft.commons:test-utils:jar:4.0.0-SNAPSHOT:test
[INFO] |  +- com.cedarsoft.commons:xml-commons:jar:4.0.0-SNAPSHOT:test
[INFO] |  |  \- org.jdom:jdom:jar:1.1:test
[INFO] |  +- com.cedarsoft.commons:crypt:jar:4.0.0-SNAPSHOT:test
[INFO] |  |  \- commons-codec:commons-codec:jar:1.4:test
[INFO] |  +- commons-lang:commons-lang:jar:2.5:test
[INFO] |  +- commons-io:commons-io:jar:2.0:test
[INFO] |  +- org.mockito:mockito-all:jar:1.8.5:test
[INFO] |  +- org.easymock:easymockclassextension:jar:3.0:test
[INFO] |  +- org.easymock:easymock:jar:3.0:test
[INFO] |  |  +- cglib:cglib-nodep:jar:2.2:test
[INFO] |  |  \- org.objenesis:objenesis:jar:1.2:test
[INFO] |  +- org.easytesting:fest-reflect:jar:1.2:test
[INFO] |  |  \- org.easytesting:fest-util:jar:1.1:test
[INFO] |  +- org.codehaus.jackson:jackson-mapper-asl:jar:1.6.3:test
(version managed from 1.6.0)
[INFO] |  |  \- org.codehaus.jackson:jackson-core-asl:jar:1.6.3:test
[INFO] |  \- xmlunit:xmlunit:jar:1.3:test
[INFO] +- com.google.guava:guava:jar:r08:compile
[INFO] +- com.intellij:annotations:jar:7.0.3:provided
[INFO] +- biz.aQute:bndlib:jar:1.15.0:provided
[INFO] \-
org.apache.felix:org.apache.felix.scr.annotations:jar:1.4.0:provided
[INFO]
- ------------------------------------------------------------------------


But the resulting dir looks like that:

com.cedarsoft.commons_4.0.0.SNAPSHOT.jar
com.cedarsoft.commons.exceptions_4.0.0.SNAPSHOT.jar
com.cedarsoft.tests.felix.bundle1_1.0.1.SNAPSHOT.jar
com.cedarsoft.unit_1.0.0.beta1.jar
com.google.code.findbugs.jsr305_1.3.7.jar
> com.google.guava_0.0.0.r07.jar (ok, might be a dep from a library)
com.google.guava_0.0.0.r08.jar
com.google.inject_3.0.0.rc2.jar
javax.inject.javax.inject_1.0.0.jar
> junit_4.8.1.jar (test dependency!)
> junit_4.8.2.jar (test dependency!)
org.aopalliance_1.0.0.jar
> org.apache.ant_1.8.1.jar (???)
> org.apache.ant.launcher_1.8.1.jar  (propably a Ant dependency)
> org.objectweb.asm_3.1.0.jar (propably a Ant dependency)
> org.objectweb.asm.tree_3.1.0.jar (propably a Ant dependency)
> org.objectweb.asm.util_3.1.0.jar (propably a Ant dependency)
> org.sonatype.sisu.inject.cglib_2.2.1.v20090111.jar (propably a Ant
dependency)


I have marked the problematic dependencies. I don't have an idea where they
come from...


Any hints appreciated,


Thanks,

Johannes

- -- 
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJNcpraAAoJEAytD9R7Qv6dQSIH/jY0REntmMhSFDLlxEl5pYBh
ibHmZNLfXzkIiRZ1Hv19VX8LZqO7++LZ8gWwS+R+Nts9RUk+clJNhDRVplEqKcim
lc8vxLv+YeLu8M+KQCmxWqo5Q8pWwesXY58A3qc8QQB17T0XovIFzz9PuvTEKKtM
c9uPPV48CzBKrDaLVMN74wnfwIH1lWkBFv7cdMpLxMGyj/b2NSEClKfSeGgxhael
7XVeew/hGXfqxW4ux72T3G5P7Mc04LmZRgU8zKCKkAPV2+b6IL5aRFJ76I27Z+Wt
FXnbpsnyBp7iRY2jB5ssD93YNDOQhhRqfBm1ciTqpVQaH1HdgSJ4/F7c2W/OLoA=
=toW/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org