Skip to content
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

jruby 9K + maven plugins no longer working #3184

Closed
kares opened this issue Jul 25, 2015 · 4 comments
Closed

jruby 9K + maven plugins no longer working #3184

kares opened this issue Jul 25, 2015 · 4 comments
Milestone

Comments

@kares
Copy link
Member

kares commented Jul 25, 2015

maybe due to Psych/RGs ... anyways it can not download rubygems packages from the proxy :

[INFO] uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/psych.rb:229: warning: already initialized constant LIBYAML_VERSION

[INFO] ERROR:  While executing gem ... (Gem::Package::FormatError)

[INFO]     package is corrupt, exception while verifying: undefined method `path2class' for #<Psych::ClassLoader:0x54bdcfd3> (NoMethodError) in /home/travis/.m2/repository/rubygems/jar-dependencies/0.1.15/jar-dependencies-0.1.15.gem

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:18 min

[INFO] Finished at: 2015-07-24T20:46:54+00:00

[INFO] Final Memory: 16M/465M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.10:initialize (default-initialize) on project jruby-openssl: Execution default-initialize of goal de.saumya.mojo:gem-maven-plugin:1.0.10:initialize failed: Java returned: 1 -> [Help 1]

... taken from the following job travis job: https://travis-ci.org/jruby/jruby-openssl/jobs/72473886

@jkutner
Copy link
Member

jkutner commented Jul 25, 2015

ack, just hit this too :(

kares added a commit to jruby/jruby-openssl that referenced this issue Jul 27, 2015
@enebo enebo added this to the JRuby 9.0.1.0 milestone Jul 27, 2015
@enebo
Copy link
Member

enebo commented Jul 27, 2015

Is this something that can be fixed in a updated jruby-jars or do we fix it in 9.0.1.0 (I guess either way the fix will be in 9.0.1.0)?

@mkristian
Copy link
Member

this happens when there is jruby-9k on bootclasspath and jruby-1.7.x on the classpath :(

adding the config addProjectClasspath = false will help to separate the jruby plugin from the project itself.

@kares
Copy link
Member Author

kares commented Feb 12, 2016

this re-appeared last week on jruby-1_7 builds and was able to reproduce locally (for sure seemed not related to 9K being on class-path) ... but than went away the week after :) so calling it a close for now

@kares kares closed this as completed Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants