java - Installing Mahout with Maven on OS X Eclipse -
i trying play mahout.
following simple instructions on apache website. i'm getting weird dependency errors.
i've created new project maven. i've added pom.xml suggested:
<dependency> <groupid>org.apache.mahout</groupid> <artifactid>mahout-mrlegacy</artifactid> <version>0.9</version> </dependency>
now running 'mvn clean install -u' gives me:
downloading: https://repo.maven.apache.org/maven2/org/apache/mahout/mahout-mrlegacy/0.9/mahout-mrlegacy-0.9.jar [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 1.689 s [info] finished at: 2015-03-21t10:54:37+00:00 [info] final memory: 6m/81m [info] ------------------------------------------------------------------------ [error] failed execute goal on project my-app: not resolve dependencies project com.mycompany.app:my-app:jar:1.0-snapshot: not find artifact org.apache.mahout:mahout-mrlegacy:jar:0.9 in central (https://repo.maven.apache.org/maven2) -> [help 1]
java hard! seriously, i'm ruby guy. tried 'artifactid' 'mahout' can see in of these alleged maven repositories, same error. doing wrong???
the documentation of apache mahout appears have version mix-up. mahout-mrlegacy
not exist in version 0.9, it exist in version 0.10.0. version 0.9, dependency mahout-core
.
therefore, should use
<dependency> <groupid>org.apache.mahout</groupid> <artifactid>mahout-core</artifactid> <version>0.9</version> </dependency>
when 0.10.0 released, need use
<dependency> <groupid>org.apache.mahout</groupid> <artifactid>mahout-mrlegacy</artifactid> <version>0.10.0</version> </dependency>
Comments
Post a Comment