From 5de18fb4831240aece5b691d57b407b1fb87e1bc Mon Sep 17 00:00:00 2001 From: Rintaro Ikeda <51394766+rinikeda@users.noreply.github.com> Date: Wed, 22 Sep 2021 15:26:38 +0900 Subject: [PATCH] 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 b22d65e2e9e..16e87aae9a1 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -314,17 +314,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: