I don't really see the problem here. mvn clean install && mvn deploy:deploy
I'm sure there is an equivalent if you're building under Windows. Stefan On Wed, 25 Mar 2009 21:37:29 -0500 Jim McCaskey <[email protected]> wrote: > I have a whole bunch of components that are mostly interrelated but > consumable individually by downstream builds. If I run deploy it basically > starts deploying as it goes, so if a downstream component breaks for some > reason then I am left with half of the components updated in the maven repo > and half not. That's not really what we want. > > So ideally, we would run a build/test, make sure it all gets through > completely, then deploy the resulting artifacts. > > -Jim > > -----Original Message----- > From: Brian E. Fox [mailto:[email protected]] > Sent: Wednesday, March 25, 2009 9:20 PM > To: Maven Users List > Subject: RE: How to perform a deploy only > > This really isn't a supported use case. Deploy is a phase and by > definition all earlier phases run before the one you've asked for. Why > would you not want to build before you deploy? > > -----Original Message----- > From: Jim McCaskey [mailto:[email protected]] > Sent: Wednesday, March 25, 2009 10:17 PM > To: '[email protected]' > Subject: How to perform a deploy only > > Hello all, > > I have several components all built from a top level pom. This works > great for accelerating users to be able to build a lot of stuff quickly > but is giving me some fits when trying to deploy. Up to this point I > have been using deploy:deploy-file to get built components into our > local repository after a full build is successful, but this is labor > intensive. > > I would like to be able to run some variation of "mvn deploy" from the > top level. I have figured out how to skip things using the FAQ here: > > http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip > > But I do NOT want it to do anything other than deploy. I have googled > for this but have not turned up anything useful. I was surprised that > the documentation does not suggest how to do this. This is the correct > deploy documentation I think. > > http://maven.apache.org/plugins/maven-deploy-plugin/ > > Anyway, any help would be appreciated. > > Thanks! > > -Jim > > > --------------------------------------------------------------------- > 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] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Mit freundlichen Grüßen, Stefan Seidel Software-Entwickler ________________________ VUB Printmedia GmbH Chopinstraße 4, 04103 Leipzig tel. +49 (341) 9 60 50 93 fax. +49 (341) 9 60 50 92 mail. [email protected] web. www.vub.de VUB Printmedia GmbH HRB Köln 24015 GF Dr. A. Preuss Neudorf, Dr. C. Preuss Neudorf --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
