tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-664. Add ability to generate source and javadoc jars. (hitesh)
Date Wed, 11 Dec 2013 04:56:16 GMT
Updated Branches:
  refs/heads/master 0b4e671e5 -> 6fcf78ca9


TEZ-664. Add ability to generate source and javadoc jars. (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/6fcf78ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/6fcf78ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/6fcf78ca

Branch: refs/heads/master
Commit: 6fcf78ca99c611277bccaa767599153d39f0246d
Parents: 0b4e671
Author: Hitesh Shah <hitesh@apache.org>
Authored: Tue Dec 10 20:55:26 2013 -0800
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Tue Dec 10 20:55:26 2013 -0800

----------------------------------------------------------------------
 docs/pom.xml |  2 +-
 pom.xml      | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 51 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/6fcf78ca/docs/pom.xml
----------------------------------------------------------------------
diff --git a/docs/pom.xml b/docs/pom.xml
index 504e1e7..e568e64 100644
--- a/docs/pom.xml
+++ b/docs/pom.xml
@@ -195,7 +195,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-project-info-reports-plugin</artifactId>
-
+          <version>2.7</version>
           <reportSets>
             <reportSet>
               <reports>

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/6fcf78ca/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d0254ed..f062eb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,6 +48,7 @@
     <failIfNoTests>false</failIfNoTests>
     <protobuf.version>2.5.0</protobuf.version>
     <protoc.path>${env.PROTOC_PATH}</protoc.path>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
   <distributionManagement>
@@ -292,6 +293,16 @@
           </configuration>
         </plugin>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.2.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.9.1</version>
+        </plugin>
+        <plugin>
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-maven-plugins</artifactId>
           <version>${hadoop.version}</version>
@@ -387,6 +398,7 @@
       </plugin>
     </plugins>
   </build>
+
   <profiles>
     <profile>
       <id>sign</id>
@@ -408,7 +420,6 @@
         </plugins>
       </build>
     </profile>
-
     <profile>
       <id>clover</id>
       <activation>
@@ -509,6 +520,44 @@
         </plugins>
       </reporting>
     </profile>
+    <profile>
+      <id>sources</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>javadoc</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>


Mime
View raw message