Since 2.8.0-SNAPSHOT is giving me trouble in IDEA, but works fine in raw Maven, and also various tools are not working in 2.8, I want to maintain two versions of my project, for Scala 2.7.5 and Scala 2.8.0-SNAPSHOT.
One way to do it in Maven is with profiles, but I didn't explore it yet. I compiled all dependencies with different versions: e.g., scala-json exists in Maven repository with versions 1.0-scala2.8.0-SNAPSHOT and 1.0-scala2.7.5. The Scala version itself is defined by a property scala.version in the pom.xml.
I can see using inherited pom and setting the version separately; I can have the main pom in a top directory and two versions of the project in subdirectories... May also use git branches. Does IDEA have any way of its own to maintain such a dual version, and what would you recommend?