You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mishkin, Ernest" <er...@mcgraw-hill.com> on 2007/11/14 14:32:16 UTC

Version ranges issue

Dear list,

I've seen a number of threads with this subject in the list's archives
yet none helps me resolve my seemingly stupid issue.

I'm using maven 2.0.7:
==========================================
C:\Source\XMLImport>mvn -version
Maven version: 2.0.7
Java version: 1.6.0_03
OS name: "windows xp" version: "5.1" arch: "x86"
==========================================

I have ant:ant 1.6.5 installed in my local repository:
==========================================
C:\Source\XMLImport>dir "c:\Documents and
Settings\ernest_mishkin\.m2\repository\ant\ant\1.6.5"
 Volume in drive C has no label.
 Volume Serial Number is 60F6-2F5C

 Directory of c:\Documents and
Settings\ernest_mishkin\.m2\repository\ant\ant\1.6.5

10/22/2007  01:49 PM    <DIR>          .
10/22/2007  01:49 PM    <DIR>          ..
10/22/2007  01:49 PM         1,034,049 ant-1.6.5.jar
10/22/2007  01:49 PM                40 ant-1.6.5.jar.sha1
10/22/2007  01:49 PM               764 ant-1.6.5.pom
10/22/2007  01:49 PM                56 ant-1.6.5.pom.sha1
==========================================

I'm trying to use maven-webstart-plugin. It has pack200-anttasks module
which declares its dependencies as follows:
==========================================
<dependencies>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>[1.5,)</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
==========================================

The problem is that maven apparently doesn't take my existing ant:ant
1.6.5 artifact as a valid candidate:
==========================================
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range
[1.5,)
  ant:ant:jar:null
==========================================

Beats me why... Any suggestions, (including RTFM :-) ) will be
appreciated!

Regards,
Ernest


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org