sbt / sbt-dependency-graph

sbt plugin to create a dependency graph for your project
Apache License 2.0
1.24k stars 113 forks source link

show ivyReport shows incorrect directory #150

Closed anuccio1 closed 6 years ago

anuccio1 commented 6 years ago

sample repo: https://github.com/anuccio1/sbt-test

when show ivyReport is run, this is shown: sbt-test/target/scala-2.11/resolution-cache/reports/com.alex.test-alex-test_2.11-compile.xml when really the file was written to sbt-test/target/resolution-cache/reports/com.alex.test-alex-test_2.11-compile.xml

jrudolph commented 6 years ago

Seems that the directory was changed in 0.13.16 (in https://github.com/sbt/sbt/commit/ff017eb475fbf18b8066125596bcd1a8cd8fb3ff#diff-6373e7f7122325e753b75fe1cc76ff5fR1419) and already "fixed" here. So it should work for sbt > 0.13.16.

We could fix it by retrieving the right directory from the ivyConfiguration key instead of building the directory ourselves.