Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

jruby-jars gem build fails in snapshot builds

Đang mở
#9,725 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java, ruby
Lĩnh vực
build-system

Hướng nghiên cứu

Start by tracing the jruby-jars Maven gem packaging step and how its gem specification lists the missing JAR files; the build log identifies gem-maven-plugin:3.0.6:package as the failing entry point. Reproduce the snapshot build and check whether the packaged files match the specification. Done when the snapshot build no longer fails while packaging the gem.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

This doesn't really affect anything since it does not normally push to Sonatype, but it makes the snapshot builds look like they failed.

[WARNING] OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["lib/jruby-core-10.1.2.0-complete.jar", "lib/jruby-stdlib-10.1.2.0.jar"] are not files
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification_policy.rb:522:in 'error'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification_policy.rb:290:in 'validate_non_files'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification_policy.rb:77:in 'validate_required!'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification_policy.rb:47:in 'validate'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/specification.rb:2532:in 'validate'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:298:in 'build'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/package.rb:137:in 'build'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/build_command.rb:87:in 'build_package'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/build_command.rb:77:in 'build_gem'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/commands/build_command.rb:68:in 'execute'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command.rb:326:in 'invoke_with_build_args'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:252:in 'invoke_command'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:193:in 'process_args'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/command_manager.rb:151:in 'run'
	uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/gem_runner.rb:56:in 'run'
	/Users/headius/work/jruby/maven/jruby-complete/target/jruby-complete-10.1.3.0-SNAPSHOT.jar!/META-INF/jruby.home/bin/jgem:21:in '<main>'
	org/jruby/RubyKernel.java:1403:in 'load'
	/Users/headius/work/jruby/maven/jruby-complete/target/jruby-complete-10.1.3.0-SNAPSHOT.jar!/META-INF/jruby.home/bin/gem:4:in '<main>'
	org/jruby/RubyKernel.java:1403:in 'load'
	-e:1:in '<main>'

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JRuby 10.1.3.0-SNAPSHOT:
[INFO] 
[INFO] JRuby .............................................. SUCCESS [  0.356 s]
[INFO] JRuby Base ......................................... SUCCESS [ 13.901 s]
[INFO] JRuby Core ......................................... SUCCESS [  3.667 s]
[INFO] JRuby Lib Setup .................................... SUCCESS [  3.388 s]
[INFO] JRuby Artifacts .................................... SUCCESS [  0.006 s]
[INFO] JRuby Main Maven Artifact .......................... SUCCESS [  0.670 s]
[INFO] JRuby Complete ..................................... SUCCESS [ 13.060 s]
[INFO] JRuby Dist ......................................... SUCCESS [02:31 min]
[INFO] JRuby Jars Gem ..................................... FAILURE [  2.461 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:11 min
[INFO] Finished at: 2026-09-21T18:02:33-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jruby.maven:gem-maven-plugin:3.0.6:package (default-package) on project jruby-jars: Execution default-package of goal org.jruby.maven:gem-maven-plugin:3.0.6:package failed: Java returned: 1 -> [Help 1]
Ngôn ngữ chính
Ruby
Star
3.9k
Fork
951
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
97

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của jruby/jruby

Tất cả issue của jruby/jruby

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.