maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: Maven Compat + Maven 3.0 Plugin Part 1: Mercury
Date Mon, 09 Mar 2015 22:26:52 GMT
I'm making good progress but I'm hitting issues with the unittests (see  
below).
I've tried several combinations of plugin-testing-harness version and  
Maven version, but no result yet.
Anyone seen this issue before?
If would be nice if surefire could at least report what it is trying to  
call by reflection.
Any help is appreciated.

thanks,
Robert

---

[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @  
maven-install-plugin ---
[INFO] Surefire report directory:  
E:\java-workspace\apache-maven-plugins\maven-install-plugin\target\surefire-reports

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.apache.maven.plugin.install.DualDigesterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec  
- in org.apache.maven.plugin.install.DualDigesterTest
Running org.apache.maven.plugin.install.InstallFileMojoTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]  
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 23.232 s
[INFO] Finished at: 2015-03-09T23:11:17+01:00
[INFO] Final Memory: 32M/363M
[INFO]  
------------------------------------------------------------------------
[ERROR] Failed to execute goal  
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test)  
on project maven-install-plugin: Execution default-test
  of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test  
failed: There was an error in the forked process
[ERROR] java.lang.NoClassDefFoundError:  
org/eclipse/aether/RepositorySystemSession
[ERROR] at java.lang.Class.getDeclaredMethods0(Native Method)
[ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
[ERROR] at java.lang.Class.getMethod0(Class.java:2774)
[ERROR] at java.lang.Class.getMethod(Class.java:1663)
[ERROR] at  
org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:155)
[ERROR] at  
org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:124)
[ERROR] at  
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:74)
[ERROR] at  
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:130)
[ERROR] at  
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:107)
[ERROR] at  
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
[ERROR] at  
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
[ERROR] at  
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
[ERROR] Caused by: java.lang.ClassNotFoundException:  
org.eclipse.aether.RepositorySystemSession
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[ERROR] at java.security.AccessController.doPrivileged(Native Method)
[ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
[ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[ERROR] ... 12 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message