Hi You have to sign up at http://xircles.codehaus.org/ to be able to record issue.
Regards Eric -----Message d'origine----- De : Akanksha Dayal [mailto:[email protected]] Envoyé : mercredi 3 juillet 2013 17:51 À : Olivier Lamy Cc : Maven Developers List Objet : Re: Issue# svn scm maven plugin doenot work with special character @ in SVN passwords Hi Oliver, I'd need permissions from Jira admins to be a member in order to record the issue at http://jira.codehaus.org/browse/SCM , not sure how to approach them (help?). I'm trying to connect to Svn/Perforce Scm to access the repository. And when my Scm password contains a '@' I get error since the hostname is not parsed correctly. I bumped into this issue while working with scm svn maven plugin. To recreate this bug: 1. set svn password to something like 123@abc (anything with '@') 2. try to import the svn/perforce repository using maven plugin 3. the error would be because the host name is messed up. This happens because the repository url path is parsed looking at @ index. The fix is as below (for Svn, for perforce it's going to be similar): in file org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository (ln 162) available at: maven-scm-plugin/maven-scm-providers/maven-scm-providers-svn/maven-scm-provi der-svn-commons/src/main/java/org/apache/maven/scm/provider/svn/repository/S vnScmProviderRepository.java - int indexAt = urlPath.indexOf( "@" ); + int indexAt = urlPath.lastIndexOf( "@" ); Also, this error probably valid for some more special characters used in parsing the URL path. Thanks, Akanksha On Tue, Jul 2, 2013 at 5:18 PM, Olivier Lamy <[email protected]> wrote: > Hi Akanksha, > We need more informations. > Which context are you using the plugin? > Can you record an issue here http://jira.codehaus.org/browse/SCM with > some details? > The scm api is used by various plugins. So we need those informations > to be able to investigate. > > Cheers, > -- > Olivier > > 2013/7/3 Greg Stein <[email protected]>: > > Or to be a bit more helpful, please send this to [email protected](cc'd). > > > > Cheers, > > -g > > > > On Tue, Jul 2, 2013 at 6:02 PM, Daniel Shahaf <[email protected]> wrote: > >> Report this to the maven guys. We don't maintain that plugin. > >> > >> Akanksha Dayal wrote on Tue, Jul 02, 2013 at 14:33:53 -0700: > >>> Hi Developers, > >>> > >>> I bumped into this issue while working with scm svn maven plugin. > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [email protected] For > > additional commands, e-mail: [email protected] > > > > > > -- > Olivier Lamy > Ecetera: http://ecetera.com.au > http://twitter.com/olamy | http://linkedin.com/in/olamy > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
