You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ravi kumar <ma...@yahoo.com> on 2006/02/15 11:52:40 UTC
How can I upload artifacts in our remote repository through maven goals?
hi,
i am not able to undersand this solution because i dont know the terms that you wrote in this mail those are.
scp and scpexe and ssh. could you please tell me what should i know to do this task.
my task is to upload our artifacts in our remote repository.
could you please tell me that concept should i know to complete this task.
i am getting the problem like this :
by running this goal:
maven -DgroupId=activation -Dtype=jar -Dartifact=D:\Daven\activation-1.0 repository:copy-artifact
error:
Execute failed: java.io.IOException: CreateProcess: ssh -l USERNAME_NOT_SET "mkdir -p /activation/jars/; chmod g+ws /activation/jars/; chgrp maven /activation/jars/" error=2
__ __
thanks and regards
ravikumar.maddi
hi Luca, I'm very interested in your use of a docroot.
we also have a webroot defined under tomcat with an absolute path to
the M2
repository.
like /m2-repo with a path of /absolute/path/to/m2/repository
I've gotten ftp and scpexe to work for deploys, but I haven't been able
to
deploy using the webroot.
The docroot url I tried was <url>xxx://server:port/m2-repo</url>
I've gotten deploy to work with ftp and scpexe using
<url>xxx://server/absolute/path/to/repository</url>
Can you share a bit more about how you used the docroot?
We're using apache-tomcat-5.5.12
when you mentioned 'scp' did you mean scp or scpexe?
which wagon and version did you use in the extension?
did you define the docroot anywhere else in maven?
was there anything in settings.xml or the pom that was needed to make
the
docroot url work?
Thank you for any help you can provide.
Tom
"Luca Gmail" <lu...@gmail.com> wrote on 02/14/2006 06:23:09 AM:
>
> This is the solution im using:
> I ve a web server I use as reomote (internal) repository. Asscociated
with
> the url referencing the remote repo there is a docroot.
> I use the deploy goal to copy (via scp) my artifact to the docroot.
>
>
> -----Original Message-----
> From: ravi kumar [mailto:maddiravikumar@yahoo.com]
> Sent: martedì 14 febbraio 2006 10.03
> To: commits; dev; dev; dev; dion; ggolden; Maven Help; Maven Help;
users
> Subject: How can I store artifacts in our remote repository?
>
>
> Hi,
> I am Ravikumar. I came to get help form you. That is :
>
> How can I store artifacts in our remote repository?
>
> Could you please give the solution for this? I am waiting for you
> solution?.
>
> Thanks and Regards,
> Ravikumar.M
>
>
>
> ---------------------------------
> Yahoo! Mail
> Use Photomail to share photos without annoying attachments.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
This message is intended for the recipient only and is not meant to be
forwarded or distributed in any other format. This communication is for
informational purposes only. It is not intended as an offer or
solicitation for the purchase or sale of any financial instrument, or
security, or as an official confirmation of any transaction. Putnam does not
accept purchase or redemptions of securities, instructions, or
authorizations that are sent via e-mail. All market prices, data and other
information are not warranted as to completeness or accuracy and are
subject to change without notice. Any comments or statements made herein do
not necessarily reflect those of Putnam, LLC (DBA Putnam Investments)
and its subsidiaries and affiliates. If you are not the intended
recipient of this e-mail, please delete the e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.