Needed to also add should this be a dependency of the javadvn
implementation instead?
<dependency>
<groupId>com.sun.jna</groupId>
<artifactId>jna</artifactId>
<version>3.0.5</version>
</dependency>
/James
> -----Original Message-----
> From: Nord, James [mailto:[email protected]]
> Sent: 06 April 2009 17:28
> To: Maven Users List
> Subject: RE: SCM requires that command line svn be used?
>
> Hi Oliver,
>
> Is there any documentation on how to configure this.
>
> Looking at the source I have tried adding the library as
> dependencies to the scm plug-in and running
>
> mvn -Dmaven.scm.provider.svn.implementation=javasvn scm:status
>
> However this fails to use stored local credentials and fails
> with [INFO] [scm:status] [INFO] SVN status directory:
> D:\workspaces\simpleProject\ [ERROR] Provider message:
> [ERROR] SVN status failed.
> [ERROR] Command output:
> [ERROR] svn: Authentication required for
> '<https://svnrepo.myco.com:443> Welcome to My CO.s Subversion
> Repository'
>
> If I just run mvn scm:status it works fine - but uses svn.exe instead.
>
> Authentication is configured in usual svn location for
> windows %APPDATA%\Subversion and is in wincrypt form.
>
> I have authentication present for multiple servers -however I
> tried removing all but the one in question and it still fails.
>
> /James
>
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]]
> On Behalf
> > Of Olivier Lamy
> > Sent: 26 March 2009 22:15
> > To: Maven Users List
> > Subject: Re: SCM requires that command line svn be used?
> >
> > Hi,
> > It's possible with the javasvn implementation. This has been moved
> > recently from the asf repository due to license issue.
> > Now it's here : http://code.google.com/p/maven-scm-provider-svnjava/
> > It will be released after the maven-scm release.
> >
> > HTH,
> > --
> > Olivier
> >
> > 2009/3/26 Chris <[email protected]>:
> > > I'm trying to configure my pom to use an <scm>. We use
> Subversion.
> > > When I run it, I get the error "'svn' is not recognized as
> > an internal
> > > or external command, operable program or batch file.". I
> > take it this
> > > means that svn.exe needs to be on the path, and the plugin
> > is shelling out to access it.
> > >
> > > This is obviously flaky and error prone. In Ant, I can use
> > SvnAnt to
> > > access svn directly, using java alone.
> > >
> > > Is it possible to configure Maven to use one of the
> > svn-java libraries
> > > instead of the command line client?
> > >
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > 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]
> >
> >
>
> **************************************************************
> ************************
> This e-mail is confidential, the property of NDS Ltd and
> intended for the addressee only. Any dissemination, copying
> or distribution of this message or any attachments by anyone
> other than the intended recipient is strictly prohibited. If
> you have received this message in error, please immediately
> notify the [email protected] and destroy the original
> message. Messages sent to and from NDS may be monitored. NDS
> cannot guarantee any message delivery method is secure or
> error-free. Information could be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or contain
> viruses. We do not accept responsibility for any errors or
> omissions in this message and/or attachment that arise as a
> result of transmission. You should carry out your own virus
> checks before opening any attachment. Any views or opinions
> presented are solely those of the author and do not
> necessarily represent those of NDS.
>
> To protect the environment please do not print this e-mail
> unless necessary.
>
> NDS Limited Registered Office: One London Road, Staines,
> Middlesex, TW18 4EX, United Kingdom. A company registered in
> England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00
> **************************************************************
> ************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
**************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the
addressee only. Any dissemination, copying or distribution of this message or
any attachments by anyone other than the intended recipient is strictly
prohibited. If you have received this message in error, please immediately
notify the [email protected] and destroy the original message. Messages sent
to and from NDS may be monitored. NDS cannot guarantee any message delivery
method is secure or error-free. Information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or contain viruses. We do not
accept responsibility for any errors or omissions in this message and/or
attachment that arise as a result of transmission. You should carry out your
own virus checks before opening any attachment. Any views or opinions presented
are solely those of the author and do not necessarily represent those of NDS.
To protect the environment please do not print this e-mail unless necessary.
NDS Limited Registered Office: One London Road, Staines, Middlesex, TW18 4EX,
United Kingdom. A company registered in England and Wales Registered no.
3080780 VAT no. GB 603 8808 40-00
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]