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

The refactoring of a package that contains the main class is not propagated to POM.xml

Đang mở
#9,663 1 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
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
build-system

Hướng nghiên cứu

Start by reproducing the reported workflow in a Java Maven project: build the JAR, rename the main package, and inspect the element in POM.xml. Then trace how NetBeans package refactoring updates Maven project metadata. Done means the element reflects the renamed main class and the JAR runs successfully.

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

Mô tả

Java kind:bug Maven needs:triage pending-response
Apache NetBeans version

Apache NetBeans 31

What happened

If the main class' project is renamed, the old name remains in the POM.xml element.

Language / Project Type / NetBeans Component

Java Maven

How to reproduce

Create a Java Maven project.
Build the JAR.
It will run successfully.
Refactor the main package by renaming.
The JAR will fail to run by not finding the main class.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux

JDK

21

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Ngôn ngữ chính
Java
Star
3.1k
Fork
939
Merge trung bình
3 ngày 22 giờ
Pull request đã merge (30 ngày)
41

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 apache/netbeans

Tất cả issue của apache/netbeans

Issue tương tự

Thêm issue về Java

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.