Ant is considered the authoritative build. Frankly, I find having the
pom in the trunk both a blessing and a curse. I love being able to
point IntelliJ at it, but think it causes confusion over which one to
use and will likely cause problems with keeping up to date.
I _believe_ Karl added some capabilities to the POM whereby it can
publish the various artifacts locally (i.e. Hadoop). Try running ant
package. Otherwise, have a look at some of the goals in the POM to
see if anything rings a bell. We should probably hook them into the
compile phase. Since I don't think Hadoop supports Maven, we will
probably have to do what Solr does and also publish the associated
dependencies to the Maven repo.
-Grant
On Oct 27, 2008, at 12:48 PM, Otis Gospodnetic wrote:
Hi,
Are people more familiar with Mahout build aware of this? Am I
doing something wrong? I'm simply trying to build from trunk.
After Maven spits out the info about those POMs below it spits out
stuff like:
Missing:
----------
1) org.apache.hadoop:core:jar:0.18.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.hadoop -
DartifactId=core -Dversion=0.18.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.apache.hadoop -
DartifactId=core -Dversion=0.18.1 -Dpackaging=jar -Dfile=/path/to/
file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.mahout:core:jar:0.1-SNAPSHOT
2) org.apache.hadoop:core:jar:0.18.1
...
...
...
Thanks,
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
From: Otis Gospodnetic <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, October 23, 2008 1:39:52 PM
Subject: Dependency artifacts missing from maven2 repo
Hi,
Maybe it's just a temporary glitch, as I was able to build Mahout
about a week
ago, but I am currently unable to build it. It looks like all of
the following
are missing from the Maven repo for some reason.
Downloading:
http://repo1.maven.org/maven2/org/apache/hadoop/core/0.18.1/core-0.18.1.pom
Downloading:
http://repo1.maven.org/maven2/org/kosmix/kosmofs/kfs/0.2.1/kfs-0.2.1.pom
Downloading: http://repo1.maven.org/maven2/jets3t/jets3t/0.6.1/jets3t-0.6.1.pom
Downloading:
http://repo1.maven.org/maven2/org/znerd/xmlenc/xmlenc/0.52/xmlenc-0.52.pom
Downloading:
http://repo1.maven.org/maven2/org/uncommons/watchmaker/watchmaker-framework/0.4.3/watchmaker-framework-0.4.3.pom
Downloading:
http://repo1.maven.org/maven2/org/uncommons/watchmaker/watchmaker-swing/0.4.3/watchmaker-swing-0.4.3.pom
Downloading:
http://repo1.maven.org/maven2/org/uncommons/math/uncommons-math/1.0.2/uncommons-math-1.0.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/hadoop/core/0.18.1/core-0.18.1.jar
Downloading:
http://repo1.maven.org/maven2/org/kosmix/kosmofs/kfs/0.2.1/kfs-0.2.1.jar
Downloading: http://repo1.maven.org/maven2/jets3t/jets3t/0.6.1/jets3t-0.6.1.jar
Downloading:
http://repo1.maven.org/maven2/org/znerd/xmlenc/xmlenc/0.52/xmlenc-0.52.jar
Downloading:
http://repo1.maven.org/maven2/org/uncommons/watchmaker/watchmaker-framework/0.4.3/watchmaker-framework-0.4.3.jar
Downloading:
http://repo1.maven.org/maven2/org/uncommons/watchmaker/watchmaker-swing/0.4.3/watchmaker-swing-0.4.3.jar
Downloading:
http://repo1.maven.org/maven2/org/uncommons/math/uncommons-math/1.0.2/uncommons-math-1.0.2.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.