On Mon, Aug 23, 2010 at 07:04, ataggart <alex.tagg...@gmail.com> wrote: > Yes, you can easily work offline. Simply recursively wget the entire > maven repo from http://repo1.maven.org/maven2/ > > It may take a while.
Whatever you do, please DO NOT DO THAT! e.g. http://maven.40175.n5.nabble.com/blacklisted-by-maven-central-repo-and-mirrors-td1045810.html Jason van Zyl-2 Jul 10, 2010; 01:43pm: # No typical usage pattern of Maven, even by a large number of developers, generally # doesn't get you blocked. ***We have heuristics, at least on Maven Central, that detects # scrapers and that will get you instantly blacklisted.*** Sometimes it's a developers within # an organization trying to grab the entire repository without anyone else in the # organization knowing. # # You should definitely use a repository, like Nexus, and privately send me your IP # and I can tell you the behavior that got you blocked from central, if indeed you have # been blocked. (emphasis mine) > Before going into full-on DVCS evangelist mode, you should probably > step back and realize that maven is acting as a dependency management > system, not a source code repository. And yes, maven does cache > dependencies once they're pulled. > > P.S. Please don't change the subject line; google groups is "smart" > enough to recognize that this is the same thread and just renames the > title displayed in the discussions list, thus many (myself included) > might have missed Stuart's announcement. > > > > On Aug 22, 1:43 am, Tim Daly <d...@axiom-developer.org> wrote: >> The fact that Maven uses http bit me today. >> I was working offline in a coffee shop, >> Maven tried to download something dynamically >> and failed. End of my development work. >> >> A git-based version of the system would be much >> more useful (I know, I'm living in a backwater >> country without proper internet but...). >> >> Disk space is cheap. I have a 2T external drive. >> Bandwith is not cheap and my time, at least to me, >> is very expensive. I'd like to just do a git clone >> of Clojure and be able to work anywhere. >> >> Mavens use of http takes me all the way back to a >> CVS/SVN situation where there are certain operations >> I cannot do unless I'm connected. It's the late 90s >> and this shouldn't be a blocking issue anymore. >> >> Can I git-clone Maven so it will reach for a local repo? >> Can I git-clone Clojure with a standalone build system? >> >> Tim Daly >> >> >> >> B Smith-Mannschott wrote: >> > On Sun, Aug 22, 2010 at 09:52, B Smith-Mannschott < bsmith.o...@gmail.com> wrote: >> >> >> Maven uses http, so one can download the various modules of clojure >> >> contrib via a web browser. Snapshot builds are here: >> >> >>http://build.clojure.org/snapshots/org/clojure/contrib/ >> >> >> i.e. >> >> >>http://build.clojure.org/snapshots/org/clojure/contrib/MODULE/VERSION >> >> >> The old monolithic clojure-contrib.jar is now >> >> org.clojure.contrib/complete.jar you can find snapshot builds of it >> >> here: >> >> >>http://build.clojure.org/snapshots/org/clojure/contrib/complete/1.3.0. .. >> >> > Important detail: the one you want is the jar-with-dependencies variant. >> >> > Note: this jar contains not only all modules of clojure-contrib, but >> > also a complete copy of clojure 1.2.0. >> >> > I don't know if that's the intention. I could write a patch that >> > generates a 'complete' variant without clojure 1.2.0, if anyone's >> > interested. >> >> >> hth, >> >> Ben >> >> >> On Sun, Aug 22, 2010 at 08:11, Tom Faulhaber <tomfaulha...@gmail.com> wrote: >> >> >>> A couple of questions: >> >> >>> 1) Does use of clojure-contrib now require maven or leinigen as a >> >>> prerequisite or is there a place to go grab the jar files? >> >>> 2) From my read of this, there is no longer a clojure-contrib.jar, >> >>> just a meta dependency that causes maven to grab all the modules. Is >> >>> that correct? >> >> >>> Tom >> >> >>> On Aug 20, 7:22 am, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: >> >> >>>> Hello, all, >> >> >>>> As planned for some time, clojure-contrib has now been split into many >> >>>> submodules on the "master" branch. >> >> >>>> *** For users of clojure-contrib 1.2.0: nothing changes. >> >> >>>> *** For users of clojure-contrib snapshots: >> >> >>>> New builds of the master branch on github will be available as 1.3.0- >> >>>> SNAPSHOT versions. Each major contrib library has its own module with >> >>>> the groupId "org.clojure.contrib" and an artifactId which is the name >> >>>> of the library. >> >> >>>> For example, to use the clojure.contrib.macro-utils namespace in your >> >>>> projects, add a dependency on group "org.clojure.contrib", artifact >> >>>> "macro-utils", version "1.3.0-SNAPSHOT". >> >> >>>> In Leiningen syntax, this looks like: >> >> >>>> :dependencies [ ... [org.clojure.contrib/macro-utils "1.3.0- >> >>>> SNAPSHOT"] ...] >> >> >>>> In Maven syntax, this looks like: >> >> >>>> <dependencies> >> >>>> ... >> >>>> <dependency> >> >>>> <groupId>org.clojure.contrib</groupId> >> >>>> <artifactId>macro-utils</artifactId> >> >>>> <version>1.3.0-SNAPSHOT</version> >> >>>> </dependency> >> >>>> ... >> >>>> </dependencies> >> >> >>>> If you want to use ALL contrib libraries, add a dependency on group >> >>>> "org.clojure.contrib", artifact "complete", version "1.3.0-SNAPSHOT". >> >>>> This meta-library depends on all other contrib libraries. >> >> >>>> *** For clojure-contrib developers: >> >> >>>> Each library has its own directory under the "modules" directory at >> >>>> the top level of clojure-contrib. Each module directory contains a >> >>>> pom.xml file specifying the name, version number, and dependencies of >> >>>> that library. >> >> >>>> Every module pom.xml declares a "parent" located in the modules/parent >> >>>> directory. The parent pom.xml file defines configuration settings >> >>>> common to all clojure-contrib libraries. Currently the parent pom.xml >> >>>> declares a dependency on Clojure 1.2.0 and sets up clojure-maven- >> >>>> plugin to compile and test Clojure sources. >> >> >>>> Individual libraries may override the parent configuration in their >> >>>> own pom.xml files. >> >> >>>> Building all of clojure-contrib (by running "mvn install" at the top >> >>>> level) can take over 10 minutes. Fortunately, you do not need to >> >>>> build all the modules most of the time. To build just one library, cd >> >>>> to its directory under "modules" and run "mvn install" (or "mvn test" >> >>>> to test). You will need to have already installed, at a minimum, the >> >>>> parent module and any modules your library depends on. >> >> >>>> *** For everyone: >> >> >>>> There will doubtless be some breakage and difficulties during this >> >>>> transition period. Please bear with us. Post your questions to the >> >>>> list, and we will try to answer them as soon as possible. >> >> >>>> Thanks, >> >>>> Stuart Sierra >> >> >>> -- >> >>> 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<clojure%2bunsubscr...@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 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<clojure%2bunsubscr...@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 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