diff --git a/BUILDING.txt b/BUILDING.txt index 95e36bd539..c2e7901c11 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -87,6 +87,33 @@ Maven build goals: * -Dtest.exclude= * -Dtest.exclude.pattern=**/.java,**/.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: diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index ceb3fd412f..bf0bea5e03 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -355,6 +355,9 @@ Release 2.0.4-beta - UNRELEASED HADOOP-9117. replace protoc ant plugin exec with a maven plugin. (tucu) + HADOOP-9279. Document the need to build hadoop-maven-plugins for + eclipse and separate project builds. (Tsuyoshi Ozawa via suresh) + OPTIMIZATIONS BUG FIXES