[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.iam] Apparent Maven / JUnit clash in eclipse

Maven likes to compile test code to /target/test-classes

This isnt part of the default Build Path.

When eclipse's JUnit launcher runs, it doesnt include /target/test-classes in its classpath, and no test classes are found.

My workaround is to add /target/test-classes to the Run Classpath of my unit test launch shortcut.

Plus, Ive found I need to run mvn compiler:testCompile manually, because the eclipse builder seems not to (always) build that folder automatically?

It would be nice to get better integration here eventually.

-Ben