alibaba / alibaba/cloud-native-app-initializer

选中两个需要添加模版文件的依赖项,如果模版文件目标为同一个,git操作会偶尔失败

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
308
Forks
107
PR merge metrics
No merged PRs in 30d

Description

选中例如mybatis和nacos-discovery,都写入了application.properties,实际生成的内容没问题,但使用git获取代码就会报错

image

git clone "https://start.aliyun.com/type=maven-project&language=java&architecture=mvc&bootVersion=2.6.13&baseDir=demo&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&packaging=jar&javaVersion=1.8&dependencies=mybatis,sca-nacos-discovery/demo.git" demo

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported command with mybatis and nacos-discovery, then trace project generation and the Git retrieval path when both dependencies target application.properties. Done means the generated content remains correct and cloning the resulting project succeeds reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.