apache / apache/maven

[MNG-8652] Support prefix version ranges for better interoperatibility

Open
#10,441 0 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

**[Arkadiusz Biczewski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=axi)** opened **[MNG-8652](https://issues.apache.org/jira/browse/MNG-8652?redirect=false)** and commented

When working in distributed teams with some of them using gradle build system for their artefacts, some pom(s) file published to repostiroy may contain prefix-style version ranges which results in build error when used with maven pom:

**Could not find artifact groupId:artifactName:jar:2.0.0.+ in central**

As gradle support maven version range syntax: https://docs.gradle.org/current/userguide/dependency_versions.html it would be nice and welcomed to also provide interoperatibility in second way, that means supporting gradle prefix syntax of version ranges in maven. 

As stated in the sample, and as possible with bracket maven style version ranges, support should be not only for sematic versioning but also for more detailed versioning seperatd with dots.

---

**Issue Links:**
- [MNG-8569](https://issues.apache.org/jira/browse/MNG-8569) Deprecate and remove version ranges

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.