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

[MINSTALL-170] more control over what artifacts to be installed.

Đang mở
#169 3 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
build-system

Hướng nghiên cứu

Không có tệp mã nguồn hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách lần theo cách install plugin lựa chọn và đặt tên cho các artifact, sau đó so sánh hành vi đó với workflow của assembly và exec plugin được mô tả; công việc chỉ được xem là hoàn tất khi có một cách được đặc tả rõ ràng để cài đặt tar.gz đã đổi tên cùng với jar.

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

Mô tả

enhancement priority:major

Ernst Reissner opened MINSTALL-170 and commented

Maybe it is the wrong way to file a feature request but maybe this is the best way to come into contact with the development team.

My problem is that I want to deploy both a jar and a tar.gz file.
The latter I create with an assembly plugin.
Unfortunately, the assembly plugin forces the name artifact-version-assId.tar.gz
and offers no way to have empty assId.
The tar.gz is used in another software which strictly speaking requires artifact-version.tar.gz.

So I had the simple idea to just move artifact-version-assId.tar.gz to artifact-version.tar.gz
using exec plugin in a phase before install.

Well of course i want the install plugin to install now artifact-version.tar.gz instead of artifact-version-assId.tar.gz.
But the install plugin still wants to use the original artifact.

My somehow academical question would be how install plugin determines the artifact to be installed and to modify that info appropriately.
It seems to have nothing to do with the packaging as the original tar.gz is installed also.

If I need to define another kind of packaging.... installing other kinds of artifacts,
may I reuse the install plugin????

Help very much appreciated.


Affects: 3.0.0-M1

Ngôn ngữ chính
Java
Star
42
Fork
44
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
15

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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/maven-install-plugin

Tất cả issue của apache/maven-install-plugin

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.