[ARCHETYPE-550] multi-module partial archetype not supported

未关闭
#545 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
build-system

调研方向

从附加的 ARCHETYPE-550_maven-archetype.patch 和部分实现的多模块 archetype 生成路径开始。在现有的多模块项目上重新执行生成,然后验证现有的 POM 是否已合并、新模块和文件是否已添加,以及覆盖现有文件是否会报告错误。

由索引模型根据 Issue 内容生成。

描述

bug priority:major

Erwin Guib opened ARCHETYPE-550 and commented

When one generates an partial multimodule archetype on top of an existing multimodule project this will not work.

The message "Modules ignored in partial mode" and the archetype is not applied.

 

Applying an partial multimodule archetype on an existing multimodule project should work as for "simple" projects:

  • existing pom/module poms are merged
  • new modules are added to the multimodule project
  • new files are added to the project
  • attempt to overwrite an existing file triggers an error

 

Attached a (git diff > fileName) patch that fixes the issue.


Affects: 3.0.1, 3.1.0

Attachments:

1 votes, 2 watchers

主要语言
Java
星标
147
派生
186
平均合并
11 小时 43 分钟
30 天内合并 PR
35

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/maven-archetype 的其他 Issue

查看 apache/maven-archetype 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。