You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sascha Vujevic (JIRA)" <ji...@codehaus.org> on 2013/12/05 13:20:45 UTC
[jira] (MNG-5545) NoClassDefFoundError:
org/sonatype/aether/resolution/ArtifactResolutionException
Sascha Vujevic created MNG-5545:
-----------------------------------
Summary: NoClassDefFoundError: org/sonatype/aether/resolution/ArtifactResolutionException
Key: MNG-5545
URL: https://jira.codehaus.org/browse/MNG-5545
Project: Maven 2 & 3
Issue Type: Bug
Components: Dependencies, Plugin API, POM
Affects Versions: 3.1.0
Environment: Windows XP
Reporter: Sascha Vujevic
Attachments: build.log, examplemojo.zip, mojocaller.zip
Hello maven-developers,
i hope this is the right tracker.
I am implementing a mojo which uses classes from org.sonatype.aether.
With maven 3.0.x the build succeeds, with maven 3.1.0 it breaks with error shown in the log-file.
My question is, why the maven-build uses the org.eclipse.aether (still milestone) from the maven-installation (where org.sonatype.aether is not included) instead of useing it from the pluging.xml.
The parameter @requiresDependencyResolution runtime seems not to work.
I have attached the log-file and 2 projects, examplemojo is the mojo and mojocaller is the caller.
Just install examplemojo and call "mvn call package on" mojocaller.
Thank you for your help.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira