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 2019/11/15 20:56:00 UTC
[jira] [Comment Edited] (IVY-1614) install task needs to translate
version ranges
[ https://issues.apache.org/jira/browse/IVY-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975393#comment-16975393 ]
Gintas Grigelionis edited comment on IVY-1614 at 11/15/19 8:55 PM:
-------------------------------------------------------------------
It is not limited to install, rather it is a general issue with pom.xml that use version ranges
{code:java}
java -jar ~/.ivy2/jars/ivy.jar -retrieve org.eclipse.emf ecore 2.3.0-v200706262000{code}
results in
{code:java}
...
module not found: org.eclipse.emf#common;[2.3.0,3.0.0)
...{code}
was (Author: gintas):
{code:java}
java -jar ~/.ivy2/jars/ivy.jar -retrieve org.eclipse.emf ecore 2.3.0-v200706262000{code}
results in
{code:java}
...
module not found: org.eclipse.emf#common;[2.3.0,3.0.0)
...{code}
> install task needs to translate version ranges
> ----------------------------------------------
>
> Key: IVY-1614
> URL: https://issues.apache.org/jira/browse/IVY-1614
> Project: Ivy
> Issue Type: Bug
> Affects Versions: 2.4.0
> Reporter: Björn Kautler
> Assignee: Jaikiran Pai
> Priority: Major
>
> Syntax for version ranges is differing between Maven and Ivy.
> If a dependency is installed from a Maven repository and installed to an Ivy repository using the install task, the version ranges need to be translated.
> For example if you install from Maven Central to some Ivy repository the library {{org.eclipse.emf:ecore:2.3.0-v200706262000}}, then you end up with this in your Ivy file:
> {code:xml}
> <dependency org="org.eclipse.emf" name="common" rev="[2.3.0,3.0.0)" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
> {code}
> while in Ivy syntax this should be
> {code:xml}
> <dependency org="org.eclipse.emf" name="common" rev="[2.3.0,3.0.0[" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)