<plugin>######################################################
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<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>
You should not mixe m2e and maven-eclipse-plugin: there are incompatible.
I suggest you :
* to use m2e-scala instead of maven-eclipse-plugin
* to use the goal <add-source> (see
http://davidb.github.com/scala-maven-plugin/example_java.html) if you
put .scala in an other directory than <sourceDirectory>
* to upgrade your maven-scala-plugin to scala-maven-plugin (optionnal)
I often use the same directory for .java and .scala (src/main/jvm)
without trouble, there is no best practive (IMO).
/davidB
>
>
>
> Thanks for the help.
>
> ###############################
>
> Image1
>
>
>
> #####################################################################
>
> What versions am i using ?
>
> I am using the latest STS 2.9.1 ( OS X 10.7 ) with the latest updates for
> m2e and scala-ide that i installed using the STS extensions feature.
>
>
>