Re: Cannot Inject MavenRepositorySystem into my Plugin Mojo

2014-10-06 Thread Stuart McCulloch
The org.apache.maven.bridge package is not currently exposed to plugins from maven-core (see importMavenApi in DefaultClassRealmManager) which is why you get an exception trying to access it. Could you use the org.apache.maven.repository.RepositorySystem component instead? This would also be mo

RE: Cannot Inject MavenRepositorySystem into my Plugin Mojo

2014-10-06 Thread Robert Patrick
/ -Original Message- From: Arnaud Derasse [mailto:arnaud.dera...@enyx.fr] Sent: Monday, October 06, 2014 6:31 AM To: dev@maven.apache.org Subject: Cannot Inject MavenRepositorySystem into my Plugin Mojo Hello all, -- -- Short Version -- -- I am tryting

Cannot Inject MavenRepositorySystem into my Plugin Mojo

2014-10-06 Thread Arnaud Derasse
Hello all, -- -- Short Version -- -- I am tryting to access MavenRepositorySystem from my mojo to call buildArtifactRepository() When executing the goal, I have a ClassDefNotFound error : [WARNING] Error injecting: com.enyx.maven.plugin.enyx_maven_p