is there anyone that can provide additional guidance? i installed a linux virtual machine running CentOS 7.4 and i am still hitting the same issue. Some additional, but important details.
* If i just run "mvn deploy", my package is uploaded the artifactory. so my creds in settings.xml are accurate and working * if i run "ssh -T g...@github.com" i am able to successfully login to github using SSH but the mvn release fails with exactly the same error. can someone help? [INFO] Working directory: /root/apprenda-plugin [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.024 s [INFO] Finished at: 2018-03-09T01:15:00Z [INFO] Final Memory: 18M/259M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project apprenda: Unable to commit files [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: E155007: '/root/apprenda-plugin/pom.xml' is not a working copy [ERROR] [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project apprenda: Unable to commit files Provider message: The svn command failed. Command output: svn: E155007: '/root/apprenda-plugin/pom.xml' is not a working copy at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files Provider message: The svn command failed. Command output: svn: E155007: '/root/apprenda-plugin/pom.xml' is not a working copy at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease (PrepareReleaseMojo.java:294) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute (PrepareReleaseMojo.java:240) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to commit files Provider message: The svn command failed. Command output: svn: E155007: '/root/apprenda-plugin/pom.xml' is not a working copy at org.apache.maven.shared.release.phase.AbstractScmCommitPhase.checkin (AbstractScmCommitPhase.java:165) at org.apache.maven.shared.release.phase.AbstractScmCommitPhase.performCheckins (AbstractScmCommitPhase.java:145) at org.apache.maven.shared.release.phase.ScmCommitPreparationPhase.runLogic (ScmCommitPreparationPhase.java:76) at org.apache.maven.shared.release.phase.AbstractScmCommitPhase.execute (AbstractScmCommitPhase.java:78) at org.apache.maven.shared.release.DefaultReleaseManager.prepare (DefaultReleaseManager.java:234) at org.apache.maven.shared.release.DefaultReleaseManager.prepare (DefaultReleaseManager.java:169) at org.apache.maven.shared.release.DefaultReleaseManager.prepare (DefaultReleaseManager.java:146) at org.apache.maven.shared.release.DefaultReleaseManager.prepare (DefaultReleaseManager.java:107) at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease (PrepareReleaseMojo.java:286) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute (PrepareReleaseMojo.java:240) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) On Thursday, March 1, 2018 at 9:53:29 PM UTC+3, Michael Michael wrote: > > I updated the repo.jenkins-ci.org to be https. > I also checked my maven\conf\settings.xml and it is the vanilla one that > comes with installation (everything is commented out). > > any other ideas? thanks for the pointers so far. > > On Thursday, March 1, 2018 at 11:36:14 AM UTC-6, Oleg Nenashev wrote: >> >> Also check your global Maven settings. Maybe it overrides release >> destinations there. >> The plugin's POM XML looks good to me (repo.jenkins-ci.org should be >> ideally switched to HTTPs). >> >> BR, Oleg >> >> On Thursday, March 1, 2018 at 6:15:13 PM UTC+1, Michael Michael wrote: >>> >>> thank you Ullrich for the reply. >>> >>> i don't see any subversion folders in my git repo working folder. is >>> there something specific i should be looking for? >>> i deleted everything and cloned my repo again and i got the same error. >>> >>> On Thursday, March 1, 2018 at 3:24:46 AM UTC-6, Ullrich Hafner wrote: >>>> >>>> Seems that somehow SVN is still configured (I don’t see it in your >>>> pom). Do you have some Subversion folders in your working copy? >>>> You don’t need subversion, everything is stored in git. >>>> >>>> Am 01.03.2018 um 08:20 schrieb Michael Michael <mich...@gmail.com>: >>>> >>>> hi there, >>>> >>>> i performed all the steps and got permission to upload our plugin using >>>> the >>>> https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-apprenda.yml >>>> >>>> process. >>>> >>>> However, i can't get maven to execute the full process correctly. >>>> >>>> A few notes on my environment first >>>> * I am using Windows 10 x64 >>>> * I am using subversion for windows, installed from the link on the >>>> jenkins wiki >>>> * I am using git shell for all my operations (i tried cygwin initially >>>> and saw the mention in >>>> https://wiki.jenkins.io/display/JENKINS/Hosting+Plugins that it is not >>>> advised) >>>> * I created an SSH key , imported it to my github account, and started >>>> an SSH server using GIT Shell >>>> * I put my creds in a simple ~/.m2/settings.xml (I am using plain text >>>> passwords for now) >>>> *My github account username is michmike while my Jenkins CI account is >>>> apprenda, with different passwords of course >>>> *I got an origin remote for >>>> https://github.com/jenkinsci/apprenda-plugin >>>> *I run my maven command "mvn release:prepare release:perform" >>>> >>>> No matter what troubleshooting step i tried, i always get this error. >>>> Any ideas on how to proceed? >>>> >>>> [INFO] --- maven-release-plugin:2.5.2:prepare (default-cli) @ apprenda >>>> --- >>>> [INFO] Resuming release from phase 'scm-commit-release' >>>> [INFO] Checking in modified POMs... >>>> [INFO] Executing: cmd.exe /X /C "svn --non-interactive commit --file >>>> C:\Users\mmichael\AppData\Local\Temp\maven-scm-1221881271.commit --targets >>>> C:\Users\mmichael\AppData\Local\Temp\maven-scm-8041922886922418610-targets" >>>> [INFO] Working directory: >>>> C:\Users\mmichael\Documents\GitHub\apprenda-plugin >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 5.706 s >>>> [INFO] Finished at: 2018-03-01T01:08:39-06:00 >>>> [INFO] Final Memory: 17M/304M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) >>>> on project apprenda: Unable to commit files >>>> [ERROR] Provider message: >>>> [ERROR] The svn command failed. >>>> [ERROR] Command output: >>>> [ERROR] svn: E155007: >>>> 'C:\Users\mmichael\Documents\GitHub\apprenda-plugin\pom.xml' is not a >>>> working copy >>>> [ERROR] >>>> [ERROR] -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>> ~\Documents\GitHub\apprenda-plugin [master ≡ +1 ~2 -0 !]> >>>> >>>> -- >>>> 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/831de64c-1d27-4f7f-a554-2fc4bcff8d40%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/jenkinsci-dev/831de64c-1d27-4f7f-a554-2fc4bcff8d40%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/b03c1736-a706-4186-ac97-40a82886ad1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.