Skip to content

Update ruby/maven infrastructure and get integration tests passing #84

@headius

Description

@headius

I am attempting to update the ruby/maven infrastructure but running into problems getting everything sorted.

  • When the jar-dependencies pom is generated into my local repo, it appears to have a bunch of null characters at the end. Not sure if this is a bug in JRuby or Mavengem or the jruby-maven-plugins.
[INFO] [WARNING] The POM for rubygems:jar-dependencies:gem:0.5.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
[INFO] [FATAL] Non-parseable POM /Users/headius/.m2/repository/rubygems/jar-dependencies/0.5.0/jar-dependencies-0.5.0.pom: in epilog non whitespace content is not allowed but got \u0 (position: END_TAG seen ...</build>\n</project>\n\u0... @85:2)  @ line 85, column 2
  • Somehow it still complains about the missing torquebox proxy even though I do not have that configured. Perhaps picking up from some other gem?
[INFO] [INFO] Downloading from mavengems: mavengem:https://rubygems.org/rubygems/adamantium/maven-metadata.xml
[INFO] [INFO] Downloading from central: https://repo.maven.apache.org/maven2/rubygems/adamantium/maven-metadata.xml
[INFO] [INFO] Downloaded from mavengems: mavengem:https://rubygems.org/rubygems/adamantium/maven-metadata.xml (604 B at 25 kB/s)
[INFO] [WARNING] Could not transfer metadata rubygems:adamantium/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [rubygems-prereleases (http://rubygems-proxy.torquebox.org/prereleases, default, snapshots)]
  • Activating the new jar-dependencies when using JRuby 9.4.8.0 for Ruby stuff causes it to complain and fail (0.4.1 is already activated):
[INFO] [INFO] --- exec:3.5.0:exec (default) @ bundle_with_path ---
[INFO] Gem::LoadError: can't activate jar-dependencies-0.5.0, already activated jar-dependencies-0.4.1
[INFO]   check_version_conflict at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:2278
[INFO]                 activate at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:1415
[INFO]                      gem at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_gem.rb:68
[INFO]              synchronize at org/jruby/ext/thread/Mutex.java:171
[INFO]                      gem at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_gem.rb:68
[INFO]                   <main> at bundle.rb:6
[INFO] [ERROR] Command execution failed.

Given the many old versions that I'm trying to update (all pushed to master) I don't believe the integration tests were passing before, but I want to get them passing before I release the updated jar-dependencies.

@mkristian I could use your help here... not sure where I am missing configs to get these integration tests working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions