File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/main/java/org/metafacture/biblio Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,12 @@ dependencies {
2121 api project(' :metafacture-framework' )
2222 implementation project(' :metafacture-commons' )
2323 implementation project(' :metafacture-flowcontrol' )
24- implementation ' org.dspace:oclc-harvester2:0.1.12 '
24+ implementation ' org.dspace:oclc-harvester2:1.0.0 '
2525 implementation (' xalan:xalan:2.7.0' ) {
2626 exclude group : ' xalan' , module : ' serializer'
2727 exclude group : ' xercesImpl' , module : ' xercesImpl'
2828 exclude group : ' xml-apis' , module : ' xml-apis'
2929 }
30- implementation ' log4j:log4j:1.2.17'
3130 testImplementation ' junit:junit:4.12'
3231 testImplementation ' org.mockito:mockito-core:2.5.5'
3332}
Original file line number Diff line number Diff line change 1010import org .metafacture .framework .annotations .Out ;
1111import org .metafacture .framework .helpers .DefaultObjectPipe ;
1212
13- import ORG .oclc .oai .harvester2 .app .RawWrite ;
13+ import org .oclc .oai .harvester2 .app .RawWrite ;
1414import org .xml .sax .SAXException ;
1515
1616import java .io .ByteArrayInputStream ;
1919import java .io .InputStreamReader ;
2020import java .io .Reader ;
2121import javax .xml .parsers .ParserConfigurationException ;
22- import javax .xml .transform . TransformerException ;
22+ import javax .xml .xpath . XPathException ;
2323
2424/**
2525 * Opens an OAI-PMH stream and passes a reader to the receiver.
@@ -111,7 +111,7 @@ public void process(final String baseUrl) {
111111 catch (final SAXException e ) {
112112 e .printStackTrace ();
113113 }
114- catch (final TransformerException e ) {
114+ catch (final XPathException e ) {
115115 e .printStackTrace ();
116116 }
117117 catch (final NoSuchFieldException e ) {
You can’t perform that action at this time.
0 commit comments