HADOOP-17926. Maven-eclipse-plugin is no longer needed since Eclipse can import Maven projects by itself. (#3465)

(cherry picked from commit 962068d2d8)
This commit is contained in:
Rintaro Ikeda 2021-09-22 15:26:38 +09:00 committed by Masatake Iwasaki
parent 4944dafa29
commit 5de18fb483
1 changed files with 4 additions and 9 deletions

View File

@ -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: