Support groupId: artifactId: version format
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
### New feature, improvement proposal
Maven pom.xml uses the following format to configure dependencies, which is particularly inconvenient to view when there are many dependencies in the project, as computer screens are not particularly large
```xml
org.apache.curator
curator-recipes
${curator.version}
```
Can the following format configuration be supported, where a five line XML tag only requires one line
```
groupId:artifactId:version
```
eg:
```
org.apache.curator:curator-recipes:${curator.version}
```
Contributor guide
Research direction
Start with Maven's dependency element in pom.xml and trace how its groupId, artifactId, and version are parsed. The issue does not name implementation files or tests, so first locate the existing POM parsing path and its dependency coverage. Done means the compact groupId:artifactId:version form is accepted without breaking the existing five-line XML form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100