Hi Ted, I didn't do that earlier.
Now , I did it mvn:eclipse eclipse and tried importing the projects same into eclipse. Now, this is throwing the following errors 1. No marketplace entries found to handle Execution compile-protoc, in hadoop-common/pom.xml in Eclipse. Please see Help for more information. 2. No marketplace entries found to handle Execution compile-protoc, in hadoop-hdfs/src/contrib/bkjournal/pom.xml in Eclipse. Please see Help for more information. Any idea ?? On Tue, Mar 4, 2014 at 10:59 AM, Ted Yu <yuzhih...@gmail.com> wrote: > Have you run the following command under the root of your workspace ? > > mvn eclipse:eclipse > > On Mar 3, 2014, at 9:18 PM, nagarjuna kanamarlapudi < > nagarjuna.kanamarlap...@gmail.com> wrote: > > Hi, > I checked out the hadoop trunck from > http://svn.apache.org/repos/asf/hadoop/common/trunk. > > I set up protobuf-2.5.0 and then did mvn build. > mvn clean install -DskipTests .. worked well. Maven build was Successful. > > So, I tried importing the project into eclipse. > > It is showing errors in pom.xml of hadoop-common project. Below are the > errors .. Can some one help me here ? > > Plugin execution not covered by lifecycle configuration: > org.apache.hadoop:hadoop-maven-plugins: > 3.0.0-SNAPSHOT:version-info (execution: version-info, phase: > generate-resources > > > The error is at line 299 of pom.xml in hadoop-common project. > > > <execution> > <id>version-info</id> > <phase>generate-resources</phase> > <goals> > <goal>version-info</goal> > </goals> > <configuration> > <source> > <directory>${basedir}/src/main</directory> > <includes> > <include>java/**/*.java</include> > <include>proto/**/*.proto</include> > </includes> > </source> > </configuration> > </execution> > <execution> > > There are multiple projects which failed of that error, hadoop-common is > one such project. > > Regards, > Nagarjuna K > >