I want to compile Nutch 2.2.1 to use with MongoDB for data storage.
I changed gora-core to 0.5 in file ivy.xml:
<dependency org="org.apache.gora" name="gora-core" rev="0.5" conf="*->default"/>
Also added dependency for mongodb in ivy/ivy.xml file:
<dependency org="org.apache.gora" name="gora-mongodb" rev="0.5" conf="*->default" />
Added mongodb config in conf/gora.properties:
############################
# MongoDBStore properties #
############################
gora.datastore.default=org.apache.gora.mongodb.store.MongoStore
gora.mongodb.override_hadoop_configuration=false
gora.mongodb.mapping.file=/gora-mongodb-mapping.xml
gora.mongodb.servers=localhost:27017
gora.mongodb.db=nutch
Added gora-mongodb-mapping.xml to conf directory from Nutch-2.3-SNAPSHOT.
When I am trying to compile I get error:
Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
After which I get many compiler errors.
When I try to configure and compile Nutch with MySQL every compiles and work perfectly.
I am trying to compile on Debian.