Re: Using Maven without an intyernet connection
If you can run maven on an internet connected computer first to download all the dependencies then you could just copy the ~/.m2/ repository/ directory to the computer without the internet and run maven in offline mode (mvn -o) Andy On 19 Mar 2007, at 07:17, Ivan Biddles wrote: Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
If your development machine is not connected to the internet, but IS connected to an internal network that has other systems connected to the internet, you could use one of the maven proxies/managers such as Archiva on one of those connected machines. On 3/19/07, Andrew Williams [EMAIL PROTECTED] wrote: If you can run maven on an internet connected computer first to download all the dependencies then you could just copy the ~/.m2/ repository/ directory to the computer without the internet and run maven in offline mode (mvn -o) Andy On 19 Mar 2007, at 07:17, Ivan Biddles wrote: Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? On Mon, 2007-03-19 at 14:26 +, Andrew Williams wrote: If you can run maven on an internet connected computer first to download all the dependencies then you could just copy the ~/.m2/ repository/ directory to the computer without the internet and run maven in offline mode (mvn -o) Andy On 19 Mar 2007, at 07:17, Ivan Biddles wrote: Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? See 'Creating your own mirror' at the bottom of this page: http://maven.apache.org/guides/mini/guide-mirror-settings.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
Quite a while back (possilby 2 years ago) I did that using wget. Be advised you're probably going to need several gig of disk space for it. On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? On Mon, 2007-03-19 at 14:26 +, Andrew Williams wrote: If you can run maven on an internet connected computer first to download all the dependencies then you could just copy the ~/.m2/ repository/ directory to the computer without the internet and run maven in offline mode (mvn -o) Andy On 19 Mar 2007, at 07:17, Ivan Biddles wrote: Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
Yep - rsync will definitely work better than wget. On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? See 'Creating your own mirror' at the bottom of this page: http://maven.apache.org/guides/mini/guide-mirror-settings.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven without an intyernet connection
Yes, do not wget the repository: http://maven.apache.org/community.html under Being a Good Maven Citizen Eric On 3/19/07, Thierry Lach [EMAIL PROTECTED] wrote: Yep - rsync will definitely work better than wget. On 3/19/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/19/07, Paul Gier [EMAIL PROTECTED] wrote: What's the easiest way to download the whole central repository? Is there a maven plugin to do that? Or is there some way to get a zip of the whole thing? See 'Creating your own mirror' at the bottom of this page: http://maven.apache.org/guides/mini/guide-mirror-settings.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Using Maven without an intyernet connection
Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan.
Re: Using Maven without an intyernet connection
On Monday, March 19, 2007 15:17, Ivan Biddles wrote: Hi, I am integrating several open source projects into an application and some of these projects are built with Maven, which I have not used to date. I have read the FAQs etc. but I could not find a mention of being able to do a Maven build on a machine that is not directly connected to the Internet or whether such a connection is a prerequisite. My situation is that my development machine is not connected but I do need to be able to build some of these projects. Is there some way that Maven supports this disconnected build? Thanks. Best wishes, Ivan. Hi Ivan, Unfortunately, Maven needs an internet connection to download all the dependencies of your project from the central repository (ibiblio). However, once it has all the needed artifacts (dependencies), you can do an offline build by appending a -o in the command line. You can read more about repositories here: http://maven.apache.org/guides/introduction/introduction-to-repositories.html HTH, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]