What is the format of svn-settings.xml for use with Maven SCM plugin?

情到浓时终转凉″ 提交于 2019-12-01 00:05:57
Jcs

According to the maven SCM integration documentation it seems that the svn-settings.xml file only allows these parameters:

  • configDirectory
  • useCygwinPath
  • cygwinMountPath
  • useNonInteractive

If you do not want to put the password in the pom.xml you can pass it as a command line parameter

in the pom.xml:

<connectionUrl>scm:svn:http://my_username@my_hostname/im-tools-repos/trunk</connectionUrl>

And when invoking maven:

mvn -Dpassword=my_password scm:status
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!