Error injecting: de.saumya.mojo.ruby.gems.DefaultGemManager

[WARNING] Error injecting: de.saumya.mojo.ruby.gems.DefaultGemManager
java.lang.NoClassDefFoundError: org/sonatype/aether/RepositorySystemSession
 
Solution
Check the latest version of plugins used in pom. For quick hint about faulty plugin see the link below. 
 
Add in your plugin 2.8 version for dependenvy plugin

<build>
 <pluginManagement>
    <plugins>
    
          <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.8</version>
        
         </plugin>

'
'
'

 
Related links
 
https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound
 
https://github.com/torquebox/jruby-maven-plugins/issues/50
 

No comments:

Post a Comment

Please share your views and comments below.

Thank You.