ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Maven Project Reporting and Publishing, Part 1
Subject:   repository:copy-jar problem
Date:   2006-02-16 22:53:10
From:   Ravikumar.Maddi
Hi ,
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



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 is 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.properties file.



could you please solve the probem.


thanks and regards,
ravikumar.maddi