You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by IvanPopov <iv...@free.fr> on 2008/10/24 11:38:41 UTC

Deploy plugin issue

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy plugin issue

Posted by Nick Stolwijk <ni...@gmail.com>.
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 <iv...@free.fr> 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 <iv...@free.fr> 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 <iv...@free.fr> 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: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy plugin issue

Posted by IvanPopov <iv...@free.fr>.
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 <iv...@free.fr> 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 <iv...@free.fr> 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: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy plugin issue

Posted by Nick Stolwijk <ni...@gmail.com>.
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 <iv...@free.fr> 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 <iv...@free.fr> 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: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy plugin issue

Posted by IvanPopov <iv...@free.fr>.
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 <iv...@free.fr> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploy plugin issue

Posted by Nick Stolwijk <ni...@gmail.com>.
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 <iv...@free.fr> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org