lightbend-labs / dbuild

Multi-project build tool, based on sbt.
https://lightbend-labs.github.io/dbuild
Other
83 stars 14 forks source link

sbt-republish may fail in 0.7.0 #81

Closed cunei closed 1 year ago

cunei commented 10 years ago

There seems to be a mismatch concerning compiler-interface, in certain cases. For instance, in one test case the sbt jar published after the compilation of sbt is: org.scala-sbt/compiler-interface_2.11.0-dbuildx1317a1280278e3f43e6d797a110a8f1a71fe410e/0.13.1-dbuildx7efb24a03fb92a1fec9a58adf4d9f9ad17ff018e/jars/compiler-interface-src_2.11.0-dbuildx1317a1280278e3f43e6d797a110a8f1a71fe410e.jar but the file that sbt republish looks for is: org.scala-sbt/compiler-interface_2.11.0-dbuildx1317a1280278e3f43e6d797a110a8f1a71fe410e/0.13.1-dbuildx7efb24a03fb92a1fec9a58adf4d9f9ad17ff018e/jars/compiler-interface-src.jar That has to be a mismatch arising from one of the refactorings that intervened between 0.6.5 and 0.7.0; I'm investigating now.

cunei commented 10 years ago

OK, there is no regression. This is related to the hack that is used to address the mismatch between sbt and sbt-republish concerning "compiler-interface-bin" and "compiler-interface-src" (one uses the full name as the artifact name, while the other uses "compiler-interface" with "bin" as a classifier). It works ok with cross versioning set to "disabled" or "standard", but it seems to need further tweaking when it is set to "full". I will look into adapting it appropriately.

SethTisue commented 1 year ago

hasn't bitten the community build 🤷