You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Hoffer <DH...@xrite.com> on 2006/11/15 14:36:35 UTC

[m2.04] Install & IDEA goals fail when using set notation

I have problems specifying dependency versions using set notations.
Install goal fails with error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range
[1.18,)
  com.xrite:xrite-commons:jar:null

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  public (http://XRBUILD2:81/proximity/repository/public),
  inhouse (http://XRBUILD2:81/proximity/repository/inhouse)

My current project has a dependency on an inhouse component of version
1.18 or greater.  Another dependent component has a dependency on this
same inhouse component of version 1.15 or greater.  Both of these are in
the inhouse repo (of course) I have 1.18 in my local developer repo.
Why can't I build?  Having 1.18 should satisfy all requirements.

Now if I run IDEA goal it fails saying...

No versions are present in the repository for the artifact with a range
[1.15,)
  com.xrite:xrite-commons:jar:null

It seems that set notation only works if all specify the same range i.e.
[1.18,).  Am I using this wrong?

-dh




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