You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ben short <be...@benshort.co.uk> on 2006/05/21 00:47:56 UTC

[m2] release:prepare 'svn' is not recognized as an internal or external command

Hi,

Im trying to use the release plugin.

I have the following in my pom

<scm>
<connection>scm:svn:svn://192.168.100.20/my-app/trunk</connection>
<developerConnection>scm:svn:svn://192.168.100.20/my-app/trunk</developerConnection>
</scm>

when i try todo the release:prepare command i get the follwoing error

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to check for local modifications
Provider message:
The svn command failed.
Command output:
'svn' is not recognized as an internal or external command,
operable program or batch file.

Any ideas?

Ben

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


Re: [m2] release:prepare 'svn' is not recognized as an internal or external command

Posted by ben short <ja...@gmail.com>.
Ok fixed it. needed -Dusername=your_username

On 5/21/06, ben short <be...@benshort.co.uk> wrote:
> Wayne,
>
> Thanks that worked. Nows its saying it cant get password. do i need to
> add a username and a password element to the scm element in my pom?
>
> Ben
>
> On 5/20/06, Wayne Fay <wa...@gmail.com> wrote:
> > You need to add the "svn" executable to your system path.
> >
> > Type "svn" at the prompt -- if it works, then release:prepare should find it.
> >
> > Wayne
> >
> > On 5/20/06, ben short <be...@benshort.co.uk> wrote:
> > > Hi,
> > >
> > > Im trying to use the release plugin.
> > >
> > > I have the following in my pom
> > >
> > > <scm>
> > > <connection>scm:svn:svn://192.168.100.20/my-app/trunk</connection>
> > > <developerConnection>scm:svn:svn://192.168.100.20/my-app/trunk</developerConnection>
> > > </scm>
> > >
> > > when i try todo the release:prepare command i get the follwoing error
> > >
> > > [ERROR] BUILD FAILURE
> > > [INFO] ------------------------------------------------------------------------
> > > [INFO] Unable to check for local modifications
> > > Provider message:
> > > The svn command failed.
> > > Command output:
> > > 'svn' is not recognized as an internal or external command,
> > > operable program or batch file.
> > >
> > > Any ideas?
> > >
> > > Ben
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

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


Re: [m2] release:prepare 'svn' is not recognized as an internal or external command

Posted by ben short <be...@benshort.co.uk>.
Wayne,

Thanks that worked. Nows its saying it cant get password. do i need to
add a username and a password element to the scm element in my pom?

Ben

On 5/20/06, Wayne Fay <wa...@gmail.com> wrote:
> You need to add the "svn" executable to your system path.
>
> Type "svn" at the prompt -- if it works, then release:prepare should find it.
>
> Wayne
>
> On 5/20/06, ben short <be...@benshort.co.uk> wrote:
> > Hi,
> >
> > Im trying to use the release plugin.
> >
> > I have the following in my pom
> >
> > <scm>
> > <connection>scm:svn:svn://192.168.100.20/my-app/trunk</connection>
> > <developerConnection>scm:svn:svn://192.168.100.20/my-app/trunk</developerConnection>
> > </scm>
> >
> > when i try todo the release:prepare command i get the follwoing error
> >
> > [ERROR] BUILD FAILURE
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Unable to check for local modifications
> > Provider message:
> > The svn command failed.
> > Command output:
> > 'svn' is not recognized as an internal or external command,
> > operable program or batch file.
> >
> > Any ideas?
> >
> > Ben
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: [m2] release:prepare 'svn' is not recognized as an internal or external command

Posted by Wayne Fay <wa...@gmail.com>.
You need to add the "svn" executable to your system path.

Type "svn" at the prompt -- if it works, then release:prepare should find it.

Wayne

On 5/20/06, ben short <be...@benshort.co.uk> wrote:
> Hi,
>
> Im trying to use the release plugin.
>
> I have the following in my pom
>
> <scm>
> <connection>scm:svn:svn://192.168.100.20/my-app/trunk</connection>
> <developerConnection>scm:svn:svn://192.168.100.20/my-app/trunk</developerConnection>
> </scm>
>
> when i try todo the release:prepare command i get the follwoing error
>
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to check for local modifications
> Provider message:
> The svn command failed.
> Command output:
> 'svn' is not recognized as an internal or external command,
> operable program or batch file.
>
> Any ideas?
>
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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