continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r328965 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
Date Thu, 27 Oct 2005 22:20:31 GMT
Author: evenisse
Date: Thu Oct 27 15:20:26 2005
New Revision: 328965

URL: http://svn.apache.org/viewcvs?rev=328965&view=rev
Log:
don't set scm tag if it's defined to HEAD in pom

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java?rev=328965&r1=328964&r2=328965&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/DefaultMavenBuilderHelper.java
Thu Oct 27 15:20:26 2005
@@ -96,7 +96,10 @@
 
         continuumProject.setScmUrl( getScmUrl( mavenProject ) );
 
-        continuumProject.setScmTag( mavenProject.getScm().getTag() );
+        if ( !"HEAD".equals( mavenProject.getScm().getTag() ) )
+        {
+            continuumProject.setScmTag( mavenProject.getScm().getTag() );
+        }
 
         continuumProject.setVersion( getVersion( mavenProject ) );
 



Mime
View raw message