Go-offline won't try to build anything. It's going to attempt to download everything needed from the repositories. If your stuff isn't installed or deployed, then it will choke on it.
-----Original Message----- From: kjohnston [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 1:44 PM To: [email protected] Subject: Re: Building offline That looks like what I want. However, when I run that goal - it fails because it does not find my inter-module dependencies, which have not been built yet. Any suggestions? Wendy Smoak-3 wrote: > > On 6/22/07, kjohnston <[EMAIL PROTECTED]> wrote: > >> I'm having trouble getting Maven to build a project in offline mode. Is >> there a step-by-step procedure document for this? >> >> Here's what I'd like to do: >> - Set up a local file based repository with all the artifacts needed to >> build >> - Run Maven in offline mode, configured to use just a single, local >> repository > > Try 'mvn dependency:go-offline' to retrieve (most of) what you need. > I'm told it's not quite perfect yet, so please report any issues you > discover: http://jira.codehaus.org/browse/MDEP > > Or pick a repository proxy, run it locally, and do all your builds > through that so it gets filled up with what you need. When you're > offline, it won't proxy, but all the existing artifacts will be there > for you to use. > > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Building-offline-tf3966053s177.html#a11258897 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- 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]
