Skip to content

Commit

Permalink
Merge #467 from branch '360-oaipmh' of github.com:metafacture/metafac…
Browse files Browse the repository at this point in the history
…ture-core
  • Loading branch information
dr0i committed Sep 19, 2022
2 parents c8ecbda + 384c854 commit 2fa964a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions metafacture-biblio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ 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'
exclude group: 'xml-apis', module: 'xml-apis'
}
implementation 'log4j:log4j:1.2.17'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.5.5'
}
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 2fa964a

Please sign in to comment.