maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nord, James" <JN...@nds.com>
Subject Javasvn patch
Date Tue, 07 Apr 2009 15:40:41 GMT
Hi Oliver,

I have found and fixed a couple of bugs.

1) support wincrypt encrypted passwords on windows
2) support running info correctly. (it would strip any file and run only
on the base directory) thus an request for info on /path/to/file would
give you the results for /path/to/   it would also only honour the first
entry in the file set.

Tested on windows - Linux/Mac/Solaris/BSD millage may vary.

/James



> -----Original Message-----
> From: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] On 
> Behalf Of Olivier Lamy
> Sent: 06 April 2009 18:46
> To: Maven Users List
> Subject: Re: SCM requires that command line svn be used?
> 
> Hi,
> I have tested only with username/password in the cli : 
> -Dusername= -Dpassword=
> 
> 2009/4/6 Nord, James <JNord@nds.com>:
> > 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: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] 
> 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 <shef31@yahoo.com>:
> >> > 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?
> >> >

**************************************************************************************
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 postmaster@nds.com 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
**************************************************************************************


Mime
View raw message