|
|
-
Re: Question about the Setting up Eclipse wiki pageBrock Noland 2012-12-18, 15:54
Hi,
I use the method mentioned on that page: $ mkdir apache-flume $ cd apache-flume $ git clone https://git-wip-us.apache.org/repos/asf/flume.git $ cd flume $ mvn install -DskipTests $ mvn eclipse:eclipse -DdownloadSources -DdownloadJavadocs Add $HOME/.m2/repository to the my classpath in preferences. Import the projects. On Tue, Dec 18, 2012 at 9:44 AM, DeCarlo, Thom <[EMAIL PROTECTED]> wrote: > Well, to answer my own question... > > I was mostly successful by simply creating a new (empty) eclipse workspace and make sure that the Preferences->Java->Installed JREs actually points at your JDK, and not the JRE. (otherwise nothing will compile) > > Then create a new project with the wizard. > File->New->Other...->Maven->Checkout Maven Projects from SCM > > Click "Next..." and the Target Location selector appears. Choose "git" in the SCM type selector, then enter the URL for the git repository. (https://git-wip-us.apache.org/repos/asf/flume.git) > Click "Finish" and eclipse (+ m2eclipse) handles checking out the Flume trunk and creating all of the projects. > > > A couple problems remain in the POM files, though. > > In flume-ng-sdk/pom.xml and the flume-avro-source/pom.xml, Eclipse is showing errors in the definition of the avro-maven-plugin and the paranamer-maven-plugin. In each it says, > > Plugin execution not covered by lifecycle configuration: org.apache.avro:avro-maven-plugin:1.6.1:idl-protocol (execution: default, phase: generate-sources) > > I can guess what the error means, but I have no idea how to fix it. > -- > Thom DeCarlo > > -----Original Message----- > From: DeCarlo, Thom [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2012 8:55 AM > To: [EMAIL PROTECTED] > Subject: Question about the Setting up Eclipse wiki page > > On the wiki, https://cwiki.apache.org/confluence/display/FLUME/Development+Environment#DevelopmentEnvironment-SettingupEclipse, the basic instructions say that I can use either the maven-eclipse plugin or the m2eclipse plugin. But, it only shows how to use the maven-eclipse plugin. Are the instructions the same for m2eclipse? The implication that I get from the page is no. > > Thanks! > > -- > Thom DeCarlo > -- Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/ |