This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new 25d0a97 HADOOP-17926. Maven-eclipse-plugin is no longer needed since
Eclipse can import Maven projects by itself. (#3465)
25d0a97 is described below
commit 25d0a97557292289ce73ba80b3ad5f3966b3d5d8
Author: Rintaro Ikeda <[email protected]>
AuthorDate: Wed Sep 22 15:26:38 2021 +0900
HADOOP-17926. Maven-eclipse-plugin is no longer needed since Eclipse can
import Maven projects by itself. (#3465)
(cherry picked from commit 962068d2d8143b97db1ed5e1f5e6c998d0960ded)
---
BUILDING.txt | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/BUILDING.txt b/BUILDING.txt
index 85dfd91..fbf754f 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -211,17 +211,12 @@ protoc is looked up in the PATH.
----------------------------------------------------------------------------------
Importing projects to eclipse
-When you import the project to eclipse, install hadoop-maven-plugins at first.
+At first, install artifacts including hadoop-maven-plugins at the top of the
source tree.
- $ cd hadoop-maven-plugins
- $ mvn install
+ $ mvn clean install -DskipTests -DskipShade
-Then, generate eclipse 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].
+Then, import to eclipse by specifying the root directory of the project via
+[File] > [Import] > [Maven] > [Existing Maven Projects].
----------------------------------------------------------------------------------
Building distributions:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]