-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gem-maven-plugin:1.0.8:initialize error #65
Comments
could you please provide the output of
mvn -X initialize
|
Here it is:Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T22:59:23+05:30) DEBUG plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.InstallMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:1.0.8:install' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.GemifyMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:1.0.8:gemify'DEBUG project = MavenProject: com.infiverve.infiblaze:infiblaze-workscript:0.1 @ /home/abhishek/aaprojects/infiblaze-workscript/pom.xml The ' characters around the executable and arguments are The ' characters around the executable and arguments are |
can not reproduce it - it works for me. well, on your side you can see if older jrubies work for you. just call maven with BUT for me to continue remote debugging with you. could you post the output of
that should give me the java stack trace to the java.lang.ExceptionInInitializerError |
Hello Christian. Here is the output. Really appreciate your help: [INFO] ------------------------------------------------------------------------ |
@adpande I think you executed the last command via maven. it was meant without maven - just tried to use the path to you local repo (hope I got it right)
|
Hi Christian, Sorry for the delay. Here is the stack trace you requested. git:(master) ✗ GEM_HOME=target GEM_PATH=target java -Djruby.openssl.debug=true -Djruby.backtrace.style=raw -cp /home/abhishek/.m2/repository/org/jruby/jruby-complete/1.7.19/jruby-complete-1.7.19.jar org.jruby.Main -e 'load("jar:file:/home/abhishek/.m2/repository/org/jruby/jruby-complete/1.7.19/jruby-complete-1.7.19.jar!/META-INF/jruby.home/bin/gem")' -- install --ignore-dependencies --no-rdoc --no-ri --no-user-install --debug /home/abhishek/.m2/repository/rubygems/compass/0.12.2/compass-0.12.2.gem |
On Mon, Mar 2, 2015 at 9:12 AM, Abhishek Pande [email protected]
that's it the problem. let's see what can be done ;) |
Any progress on this? I've got exactly the same problem. I suspected it had something to do with the Netscaler solution at work providing faulty ssl-certificates, but it seems to occur at home as well... |
per default the plugin inherits the project classpath. in case there is a bouncy-castle dependency on it then it can conflict with the BC version embedded inside jruby-complete.jar @adpande @kjarnet could you try to set the config |
Hi,
I am getting the following error when I try to use the gem-maven-plugin in Java 1.8 & jruby 1.7.19.
Not sure what is wrong.
Can you please look into it? Thanks in advance for the help.
[INFO] --- gem-maven-plugin:1.0.8:initialize (default) @ test-jscript ---
[INFO] ERROR: Loading command: install (LoadError)
[INFO] load error: jopenssl/load -- java.lang.ExceptionInInitializerError: null
[INFO] ERROR: While executing gem ... (NoMethodError)
[INFO] undefined method `invoke_with_build_args' for nil:NilClass
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.475 s
[INFO] Finished at: 2015-02-21T03:04:01+05:30
[INFO] Final Memory: 13M/295M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize (default) on project infiblaze-workscript: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize failed: Java returned: 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize (default) on project infiblaze-workscript: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize failed: Java returned: 1
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.8:initialize failed: Java returned: 1
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:107)
at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:174)
at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:159)
at de.saumya.mojo.ruby.script.AntLauncher.executeScript(AntLauncher.java:153)
at de.saumya.mojo.ruby.script.Script.execute(Script.java:81)
at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:196)
at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:114)
at de.saumya.mojo.ruby.gems.GemsInstaller.installGems(GemsInstaller.java:102)
at de.saumya.mojo.ruby.gems.GemsInstaller.installPom(GemsInstaller.java:61)
at de.saumya.mojo.gem.AbstractGemMojo.executeJRuby(AbstractGemMojo.java:364)
at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:298)
at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:224)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 20 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
The text was updated successfully, but these errors were encountered: