Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#169 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
build-system

調査の方向性

ソースファイルやテストは指定されていません。まず install plugin がどのようにアーティファクトを選択して名前を付けるのかを追跡し、次にその動作を、説明されている assembly および exec plugin のワークフローと比較してください。完了とみなすには、名前を変更した tar.gz を jar とともにインストールする方法が明確に指定されている必要があります。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Java
スター
42
フォーク
44
平均マージ
1日 10時間
マージ済み PR(30日)
15

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/maven-install-plugin のほかの issue

apache/maven-install-plugin の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。