I was using maven 2.2.1 and the build was successful (I had other issues though). But when I installed maven 3.0 I got a lot of warnings like this one:
Some problems were encountered while building the effective model for org.apache.mahout:mahout-math:jar:0.4-SNAPSHOT [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-remote-resources-plugin @ org.apache.mahout:mahout:0.4-SNAPSHOT, /home/hakim/mahout-last/pom.xml, line 405, column 21 and the build failed with the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process (default) on project mahout: Error loading supplemental data models: Could not find resource 'supplemental-models.xml'. Making the change suggested by Tim fixes the problem of the build, although I'm still getting the warnings. --- En date de : Jeu 14.10.10, Tim Liu <[email protected]> a écrit : De: Tim Liu <[email protected]> Objet: Re: Building mahout À: [email protected] Date: Jeudi 14 octobre 2010, 21h10 The problem is gone after I modify top level's pom.xml (Line # 396) to have right path for the file supplemental-models.xml. I am wondering how it works w/o modification. new === <appendedResourcesDirectory>*.* /src/main/appended-resources</appendedResourcesDirectory> old == <appendedResourcesDirectory>*..* /src/main/appended-resources</appendedResourcesDirectory> thanks Tim On Thu, Oct 14, 2010 at 7:01 AM, Jeff Eastman <[email protected]>wrote: > I just did a clean checkout on my Mac and it built without issue. I'm > going to look for a file system permission issue on the other box where > building from the command line fails with the same symptoms as reported in > this issue. > > > On 10/13/10 9:45 PM, Chris Schilling wrote: > >> Yeah, I see the same thing (eclipse helios, m2eclipse plugin). Ive been >> building from the command line and importing the "maven" project into >> eclipse. >> >> >> On Oct 13, 2010, at 8:38 PM, gabeweb wrote: >> >> If it helps, I get this problem with the trunk when building from within >>> Eclipse 1.5 using the m2 plugin on OS X 10.6, but not when building from >>> the >>> command line. So I'm currently just building from the command line :) >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/Building-mahout-tp1697626p1698594.html >>> Sent from the Mahout User List mailing list archive at Nabble.com. >>> >> >> >
