Open matanox opened 8 years ago
Removing these plugins and their build.sbt counterparts, the problem does not occur and in fact the canve command
seamlessly executes after the project is loaded. Need to trace which of these plugins triggers this collision. Are different 2.10 versions of the scala.macros.reflect coming from different plugins here? this sounds too far-fetched. Need to narrow down to the offending sbt plugin.
Looks like scalikejdbc. Which is an sbt plugin itself.....
For at least one 2.11 project, instrumented with the sbt plugin, sbt fails to start, with what appears to be a scala macros version collision. See http://stackoverflow.com/questions/38956534/scala-package-contains-object-and-package-with-same-name for the error message.
Has it never worked for projects using macros? I find that unlikely, but need to check again.
The scala macros library structure has changed considerably between 2.11 and 2.10, but that alone does not directly imply that the classpath gets polluted with two different versions of scala.reflect.macros when sbt merely loads the project.
The project for which this happens (proprietary code) has a lot of other sbt plugins used by it: