Ignore POM if the scm root is specified in command line

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116268 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos 2004-11-28 10:54:12 +00:00
parent f5eb945149
commit a98d7492f9
2 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,13 @@
<!-- Goal to validate SCM properties -->
<!--==================================================================-->
<goal name="scm:parse-connection">
<!-- ignore POM if the scm root is specified in command line -->
<j:if test="${!empty(context.getVariable('maven.scm.cvs.root')) ||
!empty(context.getVariable('maven.scm.svn.root'))}">
<j:set var="maven.scm.ignore.pom.connection" value="true"/>
</j:if>
<j:set var="checkValue" value="${maven.scm.ignore.pom.connection}"/>
<j:if test="${!checkValue}">
<j:set var="checkValue" value="${maven.scm.ignore.pom.developerConnection}"/>

View File

@ -26,6 +26,7 @@
<body>
<release version="1.4.2-SNAPSHOT" date="in CVS">
<action dev="dion" type="fix" issue="MPSCM-25">Ignore whitespace when creating a patch</action>
<action dev="carlos" type="fix">Ignore POM if the scm root is specified in command line</action>
</release>
<release version="1.4.1" date="2004-07-30">