I want to list out all dependencies for an SBT project, with version information for each dependency. Discovering direct dependencies is easy; the first part of the script below does that well. Seems that 'show all-dependencies' does not show transitive dependencies. Is there an SBT task I can run that returns the same information for transitive dependencies as all-dependencies does for direct dependencies? Right now I just dump out the managed-classpath, which is not as useful.
Why not? That's the maven way (maven dependency plugin)
You could read the ivy update report yourself. Let me check my build for code and add that here....
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/RB8BqyGGlzkJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
Is there an SBT task I can run that returns the same information for transitive dependencies as all-dependencies does for direct dependencies?
Lest we get off-topic:
Is there an SBT task I can run that returns the same information for transitive dependencies as all-dependencies does for direct dependencies?
ch.qos.logback logback-classic 1.0.0 com.amazonaws aws-java-sdk 1.1.8 com.google.protobuf protobuf-java 2.4.1 com.novus salat-core 1.9.0 com.typesafe.akka akka-actor 2.0.1 org.apache.solr solr-solrj 3.6.0 compile org.scala-lang scala-library 2.9.1
I think that the solution would be of general interest.
Thanks,
Mike
Jason,
external-dependency-classpath is like managed-classpath, in that it does not provide decoded versioning information. all-dependencies is special that way. Is there an expanded version of all-dependencies, that truly does show all dependencies?
Not sure if my last statement is correct, because I'm unsure if console-project is a necessary plugin to do what you seem to be implying.
This research project is growing in scope, instead of converging to a solution. Would you be kind enough to break down 'for dummies' exactly what one would need to do in order to list all dependencies, with versioning? I'm looking for a result like:ch.qos.logback logback-classic 1.0.0 com.amazonaws aws-java-sdk 1.1.8 com.google.protobuf protobuf-java 2.4.1 com.novus salat-core 1.9.0 com.typesafe.akka akka-actor 2.0.1 org.apache.solr solr-solrj 3.6.0 compile org.scala-lang scala-library 2.9.1
Why not? That's the maven way (maven dependency plugin)
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.