You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Ramesh Nallapati <na...@AI.SRI.COM> on 2011/09/12 23:45:06 UTC
Build problems using Eclipse/MVN
Hi,
I am a new user to Mahout as well as to Maven. I downloaded Mahout
through the svn repository and I am trying to install it on my Mac
running the latest Lion OS. I read the instructions at
https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout and
followed all the steps until "Working with Maven in Eclipse". However,
once I import Mahout as a Maven project, My eclipse is showing 3 errors
that have got to do with the .pom files as I reproduce below:
Error 1:
Description: Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (execution:
default, phase: compile)
Resource:pom.xml
Location: /mahout-core
Line:53
Error 2:
Description: maven-dependency-plugin (goals "copy-dependencies",
"unpack") is not supported by m2e.
Resource: pom.xml
Path:/mahout-examples
Location: line 54
Error 3:
Description: maven-dependency-plugin (goals "copy-dependencies",
"unpack") is not supported by m2e.
Resource: pom.xml
Path:/mahout-integration
Location: line 54
Can someone please help?
Thanks
-Ramesh
Re: Build problems using Eclipse/MVN
Posted by ma...@yahoo.com.
For eclipse on ubuntu I tried
mvn eclipse:eclipse
This prepared necessary files and made the import of mahout projects into eclipse, easy.
On Sep 12, 2011, at 7:01 PM, Ramesh Nallapati <na...@AI.SRI.COM> wrote:
> Thanks very much Lance!
>
> I am able to suppress the errors by commenting out the <execution> ... </execution> part in the pom.xml files.
> I am not very familiar with the function of these lines, but I am hoping this would not affect the behavior of the programs!
>
> Thanks for your quick response!
> -Ramesh
>
>
> On 9/12/11 3:38 PM, Lance Norskog wrote:
>> I have this one also. These are features in Maven which the m2e system does
>> not recognize.
>> I have commented them out of the POM files in my local builds. The
>> right-hand tab of the pom.xml editor gives you the XML directly.
>>
>> Lance
>>
>> On Mon, Sep 12, 2011 at 2:45 PM, Ramesh Nallapati<na...@ai.sri.com>wrote:
>>
>>> Hi,
>>>
>>> I am a new user to Mahout as well as to Maven. I downloaded Mahout
>>> through the svn repository and I am trying to install it on my Mac
>>> running the latest Lion OS. I read the instructions at
>>> https://cwiki.apache.org/**confluence/display/MAHOUT/**BuildingMahout<https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout>and
>>> followed all the steps until "Working with Maven in Eclipse". However,
>>> once I import Mahout as a Maven project, My eclipse is showing 3 errors
>>> that have got to do with the .pom files as I reproduce below:
>>>
>>> Error 1:
>>> Description: Plugin execution not covered by lifecycle configuration:
>>> org.apache.maven.plugins:**maven-antrun-plugin:1.6:run (execution:
>>> default, phase: compile)
>>> Resource:pom.xml
>>> Location: /mahout-core
>>> Line:53
>>>
>>> Error 2:
>>> Description: maven-dependency-plugin (goals "copy-dependencies",
>>> "unpack") is not supported by m2e.
>>> Resource: pom.xml
>>> Path:/mahout-examples
>>> Location: line 54
>>>
>>> Error 3:
>>> Description: maven-dependency-plugin (goals "copy-dependencies",
>>> "unpack") is not supported by m2e.
>>> Resource: pom.xml
>>> Path:/mahout-integration
>>> Location: line 54
>>>
>>> Can someone please help?
>>>
>>> Thanks
>>> -Ramesh
>>>
>>>
>>
Re: Build problems using Eclipse/MVN
Posted by Ramesh Nallapati <na...@AI.SRI.COM>.
Thanks very much Lance!
I am able to suppress the errors by commenting out the <execution> ...
</execution> part in the pom.xml files.
I am not very familiar with the function of these lines, but I am hoping
this would not affect the behavior of the programs!
Thanks for your quick response!
-Ramesh
On 9/12/11 3:38 PM, Lance Norskog wrote:
> I have this one also. These are features in Maven which the m2e system does
> not recognize.
> I have commented them out of the POM files in my local builds. The
> right-hand tab of the pom.xml editor gives you the XML directly.
>
> Lance
>
> On Mon, Sep 12, 2011 at 2:45 PM, Ramesh Nallapati<na...@ai.sri.com>wrote:
>
>> Hi,
>>
>> I am a new user to Mahout as well as to Maven. I downloaded Mahout
>> through the svn repository and I am trying to install it on my Mac
>> running the latest Lion OS. I read the instructions at
>> https://cwiki.apache.org/**confluence/display/MAHOUT/**BuildingMahout<https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout>and
>> followed all the steps until "Working with Maven in Eclipse". However,
>> once I import Mahout as a Maven project, My eclipse is showing 3 errors
>> that have got to do with the .pom files as I reproduce below:
>>
>> Error 1:
>> Description: Plugin execution not covered by lifecycle configuration:
>> org.apache.maven.plugins:**maven-antrun-plugin:1.6:run (execution:
>> default, phase: compile)
>> Resource:pom.xml
>> Location: /mahout-core
>> Line:53
>>
>> Error 2:
>> Description: maven-dependency-plugin (goals "copy-dependencies",
>> "unpack") is not supported by m2e.
>> Resource: pom.xml
>> Path:/mahout-examples
>> Location: line 54
>>
>> Error 3:
>> Description: maven-dependency-plugin (goals "copy-dependencies",
>> "unpack") is not supported by m2e.
>> Resource: pom.xml
>> Path:/mahout-integration
>> Location: line 54
>>
>> Can someone please help?
>>
>> Thanks
>> -Ramesh
>>
>>
>
Re: Build problems using Eclipse/MVN
Posted by Lance Norskog <go...@gmail.com>.
I have this one also. These are features in Maven which the m2e system does
not recognize.
I have commented them out of the POM files in my local builds. The
right-hand tab of the pom.xml editor gives you the XML directly.
Lance
On Mon, Sep 12, 2011 at 2:45 PM, Ramesh Nallapati <na...@ai.sri.com>wrote:
> Hi,
>
> I am a new user to Mahout as well as to Maven. I downloaded Mahout
> through the svn repository and I am trying to install it on my Mac
> running the latest Lion OS. I read the instructions at
> https://cwiki.apache.org/**confluence/display/MAHOUT/**BuildingMahout<https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout>and
> followed all the steps until "Working with Maven in Eclipse". However,
> once I import Mahout as a Maven project, My eclipse is showing 3 errors
> that have got to do with the .pom files as I reproduce below:
>
> Error 1:
> Description: Plugin execution not covered by lifecycle configuration:
> org.apache.maven.plugins:**maven-antrun-plugin:1.6:run (execution:
> default, phase: compile)
> Resource:pom.xml
> Location: /mahout-core
> Line:53
>
> Error 2:
> Description: maven-dependency-plugin (goals "copy-dependencies",
> "unpack") is not supported by m2e.
> Resource: pom.xml
> Path:/mahout-examples
> Location: line 54
>
> Error 3:
> Description: maven-dependency-plugin (goals "copy-dependencies",
> "unpack") is not supported by m2e.
> Resource: pom.xml
> Path:/mahout-integration
> Location: line 54
>
> Can someone please help?
>
> Thanks
> -Ramesh
>
>
--
Lance Norskog
goksron@gmail.com