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

This commit is contained in:
Rintaro Ikeda 2021-09-22 15:26:38 +09:00 committed by GitHub
parent b1431813d0
commit 962068d2d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,17 +326,12 @@ to update SNAPSHOTs from external repos.
---------------------------------------------------------------------------------- ----------------------------------------------------------------------------------
Importing projects to eclipse 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 clean install -DskipTests -DskipShade
$ mvn install
Then, generate eclipse project files. Then, import to eclipse by specifying the root directory of the project via
[File] > [Import] > [Maven] > [Existing Maven Projects].
$ 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: Building distributions: