You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ravi kumar <ma...@yahoo.com> on 2006/02/16 16:09:51 UTC

repository:copy-jar problem

hai,
    i getting the problem in using the repository:copy-jar

the goal that i run is:

maven -DgroupId=activation -Dtype=jar -Dartifact=${maven.repo.home}\activation\activation-1.0.jar repository:copy-jar

error that i got
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


my build.properties file :

maven.repo.remote=http://mkeux353:8080/OEMaven/repository, http://www.ibiblio.org/maven

maven.repo.list= OeIfpRepository
maven.repo.OeIfpRepository=*****
maven.repo.OeIfpRepository.username=******
maven.repo.OeIfpRepository.password=*******
maven.repo.OeIfpRepository.directory=/users/maven
---------------

the user name and pass and repository url are correct. because i run artifact:deploy  goal successfully.  please tell me what is the wrong and we have to specify any more properties in build.xml file.

please tell me , i am waiting for your solution.

if it is wrong place to writing my issues here , i am sorry.
thank you


			
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

Re: repository:copy-jar problem

Posted by Brett Porter <br...@gmail.com>.
On 2/17/06, ravi kumar <ma...@yahoo.com> wrote:
> 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

This means that Windows could not find "ssh" on your path. You need to
install cygwin, or putty (and set maven.ssh.executable). The
repository plugin is no longer uspported - it does not use the
properties you listed below. You need to set maven.repo.central,
maven.username and maven.repo.central.directory instead. Putty will
have to have a private key installed and pageant running if you use
that.

There are plenty of resources on the web for help with this, and mails
in the archives.

> if it is wrong place to writing my issues here , i am sorry.

Yes, you're unlikely to get answers when you post to more than one
list. Please only send your maven questions to users@maven.apache.org.
Thanks.

- Brett

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