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:
parent
4944dafa29
commit
5de18fb483
13
BUILDING.txt
13
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:
|
||||
|
|
Loading…
Reference in New Issue