apache / apache/maven

Support groupId: artifactId: version format

Open
#11,500 7 comments 2 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.