Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version ranges cause maven exception #88

Closed
sritchie opened this issue Jan 11, 2012 · 1 comment
Closed

Version ranges cause maven exception #88

sritchie opened this issue Jan 11, 2012 · 1 comment
Labels

Comments

@sritchie
Copy link

When I clone and run lein deps in a barebones example project (https://github.com/sritchie/midje-test), I'm getting the following exception:

Caused by: org.apache.maven.artifact.versioning.OverConstrainedVersionException: No versions are present in the repository for the artifact with a range [1.2.0,1.2.0],[1.2.1,1.2.1],[1.3.0,1.3.0]
org.clojure:clojure:jar:null

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
clojars (http://clojars.org/repo/)

Path to dependency:

  1. org.apache.maven:super-pom:pom:2.0
  2. midje:midje:jar:1.3.0

at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:369)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:435)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
at org.apache.maven.artifact.ant.DependenciesTask.doExecuteResolution(DependenciesTask.java:263)
... 35 more

This just started happening in all of my projects, not sure why. I'm on Leiningen 1.6.2, and midje 1.3.0 does exist in my local repo.

@AlexBaranosky
Copy link
Collaborator

closing this time around, since it seems to have cleared itself up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants