apache / apache/maven

[MNG-8205] Deprecate o.a.m.artifact

Open
#10,770 3 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[MNG-8205](https://issues.apache.org/jira/browse/MNG-8205?redirect=false)** and commented

The classes within `org.apache.maven.artifact` (https://github.com/apache/maven/tree/master/maven-artifact/src/main/java/org/apache/maven/artifact) mostly duplicate code from Maven Resolver API (https://github.com/apache/maven-resolver/tree/master/maven-resolver-api/src/main/java/org/eclipse/aether). Therefore they should be deprecated and consumers should use the -Resolver API- Maven 4 API (https://github.com/apache/maven/tree/master/api/maven-api-core/src/main/java/org/apache/maven/api) directly.

---

**Issue Links:**
- [MNG-8192](https://issues.apache.org/jira/browse/MNG-8192) DefaultArtifact constructor no longer accepts empty version

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.