hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1449543 - /hadoop/common/trunk/BUILDING.txt
Date Sun, 24 Feb 2013 20:19:42 GMT
Author: suresh
Date: Sun Feb 24 20:19:42 2013
New Revision: 1449543

URL: http://svn.apache.org/r1449543
HADOOP-9279. Document the need to build hadoop-maven-plugins for eclipse and separate project
builds. Contributed by Tsuyoshi Ozawa.


Modified: hadoop/common/trunk/BUILDING.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/BUILDING.txt?rev=1449543&r1=1449542&r2=1449543&view=diff
--- hadoop/common/trunk/BUILDING.txt (original)
+++ hadoop/common/trunk/BUILDING.txt Sun Feb 24 20:19:42 2013
@@ -88,6 +88,33 @@ Maven build goals:
   * -Dtest.exclude.pattern=**/<TESTCLASSNAME1>.java,**/<TESTCLASSNAME2>.java
+Building components separately
+If you are building a submodule directory, all the hadoop dependencies this
+submodule has will be resolved as all other 3rd party dependencies. This is,
+from the Maven cache or from a Maven repository (if not available in the cache
+or the SNAPSHOT 'timed out').
+An alternative is to run 'mvn install -DskipTests' from Hadoop source top
+level once; and then work from the submodule. Keep in mind that SNAPSHOTs
+time out after a while, using the Maven '-nsu' will stop Maven from trying
+to update SNAPSHOTs from external repos.
+Importing projects to eclipse
+When you import the project to eclipse, install hadoop-maven-plugins at first.
+  $ cd hadoop-maven-plugins
+  $ mvn install
+Then, generate ecplise project files.
+  $ mvn eclipse:eclipse -DskipTests
+At last, import to eclipse by specifying the root directory of the project via
+[File] > [Import] > [Existing Projects into Workspace].
 Building distributions:
 Create binary distribution without native code and without documentation:

View raw message