Skip to content

Commit

Permalink
Update OAI-PMH harvester library (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Sep 16, 2022
1 parent b142587 commit a681c89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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 'org.dspace:oclc-harvester2:0.1.12'
implementation 'org.dspace:oclc-harvester2:1.0.0'
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,7 +10,7 @@
import org.metafacture.framework.annotations.Out;
import org.metafacture.framework.helpers.DefaultObjectPipe;

import ORG.oclc.oai.harvester2.app.RawWrite;
import org.oclc.oai.harvester2.app.RawWrite;
import org.xml.sax.SAXException;

import java.io.ByteArrayInputStream;
Expand All @@ -19,7 +19,7 @@
import java.io.InputStreamReader;
import java.io.Reader;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.xpath.XPathException;

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

0 comments on commit a681c89

Please sign in to comment.