Skip to content

Commit

Permalink
Revert switch of OAI-PMH harvester library
Browse files Browse the repository at this point in the history
Causes downstream problems due to jitpack.io requirement

See #360
  • Loading branch information
fsteeg committed Mar 11, 2021
1 parent 5aa0ee3 commit bc825ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ subprojects {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

Expand Down
2 changes: 1 addition & 1 deletion metafacture-biblio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
api project(':metafacture-framework')
implementation project(':metafacture-commons')
implementation project(':metafacture-flowcontrol')
implementation 'com.github.hbz:oai-harvester2:master-SNAPSHOT'
implementation 'org.dspace:oclc-harvester2:0.1.12'
implementation ('xalan:xalan:2.7.0') {
exclude group: 'xalan', module: 'serializer'
exclude group: 'xercesImpl', module: 'xercesImpl'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
import java.io.Reader;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.xpath.XPathException;
import javax.xml.transform.TransformerException;

import org.metafacture.framework.MetafactureException;
import org.metafacture.framework.ObjectReceiver;
import org.metafacture.framework.annotations.Description;
import org.metafacture.framework.annotations.In;
import org.metafacture.framework.annotations.Out;
import org.metafacture.framework.helpers.DefaultObjectPipe;
import org.oclc.oai.harvester2.app.RawWrite;
import org.xml.sax.SAXException;

import ORG.oclc.oai.harvester2.app.RawWrite;

/**
* Opens an OAI-PMH stream and passes a reader to the receiver.
*
Expand Down Expand Up @@ -110,9 +111,9 @@ public void process(final String baseUrl) {
e.printStackTrace();
} catch (SAXException e) {
e.printStackTrace();
} catch (NoSuchFieldException e) {
} catch (TransformerException e) {
e.printStackTrace();
} catch (XPathException e) {
} catch (NoSuchFieldException e) {
e.printStackTrace();
}
try {
Expand Down

0 comments on commit bc825ae

Please sign in to comment.