Hi The jgitflow plugin is not maintained here. You should ask here https://bitbucket.org/atlassian/jgit-flow
HTH Olivier On Tue, 18 Dec 2018 at 8:35 pm, Matthew Broadhead <[email protected]> wrote: > i have recently switched from ubuntu to windows 10 and i am having > problems authenticating the scm from either a command prompt or git shell. > mvn jgitflow:release-start > > it fails with > [ERROR] Failed to execute goal > external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start > (default-cli) on project case-management: Error starting release: Error > starting release: org.eclipse.jgit.api.errors.TransportException: > [email protected]:matthew.broadhead/case-management.git: Auth fail -> > [Help 1] > > if i run with the -X switch it shows it is using my settings.xml > [DEBUG] Reading global settings from > C:\Java\apache-maven-3.6.0\conf\settings.xml > [DEBUG] Reading user settings from C:\Users\Matthew > Broadhead\.m2\settings.xml > [DEBUG] Reading global toolchains from > C:\Java\apache-maven-3.6.0\conf\toolchains.xml > [DEBUG] Reading user toolchains from C:\Users\Matthew > Broadhead\.m2\toolchains.xml > [DEBUG] Using local repository at C:\Users\Matthew Broadhead\.m2\repository > [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 > for C:\Users\Matthew Broadhead\.m2\repository > > in settings.xml i have added a link to my private key like the below. i > have tried every combination i can think of for this including passwords > etc. > <server> > <id>www.kissy.me.uk</id> > <username>git</username> --> > <privateKey>${user.home}/.ssh/id_rsa</privateKey> > </server> > > the debugging doesn't give me much information as to what is actually > failing > Caused by: com.jcraft.jsch.JSchException: Auth fail > at com.jcraft.jsch.Session.connect (Session.java:512) > at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession > (JschConfigSessionFactory.java:116) > at org.eclipse.jgit.transport.SshTransport.getSession > (SshTransport.java:136) > at > org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init> > (TransportGitSsh.java:262) > at org.eclipse.jgit.transport.TransportGitSsh.openFetch > (TransportGitSsh.java:161) > at org.eclipse.jgit.transport.FetchProcess.executeImp > (FetchProcess.java:136) > at org.eclipse.jgit.transport.FetchProcess.execute > (FetchProcess.java:122) > at org.eclipse.jgit.transport.Transport.fetch (Transport.java:1138) > at org.eclipse.jgit.api.FetchCommand.call (FetchCommand.java:130) > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy
