Indeed, that is a good use case which maven can't handle out of the box. It can cause trouble with other artifacts also. (Being overwritten while used) The times it came up on the list before people suggested to use a different local repository for each build. You can set the local repository location through the use of a parameter:
mvn -Dmaven.repo.local=/some-location clean install Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, Oct 24, 2008 at 2:43 PM, IvanPopov <[EMAIL PROTECTED]> wrote: > > I have a continuous integration tool that can run process in parallel. > So, if I have a process that install a jar in my local repository that is > already used by another process, > it can lead to NoClassDefFoundError because the jar has been replaced by the > one just built. > > The best for me is just to deploy my artifact without any impact on my local > repository. > > > Nick Stolwijk-4 wrote: >> >> The maven-install-plugin has no option to skip it and I can't think of >> a good use case why you want to skip it. Could you please explain why >> you want to skip the install plugin? >> >> With regards, >> >> Nick Stolwijk >> ~Java Developer~ >> >> Iprofs BV. >> Claus Sluterweg 125 >> 2012 WS Haarlem >> www.iprofs.nl >> >> >> >> On Fri, Oct 24, 2008 at 12:10 PM, IvanPopov <[EMAIL PROTECTED]> wrote: >>> >>> Sorry my lack of precision, but my issue relates on deploy:deploy goal. >>> >>> >>> >>> Nick Stolwijk-4 wrote: >>>> >>>> As far as I know deploy:deploy-file would not install the artifact in >>>> your local repository. >>>> >>>> Hth, >>>> >>>> Nick Stolwijk >>>> ~Java Developer~ >>>> >>>> Iprofs BV. >>>> Claus Sluterweg 125 >>>> 2012 WS Haarlem >>>> www.iprofs.nl >>>> >>>> >>>> >>>> On Fri, Oct 24, 2008 at 11:38 AM, IvanPopov <[EMAIL PROTECTED]> wrote: >>>>> >>>>> Hi, >>>>> >>>>> Is it possible to deploy an artifact on a remote repository without >>>>> installing it on my local repository ? >>>>> >>>>> Regards. >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Deploy-plugin-issue-tp20147137p20147137.html >>>>> 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] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Deploy-plugin-issue-tp20147137p20147508.html >>> 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] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Deploy-plugin-issue-tp20147137p20149361.html > 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]
