I am using IDEA 10.5.2 with the Scala plugin version 0.4.1395 and the standard Maven integration plugin that comes with the IDE. I have a Scala 2.8.0 project with the above parameter, and I want to upgrade it to Scala 2.9.1. I made the necessary changes to pom.xml. Here are the relevant sections of my pom.xml:
Plugins section:
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
<phase>compile</phase>
</execution>
<execution>
<id>test-compile</id>
<goals>
<goal>testCompile</goal>
</goals>
<phase>test-compile</phase>
</execution>
<execution>
<phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
Dependency Section:
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>2.9.1</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.9.1</version>
</dependency>
I have Scala 2.9.1 installed on my machine.
In my project settings in the Scala factor, the compiler creation section has several options for the "compiler library". However, my project is not based on the selection of any of them.
When I select Maven: org.scala-lang:scala-compiler-bundle:2.9.1, I get the following error:
Scala.
, Scala facet: scala -library-2.9.1.jar.
Maven: org.scala-lang:scala-compiler:2.9.1, :
Scala.
, Scala facet: no scala -library *.jar .
Maven: org.scala-lang:scala-library:2.9.1, :
Scala.
, Scala facet: no scala -compiler *.jar.
? , ?
, . . !