You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ss...@apache.org on 2014/05/14 18:33:42 UTC

git commit: TEZ-1099. Minor documentation improvement and Eclipse direct import friendlyness. Contributed by Thiruvalluvan M. G.

Repository: incubator-tez
Updated Branches:
  refs/heads/master ca7c97dc1 -> 2c9ea237b


TEZ-1099. Minor documentation improvement and Eclipse direct import friendlyness.
Contributed by Thiruvalluvan M. G.


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

Branch: refs/heads/master
Commit: 2c9ea237b8fe15e68ceae839212b4c809892e9f5
Parents: ca7c97d
Author: Siddharth Seth <ss...@apache.org>
Authored: Wed May 14 09:32:46 2014 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Wed May 14 09:32:46 2014 -0700

----------------------------------------------------------------------
 docs/src/site/apt/install.apt |  4 ++++
 pom.xml                       | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/2c9ea237/docs/src/site/apt/install.apt
----------------------------------------------------------------------
diff --git a/docs/src/site/apt/install.apt b/docs/src/site/apt/install.apt
index 9dbc8eb..617d4ae 100644
--- a/docs/src/site/apt/install.apt
+++ b/docs/src/site/apt/install.apt
@@ -21,10 +21,14 @@ Install/Deploy Instructions
 
   [[i]] Build tez using "mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true"
 
+    * This assumes that you have already installed JDK6 or later, Maven 3 or later and Protocol Buffers (protoc compiler) 2.2 or later
+
     * If you prefer to run the unit tests, remove skipTests from the command above.
 
     * If you would like to create a tarball of the release, use "mvn clean package -Dtar -DskipTests=true -Dmaven.javadoc.skip=true"
 
+    * If you use Eclipse IDE, you can import the peojects using "Import/Maven/Existing Maven Projects". Eclipse does not automatically generate Java sources or include the generated sources into the projects. Please build using maven as described above and then use Project Properties to include "target/generated-sources/java" as a source directory into the "Java Build Path" for these projects: tez-api, tez-mapreduce, tez-runtime-internals and tez-runtime-library. This needs to be done just once after importing the project.
+
   [[i]] Copy the tez jars and their dependencies into HDFS.
 
     * The tez jars and dependencies will be found in tez-dist/target/tez-0.4.0-incubating/tez-0.4.0-incubating if you run the intial command mentioned in step 2.

http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/2c9ea237/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index eec46be..5887813 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,6 +503,30 @@
           <artifactId>findbugs-maven-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.hadoop</groupId>
+                    <artifactId>hadoop-maven-plugins</artifactId>
+                    <versionRange>[0,]</versionRange>
+                    <goals>
+                      <goal>protoc</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>