[MINSTALL-198] maven-embedder: second install-file overrides first one
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- build-system
调研方向
从链接的 MRE 开始,复现两次连续的 install:install-file 调用,并将嵌入式行为与 issue 中显示的命令行命令进行比较。跟踪第一次调用的参数如何为第二次调用保留;完成的标准是第二次安装使用其自身的构件元数据,并且不会覆盖本地 Maven 仓库中的第一个 JAR。
由索引模型根据 Issue 内容生成。
描述
Franz-Josef Färber opened MINSTALL-198 and commented
I am using the maven install:install-file goal with both cases: Jar-Files containing a pom-file or not, as described in https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html .
While on the command-line the following works:
mvn install:install-file -Dfile=somefile.jar -DgroupId=somegroup -DartifactId=someartefact -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=someotherfile-containing-a-pom-file.jar
using maven-embedder, it does not work: On the second install:install-file goal, the -DgroupId, -Dartifact parameters from the first call are still somehow present and trigger overriding the first Jar file in the local maven repo.
No further details from MINSTALL-198
- 主要语言
- Java
- 星标
- 43
- 派生
- 44
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 13
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/maven-install-plugin 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 45/100
apache/maven-install-plugin#367 · 1 条评论 ·
维护者通常 1 天内回复
-
bug priority:major
难度 3/5 1-2 天 新手友好度 45/100
apache/maven-install-plugin#251 · 6 条评论 ·
维护者通常 1 天内回复
-
bug priority:major
难度 4/5 3-5 天 新手友好度 35/100
apache/maven-install-plugin#323 · 14 条评论 ·
维护者通常 1 天内回复
-
bug priority:critical
难度 3/5 1-2 天 新手友好度 35/100
apache/maven-install-plugin#315 · 7 条评论 ·
维护者通常 1 天内回复
-
bug priority:minor
难度 3/5 1-2 天 新手友好度 35/100
apache/maven-install-plugin#310 · 4 条评论 ·
维护者通常 1 天内回复
查看 apache/maven-install-plugin 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
checkstyle/checkstyle#21755 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
github/copilot-sdk#2782 ·
维护者通常 1 天内回复
-
documentation Good for newcomer quick win
难度 2/5 1-3 小时 新手友好度 68/100
CodeForPhilly/benefit-decision-toolkit#519 ·
维护者通常 1 天内回复
-
area-deployment triage:bot-seen triage:needs-human
难度 2/5 1-3 小时 新手友好度 68/100
microsoft/aspire#20533 · 1 条评论 ·
维护者通常 1 天内回复