extract the subversion address from the repo connection settings (anonymous and dev) to use it with the svn executable.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@384947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
49e6ddb737
commit
7b212ef60f
2 files changed
+311
-318
No files matched your search
@@ -12,6 +12,7 @@
|
||||
|
||||
#if ($repository.connection && $repository.connection != '')
|
||||
#set ($connscm = $scmUtil.getScmType($repository.connection))
|
||||
#set ($svnconn = $scmUtil.getSvnConnection($repository.connection))
|
||||
|
||||
#set ($conn = $repository.connection)
|
||||
|
||||
@@ -40,13 +41,14 @@
|
||||
bundle="plugin-resources.templates.templates" />
|
||||
</p>
|
||||
|
||||
<source>svn checkout $conn $project.artifactId</source>
|
||||
<source>svn checkout $svnconn $project.artifactId</source>
|
||||
|
||||
</subsection>
|
||||
#end
|
||||
|
||||
#if ($repository.developerConnection && $repository.developerConnection != '')
|
||||
#set ($connscm = $scmUtil.getScmType($repository.developerConnection))
|
||||
#set ($connscm = $scmUtil.getScmType($repository.developerConnection))
|
||||
#set ($svnconn = $scmUtil.getSvnConnection($repository.developerConnection))
|
||||
|
||||
#set ($conn = $repository.developerConnection)
|
||||
|
||||
@@ -77,7 +79,7 @@
|
||||
bundle="plugin-resources.templates.templates" />
|
||||
</p>
|
||||
|
||||
<source>svn checkout $conn $project.artifactId</source>
|
||||
<source>svn checkout $svnconn $project.artifactId</source>
|
||||
|
||||
</subsection>
|
||||
|
||||
|
||||
Reference in new issue
Block a user