You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud Bailly <ab...@oqube.com> on 2009/11/27 14:58:55 UTC

Deploy & unpack artifact to remote target

Hello,
I would like to deploy an artifact to some remote site, maybe using standard
deploy plugin to do that, then unpack the artifact at its target site. Is it
possible to do that using only plugins? I know how to deploy, I know how to
unpack, then I would like to merge the two behaviors, without resorting to
writing a plugin. 

Thanks in advance for your help,
Arnaud Bailly
-- 
View this message in context: http://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26542731.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 & unpack artifact to remote target

Posted by Arnaud Bailly <ab...@oqube.com>.
Thanks Kalle, 
My experience is somewhat close to yours though. But I was hoping to grok
something out of some non-core plugins like repository-tools or dependency.
Seems Wagon is working ok for some simple zip/upload/unzip tasks.

Thanks
Arnaud


Kalle Korhonen-2 wrote:
> 
> At least my experience has been that distributing your app to a target
> system (as opposed to deploying to a standard repo) varies enough on
> case by case basis that a standard plugin typically cannot offer
> enough options for customizing the behavior (unless it's a webapp in
> which case cargo is sufficient). I've successfully used ant scripts
> plugged into my Maven build (via antrun in a profile) for
> distribution.
> 
> Kalle
> 
> 
> On Fri, Nov 27, 2009 at 8:34 AM, Arnaud Bailly <ab...@oqube.com> wrote:
>>
>> That's what I was afraid of :-( Not that the plugin would be very
>> complex...
>>
>> Thanks for the answer
>>
>> Arnaud
>>
>> BRIAN FOX-5 wrote:
>>>
>>> The stage plugin does something similar but it requires scp/ssh to do
>>> it. You will have to create your own plugin to do this, I'm not aware
>>> of one that does exactly as you need.
>>>
>>> On Fri, Nov 27, 2009 at 8:58 AM, Arnaud Bailly <ab...@oqube.com>
>>> wrote:
>>>>
>>>> Hello,
>>>> I would like to deploy an artifact to some remote site, maybe using
>>>> standard
>>>> deploy plugin to do that, then unpack the artifact at its target site.
>>>> Is
>>>> it
>>>> possible to do that using only plugins? I know how to deploy, I know
>>>> how
>>>> to
>>>> unpack, then I would like to merge the two behaviors, without resorting
>>>> to
>>>> writing a plugin.
>>>>
>>>> Thanks in advance for your help,
>>>> Arnaud Bailly
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26542731.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://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26544766.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://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26563586.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 & unpack artifact to remote target

Posted by Kalle Korhonen <ka...@gmail.com>.
At least my experience has been that distributing your app to a target
system (as opposed to deploying to a standard repo) varies enough on
case by case basis that a standard plugin typically cannot offer
enough options for customizing the behavior (unless it's a webapp in
which case cargo is sufficient). I've successfully used ant scripts
plugged into my Maven build (via antrun in a profile) for
distribution.

Kalle


On Fri, Nov 27, 2009 at 8:34 AM, Arnaud Bailly <ab...@oqube.com> wrote:
>
> That's what I was afraid of :-( Not that the plugin would be very complex...
>
> Thanks for the answer
>
> Arnaud
>
> BRIAN FOX-5 wrote:
>>
>> The stage plugin does something similar but it requires scp/ssh to do
>> it. You will have to create your own plugin to do this, I'm not aware
>> of one that does exactly as you need.
>>
>> On Fri, Nov 27, 2009 at 8:58 AM, Arnaud Bailly <ab...@oqube.com> wrote:
>>>
>>> Hello,
>>> I would like to deploy an artifact to some remote site, maybe using
>>> standard
>>> deploy plugin to do that, then unpack the artifact at its target site. Is
>>> it
>>> possible to do that using only plugins? I know how to deploy, I know how
>>> to
>>> unpack, then I would like to merge the two behaviors, without resorting
>>> to
>>> writing a plugin.
>>>
>>> Thanks in advance for your help,
>>> Arnaud Bailly
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26542731.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://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26544766.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 & unpack artifact to remote target

Posted by Arnaud Bailly <ab...@oqube.com>.
That's what I was afraid of :-( Not that the plugin would be very complex...

Thanks for the answer

Arnaud

BRIAN FOX-5 wrote:
> 
> The stage plugin does something similar but it requires scp/ssh to do
> it. You will have to create your own plugin to do this, I'm not aware
> of one that does exactly as you need.
> 
> On Fri, Nov 27, 2009 at 8:58 AM, Arnaud Bailly <ab...@oqube.com> wrote:
>>
>> Hello,
>> I would like to deploy an artifact to some remote site, maybe using
>> standard
>> deploy plugin to do that, then unpack the artifact at its target site. Is
>> it
>> possible to do that using only plugins? I know how to deploy, I know how
>> to
>> unpack, then I would like to merge the two behaviors, without resorting
>> to
>> writing a plugin.
>>
>> Thanks in advance for your help,
>> Arnaud Bailly
>> --
>> View this message in context:
>> http://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26542731.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://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26544766.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 & unpack artifact to remote target

Posted by Brian Fox <br...@infinity.nu>.
The stage plugin does something similar but it requires scp/ssh to do
it. You will have to create your own plugin to do this, I'm not aware
of one that does exactly as you need.

On Fri, Nov 27, 2009 at 8:58 AM, Arnaud Bailly <ab...@oqube.com> wrote:
>
> Hello,
> I would like to deploy an artifact to some remote site, maybe using standard
> deploy plugin to do that, then unpack the artifact at its target site. Is it
> possible to do that using only plugins? I know how to deploy, I know how to
> unpack, then I would like to merge the two behaviors, without resorting to
> writing a plugin.
>
> Thanks in advance for your help,
> Arnaud Bailly
> --
> View this message in context: http://old.nabble.com/Deploy---unpack-artifact-to-remote-target-tp26542731p26542731.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