Skip to main content


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] Mon, 25 May 2009 01:06
BenH is currently offline BenHFriend
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: Thu Apr 25 12:45:24 GMT 2024

Powered by FUDForum. Page generated in 0.02736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top