cosmin / IClojure

A better Interactive REPL for Clojure
http://www.iclojure.com
Eclipse Public License 1.0
115 stars 11 forks source link

dep errors for ' lein plugin install lein-iclojure "1.0.0-SNAPSHOT" ' #6

Closed letronje closed 12 years ago

letronje commented 12 years ago

Downloading: net/sf/jline/jline/2.6-SNAPSHOT/jline-2.6-20120211.211349-7.jar from repository sonatype-nexus-snapshots at https://oss.sonatype.org/content/repositories/snapshots Unable to locate resource in repository An error has occurred while processing the Maven artifact tasks. Diagnosis:

Unable to resolve artifact: Missing:

1) net.sf.jline:jline:jar:2.6-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.offbytwo.iclojure:iclojure:jar:1.0.2-SNAPSHOT 3) net.sf.jline:jline:jar:2.6-SNAPSHOT


1 required artifact is missing.

for artifact: org.apache.maven:super-pom:pom:2.0

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

Exception in thread "main" Unable to resolve artifact: Missing:

1) net.sf.jline:jline:jar:2.6-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.offbytwo.iclojure:iclojure:jar:1.0.2-SNAPSHOT 3) net.sf.jline:jline:jar:2.6-SNAPSHOT


1 required artifact is missing.

for artifact: org.apache.maven:super-pom:pom:2.0

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

(NO_SOURCE_FILE:0) at clojure.lang.Compiler.eval(Compiler.java:5440) at clojure.lang.Compiler.eval(Compiler.java:5391) at clojure.core$eval.invoke(core.clj:2382) at clojure.main$eval_opt.invoke(main.clj:235) at clojure.main$initialize.invoke(main.clj:254) at clojure.main$script_opt.invoke(main.clj:270) at clojure.main$main.doInvoke(main.clj:354) at clojure.lang.RestFn.invoke(RestFn.java:551) at clojure.lang.Var.invoke(Var.java:390) at clojure.lang.AFn.applyToHelper(AFn.java:193) at clojure.lang.Var.applyTo(Var.java:482) at clojure.main.main(main.java:37)

Caused by: Unable to resolve artifact: Missing:

1) net.sf.jline:jline:jar:2.6-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.offbytwo.iclojure:iclojure:jar:1.0.2-SNAPSHOT 3) net.sf.jline:jline:jar:2.6-SNAPSHOT


1 required artifact is missing.

for artifact: org.apache.maven:super-pom:pom:2.0

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

at org.apache.maven.artifact.ant.DependenciesTask.doExecuteResolution(DependenciesTask.java:268)
at org.apache.maven.artifact.ant.DependenciesTask.doExecute(DependenciesTask.java:168)
at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:751)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:90)
at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:265)
at leiningen.deps$do_deps.invoke(deps.clj:133)
at leiningen.deps$deps.doInvoke(deps.clj:198)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at leiningen.install$install.invoke(install.clj:75)
at leiningen.plugin$install.invoke(plugin.clj:52)
at leiningen.plugin$plugin.invoke(plugin.clj:83)
at clojure.lang.Var.invoke(Var.java:373)
at clojure.lang.AFn.applyToHelper(AFn.java:167)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.core$apply.invoke(core.clj:540)
at leiningen.core$apply_task.invoke(core.clj:265)
at leiningen.core$_main.doInvoke(core.clj:331)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:334)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)
... 11 more

Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:

1) net.sf.jline:jline:jar:2.6-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.sf.jline -DartifactId=jline -Dversion=2.6-20120211.211349-7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) org.apache.maven:super-pom:pom:2.0 2) com.offbytwo.iclojure:iclojure:jar:1.0.2-SNAPSHOT 3) net.sf.jline:jline:jar:2.6-SNAPSHOT


1 required artifact is missing.

for artifact: org.apache.maven:super-pom:pom:2.0

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

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
at org.apache.maven.artifact.ant.DependenciesTask.doExecuteResolution(DependenciesTask.java:263)
... 36 more
cosmin commented 12 years ago

Ah, jline 2.6 has been release so I assume 2.6-SNAPSHOT has been dropped from the repository. I'll release 1.0.0 of lein-iclojure shortly.

letronje commented 12 years ago

thnx

cosmin commented 12 years ago

This should now work

lein plugin install lein-iclojure 1.0