mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Lewi <jer...@lewi.us>
Subject Re: Help building mahout
Date Thu, 27 Jan 2011 14:18:01 GMT
Thanks, that worked once I added the -DskipTests option.

J
On Thu, 2011-01-27 at 19:00 +0530, Kasun Lakpriya wrote:
> Hi,
> I am not an expert but I think you can try to build from the top level
> pom.xml using,
> 
> - mvn clean install, instead of mvn compile
> 
> Hope you are following this
> https://cwiki.apache.org/confluence/display/MAHOUT/BuildingMahout
> 
> or else try to build after deleting org/mahout from the repository.
> 
> HTH
> 
> -Kasun
> 
> If this won
> 
> On Thu, Jan 27, 2011 at 6:48 PM, Jeremy Lewi <jeremy@lewi.us> wrote:
> 
> > Hi,
> >
> > I'm trying to build mahout from svn and while trying to build the core I
> > get the following error. I have revision r1063437 checked out.
> >
> > [ERROR] Failed to execute goal on project mahout-core: Could not resolve
> > dependencies for project org.apache.mahout:mahout-core:jar:0.5-SNAPSHOT:
> > Failed to collect dependencies for
> > [org.apache.mahout:mahout-math:jar:0.5-SNAPSHOT (compile),
> > org.apache.hadoop:hadoop-core:jar:0.20.2 (compile),
> > org.apache.mahout.hbase:hbase:jar:0.20.0 (compile),
> > com.google.code.gson:gson:jar:1.3 (compile),
> > commons-dbcp:commons-dbcp:jar:1.2.2 (compile),
> > commons-pool:commons-pool:jar:1.4 (compile),
> > org.slf4j:slf4j-api:jar:1.6.0 (compile), org.slf4j:slf4j-jcl:jar:1.6.0
> > (test), commons-lang:commons-lang:jar:2.4 (compile),
> > org.uncommons.watchmaker:watchmaker-framework:jar:0.6.2 (compile),
> > com.thoughtworks.xstream:xstream:jar:1.3.1 (compile),
> > org.apache.lucene:lucene-core:jar:3.0.2 (compile),
> > org.apache.lucene:lucene-analyzers:jar:3.0.2 (compile),
> > org.apache.mahout.commons:commons-cli:jar:2.0-mahout (compile),
> > commons-math:commons-math:jar:1.2 (compile), junit:junit:jar:4.7 (test),
> > org.easymock:easymock:jar:2.5.2 (test),
> > org.easymock:easymockclassextension:jar:2.5.2 (test),
> > org.apache.mahout:mahout-math:jar:tests:0.5-SNAPSHOT (test),
> > commons-collections:commons-collections:jar:3.2.1 (compile)]: Failed to
> > read artifact descriptor for
> > org.apache.mahout:mahout-math:jar:0.5-SNAPSHOT: Could not find artifact
> > org.apache.mahout:mahout:pom:0.5-SNAPSHOT in Apache snapshots
> > (http://people.apache.org/maven-snapshot-repository) -> [Help 1]
> >
> > Here's what I did,
> > Cd to math
> >
> >     1. mvn compile
> >
> >     2. mvn install
> >
> >     3. One of the tests failed so I did
> >
> >              * mvn -DskipTests install
> >
> >              * test that failed was testLogNormalize
> >
> >  * cd to ../core
> >
> >     1. mvn compile
> >
> >             1. Got the error above.
> >             2.
> > I tried to build math because when I tried to build core, I got an error
> > about not being able to obtaion mahout-math.jar:0.5-SNAPSHOT
> >
> > Thanks
> > Jeremy
> >
> >
> >
> >
> >
> >
> >
> 
> 


Mime
View raw message