Try adding the "-o" (for offline) option to the Maven command line.
-SS On Feb 2, 6:20 am, Ramakrishnan Muthukrishnan <vu3...@gmail.com> wrote: > Hi, > > I am trying to package clojure-contrib for Debian and one of the > debian java packaging practices is that the build should not download > any external dependencies. All the dependencies should be debian > packages themselves. > > I tried building clojure-contrib with mvn -Dclojure.jar=<path to > locally built clojure.jar> as detailed in the README.txt, but maven > seem to ignore this and download the jar from the build server. To > replicate this, please try removing > ~/.m2/repository/org/clojure/clojure directory. I also tried passing > the -o flag to maven, but it fails to take the local clojure.jar file. > I am very new to java build systems like maven, so it is very likely > that I am missing something. I will be happy to try out any > suggestions I can get from here. > > thanks > -- > Ramakrishnan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en