Could not find artifact org.clojure:clojure:pom:1.2.0-master-SNAPSHOT in central

153 views
Skip to first unread message

ljcp...@gmail.com

unread,
Sep 27, 2013, 11:21:26 PM9/27/13
to clo...@googlegroups.com
Hi,
  I run "lein deps",    then error message:
D:\clojure\4clojure-develop>lein deps
Could not find artifact org.clojure:clojure:pom:1.2.0-master-SNAPSHOT in central
 (http://repo1.maven.org/maven2)
Could not find artifact org.clojure:clojure:pom:1.2.0-master-SNAPSHOT in clojars
 (https://clojars.org/repo/)
Could not find artifact org.clojure:clojure:pom:1.2.0-master-SNAPSHOT in clojure
 (http://build.clojure.org/releases)
Could not find artifact org.clojure:clojure:pom:1.2.0-master-SNAPSHOT in clojure
-snapshots (http://build.clojure.org/snapshots)

the project.clj :
(defproject foreclojure "1.3.0.1"
  :description "4clojure - a website for lisp beginners"
  :dependencies [[org.clojure/clojure "1.2.1"]
                 [org.clojure/clojure-contrib "1.2.0"]
                 [compojure "1.1.5"]
                 [hiccup "0.2.4"]
                 [clojail "0.4.0-SNAPSHOT"]
                 [sandbar "0.4.0-SNAPSHOT"]
                 [org.clojars.christophermaier/congomongo "0.1.4-SNAPSHOT"]
                 [org.jasypt/jasypt "1.7"]
                 [useful "0.7.0-beta1"]
                 [amalloy/ring-gzip-middleware "[0.1.0,)"]
                 [clj-github "1.0.1"]
                 [ring "0.3.7"]
                 [clj-config "0.1.0"]
                 [incanter/incanter-core "1.2.3"]
                 [incanter/incanter-charts "1.2.3"]
                 [org.apache.commons/commons-email "1.2"]]
  :dev-dependencies [[lein-ring "0.4.5"]
                     [swank-clojure "1.2.1"]
                     [midje "1.1.1"]]
  :main foreclojure.core
  :ring {:handler foreclojure.core/app
         :init foreclojure.mongo/prepare-mongo})

who can give some explain? thank you!

Ambrose Bonnaire-Sergeant

unread,
Sep 27, 2013, 11:25:01 PM9/27/13
to clojure
Hi,

Use `lein deps :tree` to figure out what the clojure 1.2.0-master-SNAPSHOT release is transitively depending on.

You can then exclude the dependency like this for the problematic "lib": [lib "0.1" :exclusions [org.clojure/clojure]]

Thanks,
Ambrose


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

James Reeves

unread,
Sep 28, 2013, 3:25:37 AM9/28/13
to clo...@googlegroups.com
The 4clojure 1.3.0.1 version is very old, and it looks like you're trying to use a modern dependency (compojure 1.1.5) with many old dependencies, which probably isn't going to go well even if you fix the deps problem.

Why not update the repository to the latest 2.0.0-rc2 version and work off that?

- James


Reply all
Reply to author
Forward
0 new messages