You are right. I just followed https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Releasingtojenkinsci.org naively. I had to create the settings.xml file and then it worked, finnaly. Thank you.
Do you know why those ERRORS with stack traces appear the first time, although it still succeeds ? On Sun, Jun 19, 2016 at 3:31 PM, Baptiste Mathus <m...@batmat.net> wrote: > I think you shouldn't pass the -Dusername & password to the command. > > I suspect the git maven api tries to use user:password@url format, when > you're actually using the ssh protocol > <https://github.com/jenkinsci/aqua-security-scanner-plugin/blob/master/pom.xml#L53>. > And as it's not prefixed with the protocol in your case, I guess maven > things it's http[s] and fails. > > I for one never put anything else than release:prepare release:perform and > it works fine (and I released a new version only a few days ago). > > My 2 cents > > 2016-06-19 14:11 GMT+02:00 Moshe Cohen <mos...@gmail.com>: > >> Oops. Thank you, I was confused by many iterations that I didn't see the >> error I sent was actually an obvious one. >> >> I have cleaned that up but I still fail due to something that seems like >> a Git authentication issue. >> Please see bottom of attached output1.txt or output2.txt . >> >> >> Another issue, though probably not related is that in output1.txt there >> are ERRORs with stack traces towards the top. >> Just running the mvn command again, after r*elease.properties* and >> *pom.xml.releaseBackup* have been created, produces output2.txt where >> these errors do not appear. >> >> I am very grateful for your assistance. >> Thank you >> >> >> >> On Sunday, June 19, 2016 at 9:04:18 AM UTC+3, Baptiste Mathus wrote: >>> >>> Hi, >>> >>> FindBugs issue unrelated to release. >>> >>> Use mvn clean verify locally to reproduce outside the context of a >>> release. >>> Reading the logs, switch missing the default case. >>> >>> Cheers >>> Le 19 juin 2016 1:37 AM, "Moshe Cohen" <mos...@gmail.com> a écrit : >>> >>>> Hi, >>>> >>>> I have created a plugin (that works locally) and I am following >>>> https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins in order >>>> to have it hosted. >>>> Today it was forked and I reached the command "mvn release:prepare >>>> release:perform -Dusername=... -Dpassword=..." . >>>> >>>> Unfortunately, this fails and I have no clue how to continue. >>>> The first error line is "* [ERROR] Failed to execute goal >>>> org.codehaus.mojo:findbugs-maven-plugin:3.0.3:check (findbugs) on project >>>> aqua-security-scanner: failed with 1 bugs and 0 errors -> [Help 1]*" >>>> >>>> Attached are the full output of the above command and also my pom.xml >>>> file . >>>> >>>> Thank you >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Developers" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to jenkinsci-de...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-dev/4497d2b2-ed6a-43f1-a505-66ab49bb1f1d%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/4497d2b2-ed6a-43f1-a505-66ab49bb1f1d%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-dev+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/2601be31-8df2-474d-bc06-f20bcf648288%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/2601be31-8df2-474d-bc06-f20bcf648288%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5G1Q_hSzdGBi5-rkToMeXtd4wvoNCyX%2BXE88ER%2BtjQpg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5G1Q_hSzdGBi5-rkToMeXtd4wvoNCyX%2BXE88ER%2BtjQpg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAL%3Dvx5t-Xgt4g7VBCt_5aB4Oy3iGeDMv3wrmSB9Py3DjHgFC4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.