Hello, We're trying to migrate our mantychore project to maven3, which has been reasonably seamless, except for this issue which we're having trouble figuring out.
Our project trunk builds just fine (mvn clean install -DskipTests, as long as netconf4j has been built and installed) with both maven2 and maven3. However, when we do "mvn test", maven3 fails in some places where 2 doesn't. Some logs can be found at: https://gist.github.com/5b639232043d96f876b3 After some debugging and realizing mvn dependency:tree is (for now) a bad idea on maven3, I've found out that the classpath of the first test that fails on maven3 (and apparently the other tests that fail only on maven3) is different when mvn test is called from the bundle dir (in which case, the test works) and when it's called from the parent dir or the trunk root (the test fails). The classpath where ~/.m2/ is used is the one that works. Both classpaths and a diff are available in the gist linked above. The mantychore project is public and licensed as GPLv3: http://www.mantychore.eu/ It needs netconf4j (which also doesn't build with maven3 yet, but that's a different matter): https://code.google.com/p/netconf4j/ Roc Vallès Distributed Applications and Networks Area - DANA i2CAT Foundation C/ Gran Capità 2-4, office 203, Nexus I building Barcelona (Spain) Tel: +34 93 553 2510 Fax: +34 93 553 2520
