You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2014/03/04 20:53:40 UTC

git commit: TEZ-894. Tez should have a way to know build manifest. (Ashish Singh via hitesh)

Repository: incubator-tez
Updated Branches:
  refs/heads/master ee7f3850a -> 664046686


TEZ-894. Tez should have a way to know build manifest. (Ashish Singh via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/66404668
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/66404668
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/66404668

Branch: refs/heads/master
Commit: 664046686339934e96ec40de78481d841811ed72
Parents: ee7f385
Author: Hitesh Shah <hi...@apache.org>
Authored: Tue Mar 4 11:53:08 2014 -0800
Committer: Hitesh Shah <hi...@apache.org>
Committed: Tue Mar 4 11:53:08 2014 -0800

----------------------------------------------------------------------
 pom.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 69 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/66404668/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f14f20c..f2b562c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,11 @@
     <protobuf.version>2.5.0</protobuf.version>
     <protoc.path>${env.PROTOC_PATH}</protoc.path>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <scm.url>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-tez.git</scm.url>
   </properties>
+  <scm>
+    <connection>${scm.url}</connection>
+  </scm>
 
   <distributionManagement>
     <repository>
@@ -335,7 +339,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
-          <version>2.3.1</version>
+          <version>2.4</version>
           <executions>
             <execution>
               <goals>
@@ -346,6 +350,20 @@
           <configuration>
             <archive>
               <index>true</index>
+	      <manifest>
+                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+                <addClasspath>false</addClasspath>
+              </manifest>
+              <manifestEntries>
+                <SCM-Revision>${buildNumber}</SCM-Revision>
+                <SCM-url>${scm.url}</SCM-url>
+                <!--<SCM-Branch>${scmBranch}</SCM-Branch>-->
+                <Maven-Version>${maven.version}</Maven-Version>
+                <Build-OS>${os.name}</Build-OS>
+                <Build-Path>${basedir}</Build-Path>
+                <Build-Time>${maven.build.timestamp}</Build-Time>
+              </manifestEntries>
             </archive>
           </configuration>
         </plugin>
@@ -438,8 +456,45 @@
           <artifactId>maven-gpg-plugin</artifactId>
           <version>1.4</version>
         </plugin>
+	<plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>build-helper-maven-plugin</artifactId>
+          <version>1.8</version>
+          <executions>
+            <execution>
+              <phase>validate</phase>
+              <id>maven-version</id>
+              <goals>
+                <goal>maven-version</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+	<plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>buildnumber-maven-plugin</artifactId>
+          <version>1.1</version>
+          <executions>
+            <execution>
+              <phase>validate</phase>
+              <goals>
+                <goal>create</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <doCheck>false</doCheck>
+            <doUpdate>false</doUpdate>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>findbugs-maven-plugin</artifactId>
+          <version>2.5.2</version>
+        </plugin>
       </plugins>
     </pluginManagement>
+
     <plugins>
       <plugin>
         <groupId>org.apache.rat</groupId>
@@ -453,7 +508,19 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-gpg-plugin</artifactId>
       </plugin>
-    </plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>buildnumber-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+      </plugin>
+   </plugins>
   </build>
 
   <profiles>
@@ -565,7 +632,6 @@
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>findbugs-maven-plugin</artifactId>
-            <version>2.5.2</version>
             <configuration>
               <formats>
                 <format>xml</format>