This content has been marked as final.
Show 4 replies
-
1. Re: svn --non-interactive failing
starksm64 Apr 5, 2008 7:23 PM (in response to starksm64)I figured it had to be a problem with not picking up the svn credentials, so I explicitly passed those in using the plugin properties, and that allowed it to succeed:
mvn -Dusername=scott.stark@jboss.org -Dpassword=*secret* release:prepare ... [INFO] Executing: svn --username scott.stark@jboss.org --password ***** --non-interactive commit --file /tmp/maven-scm-390999263.commit --targets /tmp/maven-scm-16507-targets [INFO] Working directory: /Users/svn/Common/common-logging-spi/trunk [INFO] Release preparation complete. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18 seconds [INFO] Finished at: Sat Apr 05 16:18:33 PDT 2008 [INFO] Final Memory: 4M/10M [INFO]
I guess there is a problem with the svn behavior on this box in non-interactive mode. Since its not prompting for anything when run interactive I don't know where the problem lies. -
2. Re: svn --non-interactive failing
anil.saldhana Apr 5, 2008 7:49 PM (in response to starksm64)We can answer once you tell us what the *secret* is? ;)
-
3. Re: svn --non-interactive failing
starksm64 Apr 6, 2008 1:15 AM (in response to starksm64)I figured with all the security interops your doing that you would have picked up some hacking methods to figure this out like they do in the movies by now.
-
4. Re: svn --non-interactive failing
anil.saldhana Apr 6, 2008 6:26 AM (in response to starksm64)Passing the pass via the command line is lot better than storing it in clear text in settings.xml (which typically gets passed around in the team to jump start someone's maven usage).