This works for me

  maven -d "%repodir%\profilium-util %1

never try -p option before.

-D

On 5/18/05, Jean-Luc Wasmer <[EMAIL PROTECTED]> wrote:
> Hi group,
> 
> 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
> 
> Is this a known bug ?
> The site:deploy goal works fine.
> 
> JL
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to