@@ -87,6 +87,33 @@ Maven build goals:
8787 * -Dtest.exclude=<TESTCLASSNAME>
8888 * -Dtest.exclude.pattern=**/<TESTCLASSNAME1>.java,**/<TESTCLASSNAME2>.java
8989
90+ ----------------------------------------------------------------------------------
91+ Building components separately
92+
93+ If you are building a submodule directory, all the hadoop dependencies this
94+ submodule has will be resolved as all other 3rd party dependencies. This is,
95+ from the Maven cache or from a Maven repository (if not available in the cache
96+ or the SNAPSHOT 'timed out').
97+ An alternative is to run 'mvn install -DskipTests' from Hadoop source top
98+ level once; and then work from the submodule. Keep in mind that SNAPSHOTs
99+ time out after a while, using the Maven '-nsu' will stop Maven from trying
100+ to update SNAPSHOTs from external repos.
101+
102+ ----------------------------------------------------------------------------------
103+ Importing projects to eclipse
104+
105+ When you import the project to eclipse, install hadoop-maven-plugins at first.
106+
107+ $ cd hadoop-maven-plugins
108+ $ mvn install
109+
110+ Then, generate ecplise project files.
111+
112+ $ mvn eclipse:eclipse -DskipTests
113+
114+ At last, import to eclipse by specifying the root directory of the project via
115+ [File] > [Import] > [Existing Projects into Workspace].
116+
90117----------------------------------------------------------------------------------
91118Building distributions:
92119
0 commit comments