I have developed an Eclipse plugin with separate test plugin in the usual way for Tycho. What I'd like to do is write the tests in Scala (using ScalaTest). However, when I try to import the tests plugin pom with:
<packaging>eclipse-test-plugin</packaging>
then none of the specified Scala source folders are recognized (even the default ones).
If I change the packaging to jar, then the import works correctly. However of course the main plugin is not on the classpath so this is not usable as such.
I can do a mvn clean package from the parent command line and all is fine, including compiling and running ScalaTests.
I have developed an Eclipse plugin with separate test plugin in the usual way for Tycho. What I'd like to do is write the tests in Scala (using ScalaTest). However, when I try to import the tests plugin pom with:
then none of the specified Scala source folders are recognized (even the default ones). If I change the packaging to
jar
, then the import works correctly. However of course the main plugin is not on the classpath so this is not usable as such.I can do a
mvn clean package
from the parent command line and all is fine, including compiling and running ScalaTests.I am using https://github.com/sonatype/m2eclipse-scala as usual for a Scala project.
Any clues on what to do?