CANVE / extractor

Extracts and normalizes the type relationships and call graph of scala sbt projects.
4 stars 1 forks source link

integrationTest sbt task doesn't publish the compiler plugin for 2.10 #2

Open matanox opened 8 years ago

matanox commented 8 years ago

The integration test currently attempts to publishLocal relying on these lines. However this won't publish the compiler plugin for 2.10, owing to sbt's design regarding cross version operation. The integration test may show all tests as failed due to not being able to resolve the plugin for 2.10 projects, or use an older copy of the plugin for 2.10! It is unclear whether sbt can facilitate this flow, and this is kept on hold to avoid at present further sbt work.

Workaround:

Always +publishLocal before running integrationTest.

Consider requesting an enhancement to sbt-doge for this scenario, if not core sbt, or just switch from a task to a command that mimics ;+publishLocal ;integrationTest. Posted on stack overflow to open up future possibilities.