Scala Maven启动fsc不当?

Scala Maven启动fsc不当?,scala,maven,fsc,scala-maven-plugin,Scala,Maven,Fsc,Scala Maven Plugin,我正试图在我的maven项目中使用fsc(FastScala编译器)。Mypom.xml具有: ... <execution> <id>cc</id> <goals> <goal>cc</goal> </goals> <phase>compile</phase> <configuration> <useFsc>tr

我正试图在我的maven项目中使用fsc(FastScala编译器)。My
pom.xml
具有:

...
 <execution>
   <id>cc</id>
   <goals>
     <goal>cc</goal>
   </goals>
   <phase>compile</phase>
   <configuration>
     <useFsc>true</useFsc>
     <once>true</once>
   </configuration>
 </execution>
...
正在运行mvn scala:cc-DdisplayCmd=true-Dverbose=true

 [INFO] cmd:  /bin/sh -c .../java -classpath [redacted] scala.tools.nsc.MainGenericRunner scala.tools.nsc.CompileServer >MainGenericRunner.out 2>MainGenericRunner.err
这看起来很奇怪(它不应该包括
scala.tools.nsc.maingerirunner
?)我注意到
maingerirunner.out
包含

no such file: scala.tools.nsc.CompileServer
这似乎证实了我的怀疑

有没有人遇到过这种情况,或者有什么解决办法?我真的很想使用fsc来加速我的构建。我发现有一个用户在google groups上有类似的输出,但没有跟进


调用
mvn scala:cc
maven时,在OSX上运行scala 2.8.1和maven 3.0.3将使用pom中未配置的执行id默认cli(或类似内容)。正因为如此,maven将使用默认的cc目标。目前,您的pom配置为在“编译”阶段使用自定义项执行cc目标。因此,运行类似于
mvn compile
mvn install
的程序应该可以正常工作。

感谢您的建议,但是运行
mvn compile
mvn install
时也会出现相同的行为。
no such file: scala.tools.nsc.CompileServer