Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=911365
Bug ID: 911365 Summary: maven tests don't bring in aopappliance dependencies Product: Fedora Version: 18 Component: maven Severity: medium Priority: unspecified Reporter: orion@cora.nwra.com
Description of problem:
Running org.apache.rat.mp.RatCheckMojoTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.887 sec <<< FAILURE! testIt1(org.apache.rat.mp.RatCheckMojoTest) Time elapsed: 1.634 sec <<< ERROR! java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/MethodInterceptor; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2451) at java.lang.Class.getDeclaredMethods(Class.java:1810) at com.google.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:83) at com.google.inject.internal.ProviderMethodsModule.configure(ProviderMethodsModule.java:75)
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=911365
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Triaged
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=911365
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |high
https://bugzilla.redhat.com/show_bug.cgi?id=911365
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Fixed In Version| |3.1.0-1 Assignee|sochotni@redhat.com |mizdebsk@redhat.com
--- Comment #1 from Mikolaj Izdebski mizdebsk@redhat.com --- Fixed in maven-3.1.0-1
https://bugzilla.redhat.com/show_bug.cgi?id=911365
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version|3.1.0-1 |3.1.0-2
https://bugzilla.redhat.com/show_bug.cgi?id=911365
Mikolaj Izdebski mizdebsk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |NEXTRELEASE Last Closed| |2013-07-25 00:03:43
--- Comment #2 from Mikolaj Izdebski mizdebsk@redhat.com --- I believe that this bug is fixed in maven-3.1.0-2, which is available in Fedora Rawhide, so I am closing this bug now.
The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=436927
This bug was fixed in the next release of Fedora, and is not planned to be fixed in the release it was filed against. If you want this bug to be fixed in updates for Fedora 18, please say so in a comment. Otherwise you can update to the newer release of Fedora to get the fix.
https://bugzilla.redhat.com/show_bug.cgi?id=911365
--- Comment #3 from Orion Poplawski orion@cora.nwra.com --- Hmm, with 3.1.0-2 I'm seeing:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project apache-rat-plugin: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was an error in the forked process [ERROR] java.lang.NoClassDefFoundError: org/sonatype/aether/RepositorySystemSession [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method) [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2521) [ERROR] at java.lang.Class.getMethod0(Class.java:2764) [ERROR] at java.lang.Class.getMethod(Class.java:1653) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:152) [ERROR] at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:121) [ERROR] at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:70) [ERROR] at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131) [ERROR] at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) [ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [ERROR] Caused by: java.lang.ClassNotFoundException: org.sonatype.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:424) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [ERROR] ... 12 more [ERROR] -> [Help 1]
Open a new bug?
https://bugzilla.redhat.com/show_bug.cgi?id=911365
--- Comment #4 from Mikolaj Izdebski mizdebsk@redhat.com --- (In reply to Orion Poplawski from comment #3)
Hmm, with 3.1.0-2 I'm seeing:
That's a different bug. It's most likely related to update to Eclipse Aether. Some known bugs are already listed in Maven 3.1.0 tracker bug (rbhz #985674), but feel free to report any new bugs and attach them to the tracker.
java-sig-commits@lists.fedoraproject.org