Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Test claspath in Eclipse x Maven CLI

How can I use the same test classpath both for running JUnit tests from within Eclipse and for running "mvn test" from the commandline?

Currently, when I run JUnit tests from Eclipse it loads resources from src/main/resources instead of src/test/resources.

I'm using Maven 2.2.1, Eclipse 3.6.2 and m2e 0.12

Thanks in advance,
Daniel Serodio


Back to the top