Hi list,
Whilst shadowing the Build Nutch 2.0 tutorial @
http://techvineyard.blogspot.com/2010/12/build-nutch-20.html, I have run into
some 'problems'
Gora builds fine...
I encounter problems when I get to the #Nutch part of the tutorial. Applying
patches to ivy/ivy.xml E.g. restlet dependency and xercesImpl seems to work
fine. It's when I apply the patch to src/plugin/protocol-sftp/ivy.xml that I
begin running into problems. As quoted within the tutorial, 'This will break
the build, so be sure to replace it back when running Ant tasks'. I follow the
instructions to Add Ivy Library to both .xml files and I begin getting error
messages.
ivy/ivy.xml
Impossible to resolve dependencies of
org.apache.nutch#${ant.project.name};working@lewis-01
unresolved dependency: org.apache.gora#gora-core;0.1: not found
unresolved dependency: org.apache.gora#gora-sql;0.1: not found
unresolved dependency: org.apache.gora#gora-core;0.1: not found
unresolved dependency: org.apache.gora#gora-sql;0.1: not found
unresolved dependency: org.apache.gora#gora-core;0.1: not found
unresolved dependency: org.apache.gora#gora-sql;0.1: not found
When I try to build trunk with Ant I get the following
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: org.apache.gora#gora-core;0.1
[ivy:resolve] ==== local: tried
[ivy:resolve]
/home/lewis/.ivy2/local/org.apache.gora/gora-core/0.1/ivys/ivy.xml
[ivy:resolve] -- artifact org.apache.gora#gora-core;0.1!gora-core.jar:
[ivy:resolve]
/home/lewis/.ivy2/local/org.apache.gora/gora-core/0.1/jars/gora-core.jar
[ivy:resolve] module not found: org.apache.gora#gora-sql;0.1
[ivy:resolve] ==== local: tried
[ivy:resolve]
/home/lewis/.ivy2/local/org.apache.gora/gora-sql/0.1/ivys/ivy.xml
[ivy:resolve] -- artifact org.apache.gora#gora-sql;0.1!gora-sql.jar:
[ivy:resolve]
/home/lewis/.ivy2/local/org.apache.gora/gora-sql/0.1/jars/gora-sql.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.gora#gora-core;0.1: not found
[ivy:resolve] :: org.apache.gora#gora-sql;0.1: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :::: ERRORS
[ivy:resolve] unknown resolver main
[ivy:resolve] unknown resolver main
....
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/lewis/workspace/Nutch-2.0-trunk/build.xml:452: impossible to resolve
dependencies:
resolve failed - see output for details
Total time: 4 seconds
When I step into the 452: impossible to resolve dependencies the following line
is highlighted
<ivy:resolve file="${ivy.file}" conf="default" log="download-only"/>
Has anyone experienced this? If so can anyone explain what has happened. I
would like a hint as I wish to get much more familiar with trunk over near
future.
Thanks Lewis
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education’s Widening Participation Initiative of the Year
2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education’s Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html