This is the OAI-PMH Data Provider (OAIP) application for the DataCite central infrastructure. This app is a servlet with the main functionality of disseminating the contents of the DataCite Metadata Store using OAI-PMH.
To learn more about DataCite please visit our website
To use this service please go to http://oai.datacite.org
You will need Maven 2.2.1 and JDK 6 in your system (OpenJDK from Ubuntu works fine).
This application is configured to connect to a Solr instance for all searching and record retrieval.
All dependencies are managed by Maven public repositories.
I assume you had created a fork from the master DataCite OAIP project. Now you need to configure the code before compiling.
The git repository has a bunch of *.template files. You can find them with:
find . -name *.template
Those files are templates for the various configuration files which are machine specific i.e. logging, database credentials etc.
To customise them you need to make a copy omitting (.template from file name) e.g.:
cp src/main/resources/log4j.xml.template \ src/main/resources/log4j.xml
Now in the created file you need to adjust values according to your local environment.
your database(Solr) configuration.
your usual log4j stuff.
At this stage you should be able to run the application.
mvn compile tomcat:run
Point your browser at http://localhost:8080/oaip/
You should see the welcome page of the DataCite OAI-PMH Data Provider.
Now you can run test OAI-PMH requests against the application.