You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Gintas Grigelionis (JIRA)" <ji...@apache.org> on 2018/03/21 21:57:00 UTC
[jira] [Commented] (IVY-1302) Unbounded Maven version ranges that
end with ] are not supported
[ https://issues.apache.org/jira/browse/IVY-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408640#comment-16408640 ]
Gintas Grigelionis commented on IVY-1302:
-----------------------------------------
The documentation has moved to https://cwiki.apache.org/confluence/display/MAVENOLD/Dependency+Mediation+and+Conflict+Resolution
> Unbounded Maven version ranges that end with ] are not supported
> ----------------------------------------------------------------
>
> Key: IVY-1302
> URL: https://issues.apache.org/jira/browse/IVY-1302
> Project: Ivy
> Issue Type: Bug
> Components: Maven Compatibility
> Affects Versions: 2.2.0
> Environment: Maven Ant Tasks 2.1.1. Windows & Mac.
> Reporter: John Gibson
> Priority: Minor
>
> Maven allows unbounded version ranges of the form: [1.2.3,] meaning version 1.2.3 or any later version. When Ivy interprets POMs with this format it causes errors like:
> [ivy:resolve] module not found: invalid.example#somelib;[1.2.3,]
> [ivy:resolve] ==== m2-local: tried
> [ivy:resolve] C:\Documents and Settings\joeuser\.m2\repository/invalid/example/somelib/[1.2.3,]/somelib-[1.2.3,].pom
> [ivy:resolve] -- artifact invalid.example#somelib;[1.2.3,]!somelib.jar:
> [ivy:resolve] C:\Documents and Settings\joeuser\.m2\repository/invalid/example/somelib/[1.2.3,]/somelib-[1.2.3,].jar
> [ivy:resolve] ==== mapsrv: tried
> [ivy:resolve] http://some-repo.example.invalid/artifactory/repo/invalid/example/somelib/[1.2.3,]/somelib-[1.2.3,].pom
> Note that unbounded ranges like [1.2.3,) behave correctly. I imagine there could be similar problems for ranges like [,1.0], but I haven't tested them in either Ivy or Maven.
> Here's some information about Maven version ranges, it doesn't explicitly list [1.2.3,] as a possibility, but Maven accepts it as a valid range nonetheless.
> http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)