[ http://jira.codehaus.org/browse/MPARTIFACT-48?page=all ] Brett Porter closed MPARTIFACT-48: ----------------------------------
Resolution: Fixed fixed, but please use the new method (maven.repo.list and related properties) instead. The method you are using is deprecated. > jar:deploy fails if project.xml is not in the current directory > --------------------------------------------------------------- > > Key: MPARTIFACT-48 > URL: http://jira.codehaus.org/browse/MPARTIFACT-48 > Project: maven-artifact-plugin > Type: Bug > Versions: 1.4.1 > Environment: Windows XP Pro SP2 - Java 1.5.0 > Reporter: Jean-Luc Wasmer > Fix For: 1.5 > > > When I call maven from a batch file and the project.xml file is not in the > current directory, the jar:deploy goal fails because it doesn't give the > right path to scp: > Executing command: scp project.xml [EMAIL > PROTECTED]:/home/htdocs/maven/profilium-util/poms/profilium-util-0.5-SNAPSHOT.pom > ERROR>project.xml: No such file or directory > Relevant commands in the batch file: > set repodir=D:\development > call maven -X -p "%repodir%\profilium-util\project.xml" %1 > The site:deploy goal works fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]