You cannot fix them except for commenting out the sections of the two
pom.xml files which complain. This is a bad idea, because then Mahout will
not build and install into your local Maven repository cache ($HOME/.m2).

The only problem this causes is that if you have another project outside
Mahout and you make it depend on one of these project, that project will
not get built. This is all I've come across. So: just ignore it. Or report
it to m2e.

Lance

On Fri, Nov 25, 2011 at 8:18 PM, Shern Shiou Tan
<[email protected]>wrote:

> I do have this type of problem too. But everything work out fine if you
> ignore it. Any reason behind this?
>
>
> On 11/26/2011 09:09 AM, Mike Spreitzer wrote:
>
>> This is on my MacBook Pro, and I have the current JDK that Apple provides
>> (1.6.0_29).  I just installed the current Maven, which describes itself as
>> Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500).  This is my first
>> ever install of Maven.  I am also just getting started with Mahout.  I
>> checked out the trunk using svn, and then built with `mvn install`, as
>> described in https://cwiki.apache.org/**confluence/display/MAHOUT/**
>> BuildingMahout<https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout>;
>> the tests took about an hour (not the 15 minutes suggested in the
>> instructions on shortening the build).  That has been the full extent of my
>> experience with, and knowledge of, Maven and Mahout.
>>
>> I am running Eclipse Helios Service Release 2, Build id 20110218-0911.  I
>> just installed the latest m2e: my Eclipse plug-ins listing includes version
>> 1.0.100.20110804-1717 of m2e / UDC integration Marketplace, m2e logback
>> appender, m2e logback configuration, and m2e Marketplace, as well as
>> version 0.14.0.201109270543 of m2e connector for the mavenarchiver and pom
>> properties.  This is my first ever install of m2e.
>>
>> Following the Mahout quickstart, I then used "Import Existing Maven
>> Projects" in Eclipse to import all the Mahout that I just built.  During
>> that process I was faced with the following window:
>>
>>
>> If your mail program has chopped out my picture, here is a description.
>>  It is a window whose title is "Import Maven Projects".  The first thing in
>> the window is a text area with a heading saying "Setup Maven plugin
>> connectors".  I have no idea what Maven plugin connectors are --- nor what
>> I can/should do about setting them up.  I thought I had already installed
>> m2e, but apparently it does not really get settled in until you try to use
>> it.  This window contains a table whose first column is "Maven build",
>> second column is "Action".  The rows are organized into two groups.  The
>> second, and thankfully larger, group is headed by a line with a green
>> checked circle indicating, I suppose, that there is no problem.  It is the
>> first group, headed by a line with a red X circle, that prompts this
>> epistle.  It has just one line, for core/pom.xml.  Lower in the window is a
>> "Description" section, which says "No marketplace entries found to handle
>> maven-antrun-plugin:1.6:run in Eclipse.  Please see Help for more
>> information."  Naturally, there is no "Help" evident.
>>
>> I clicked on the "Finish" button in the lower right hand corner, and the
>> import eventually finished.  I was told I have to restart Eclipse, which I
>> did.  As it was later restarting, it got wedged and I had to forcefully
>> quit it.  I restarted Eclipse again, and have been going through its
>> "Problems" list.  I cleared up a few that required only "Maven |> Update
>> Project Configuration...".  But I do still have the problem with
>> core/pom.xml.  Following is a picture of its details.
>>
>>
>>
>> The Description says "Plugin execution not covered by lifecycle
>> configuration: org.apache.maven.plugins:**maven-antrun-plugin:1.6:run
>> (execution: default, phase: compile)".  It is On element pom.xml In folder
>> mahout-core, Location line 53.
>>
>> QuickFix on this Problem is not promising.  It offers two choices,
>> neither of which looks good; here is a picture:
>>
>>
>>
>> For extra grins, I also have two more Problems.  Here is a picture of the
>> Properties of one:
>>
>>
>> The description says "maven-dependency-plugin (goals "copy-dependencies",
>> "unpack") is not supported by m2e." and it is at line 54 in pom.xml of
>> mahout-examples; the same problem is also in mahout-integration.  There is
>> no QuickFix offered for these two.
>>
>> Why do I have these three problems, and how do I fix them?
>>
>> Thanks,
>> Mike
>>
>
>


-- 
Lance Norskog
[email protected]

Reply via email to