File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/main/java/org/metafacture/biblio Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ subprojects {
8181 repositories {
8282 mavenLocal()
8383 mavenCentral()
84- maven { url ' https://jitpack.io' }
8584 }
8685}
8786
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
2121 api project(' :metafacture-framework' )
2222 implementation project(' :metafacture-commons' )
2323 implementation project(' :metafacture-flowcontrol' )
24- implementation ' com.github.hbz:oai -harvester2:master-SNAPSHOT '
24+ implementation ' org.dspace:oclc -harvester2:0.1.12 '
2525 implementation (' xalan:xalan:2.7.0' ) {
2626 exclude group : ' xalan' , module : ' serializer'
2727 exclude group : ' xercesImpl' , module : ' xercesImpl'
Original file line number Diff line number Diff line change 1010import java .io .Reader ;
1111
1212import javax .xml .parsers .ParserConfigurationException ;
13- import javax .xml .xpath . XPathException ;
13+ import javax .xml .transform . TransformerException ;
1414
1515import org .metafacture .framework .MetafactureException ;
1616import org .metafacture .framework .ObjectReceiver ;
1717import org .metafacture .framework .annotations .Description ;
1818import org .metafacture .framework .annotations .In ;
1919import org .metafacture .framework .annotations .Out ;
2020import org .metafacture .framework .helpers .DefaultObjectPipe ;
21- import org .oclc .oai .harvester2 .app .RawWrite ;
2221import org .xml .sax .SAXException ;
2322
23+ import ORG .oclc .oai .harvester2 .app .RawWrite ;
24+
2425/**
2526 * Opens an OAI-PMH stream and passes a reader to the receiver.
2627 *
@@ -110,9 +111,9 @@ public void process(final String baseUrl) {
110111 e .printStackTrace ();
111112 } catch (SAXException e ) {
112113 e .printStackTrace ();
113- } catch (NoSuchFieldException e ) {
114+ } catch (TransformerException e ) {
114115 e .printStackTrace ();
115- } catch (XPathException e ) {
116+ } catch (NoSuchFieldException e ) {
116117 e .printStackTrace ();
117118 }
118119 try {
You can’t perform that action at this time.
0 commit comments