Since mvn 3.0 is NOT fully tested yet, may we update it on documentation https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout? Here is what there now:
- Maven *2.0.9* or higher (http://maven.apache.org/) On Fri, Oct 15, 2010 at 11:12 AM, Drew Farris <[email protected]> wrote: > -user +dev > > I haven't tried mvn 3.0 yet, is it something we want to support in 0.4? > On Oct 15, 2010 10:20 AM, "Jeff Eastman" <[email protected]> > wrote: > > I'm also seeing these warnings with Maven 3.0 with the latest trunk, > > also some missing 'reporting.plugins.version' for > > maven-surfire-report-plugin, maven-checkstyle-plugin, > > maven-javadoc-plugin, maven-pmd-plugin; finally > > 'repositories.repository.layout' for java.net.legacy uses unsupported > > value 'legacy', artifact resolution might fail. > > @org.apache.mahout:mahout:-.4-SNAPSHOT. > > /home/dev/workspace/mahout/pom.xml, line 127, column 21. > > > > Again, Tim's patch fixed the compile error. > > > > On 10/15/10 12:38 AM, deneche abdelhakim wrote: > >> 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. > >>>>> > >>>> > >> > >> > >> > > >
