Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IAM (Eclipse Integration for Apache Maven) » Apparent Maven / JUnit clash in eclipse
Apparent Maven / JUnit clash in eclipse [message #569227] Sun, 24 May 2009 21:06
BenH is currently offline BenH
Messages: 39
Registered: July 2009
Member
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
Previous Topic:Classpath container suddenly vanished and I cannot get it back
Next Topic:Are dependency exclusions honoured by IAM?
Goto Forum:
  


Current Time: Sun May 26 00:57:33 EDT 2013

Powered by FUDForum. Page generated in 0.05558 seconds