Transitive dependencies from multiverse-alpha
Multiverse has dependencies that shouldn't be resolved transitively. Multiverse is now marked intransitive in the Akka sbt project, but projects depending on akka-core will still pull unnecessary dependencies transitively. See if either the akka-core pom or the multiverse-alpha pom can be marked in a way that won't resolve transitive dependencies for mutliverse-alpha but also doesn't require users to do anything other than have akka-core as dependency.
Leave a comment
on 2010-09-02 07:12 *
By Jonas Bonér
What is the status on this one?
on 2010-09-02 14:09 *
By Peter Vlugter
Just had a look again at what the issue is here.
multiverse-alpha has unneeded dependencies listed in the pom for: multiverse-alpha-unborn, multiverse-core, and multiverse-instrumentation
I was hoping that Peter Veentjer could mark these dependencies as optional [1] as all the build tools resolve transitively by default. This was discussed on the list at one point iirc.
I've already marked the multiverse dependency as intransitive in the akka sbt project. Which means that akka itself does not pull the extra dependencies. It also means that depending on a locally installed akka (in ivy2/local) will not have the extra dependencies as ivy includes the intransitive in its format. However, using akka from the akka maven repo will always pull the extra jars afaik, unless excluded manually.
Peter, could those dependencies be marked optional, or removed from the pom?
[1]: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
multiverse-alpha has unneeded dependencies listed in the pom for: multiverse-alpha-unborn, multiverse-core, and multiverse-instrumentation
I was hoping that Peter Veentjer could mark these dependencies as optional [1] as all the build tools resolve transitively by default. This was discussed on the list at one point iirc.
I've already marked the multiverse dependency as intransitive in the akka sbt project. Which means that akka itself does not pull the extra dependencies. It also means that depending on a locally installed akka (in ivy2/local) will not have the extra dependencies as ivy includes the intransitive in its format. However, using akka from the akka maven repo will always pull the extra jars afaik, unless excluded manually.
Peter, could those dependencies be marked optional, or removed from the pom?
[1]: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
Will be solved by only depending on ScalaSTM