You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2009/04/27 16:03:57 UTC

svn commit: r768997 - /maven/components/branches/maven-2.2.x/maven-core/pom.xml

Author: jdcasey
Date: Mon Apr 27 14:03:57 2009
New Revision: 768997

URL: http://svn.apache.org/viewvc?rev=768997&view=rev
Log:
update buildnumber profiles to use canonical/non-canonical approach...any build not from SVN will have a buildnumber prefixed by NON-CANONICAL_ to mark it as unofficial

Modified:
    maven/components/branches/maven-2.2.x/maven-core/pom.xml

Modified: maven/components/branches/maven-2.2.x/maven-core/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.2.x/maven-core/pom.xml?rev=768997&r1=768996&r2=768997&view=diff
==============================================================================
--- maven/components/branches/maven-2.2.x/maven-core/pom.xml (original)
+++ maven/components/branches/maven-2.2.x/maven-core/pom.xml Mon Apr 27 14:03:57 2009
@@ -238,7 +238,7 @@
       </build>
     </profile>
     <profile>
-      <id>buildnumber</id>
+      <id>canonical-buildnumber</id>
       <activation>
         <file>
           <exists>.svn</exists>
@@ -267,7 +267,7 @@
       </build>
     </profile>
     <profile>
-      <id>buildnumber-git</id>
+      <id>non-canonical-buildnumber</id>
       <activation>
         <file>
           <missing>.svn</missing>
@@ -290,7 +290,7 @@
             <configuration>
               <doCheck>false</doCheck>
               <doUpdate>false</doUpdate>
-              <format>{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
+              <format>NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
               <items>
                 <item>timestamp</item>
                 <item>${user.name}</item>