Apply MAVEN-834
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
<j:set var="value" value="${pom.repository.connection}"/>
|
||||
<j:if test="${!empty(value)}">
|
||||
<!-- Use pom.repository.connection if present -->
|
||||
<util:tokenize var="tokens" delim=":">${pom.repository.connection}</util:tokenize>
|
||||
<j:set var="delim" value=":"/>
|
||||
<j:if test="${value.length() gt 3}">
|
||||
<j:set var="delim" value="${value.substring(3, 4)}"/>
|
||||
</j:if>
|
||||
<util:tokenize var="tokens" delim="${delim}">${pom.repository.connection}</util:tokenize>
|
||||
<j:if test="${tokens[0] != 'scm'}">
|
||||
<ant:fail>Invalid repository connection format</ant:fail>
|
||||
</j:if>
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
|
||||
<body>
|
||||
<release version="1.1-SNAPSHOT" date="in CVS">
|
||||
<action dev="dion" type="update">
|
||||
Apply MAVEN-834. Support for scm delimiters other than ':'
|
||||
</action>
|
||||
<action dev="brett" type="fix">
|
||||
Turn off pretty printing to fix MAVEN-769 - random spaces added
|
||||
to project.xml.
|
||||
|
||||
Reference in New Issue
Block a user