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,6 +81,7 @@ subprojects {
8181 repositories {
8282 mavenLocal()
8383 mavenCentral()
84+ maven { url ' https://jitpack.io' }
8485 }
8586}
8687
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 ' org.dspace:oclc -harvester2:0.1.12 '
24+ implementation ' com.github.hbz:oai -harvester2:master-SNAPSHOT '
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 .transform . TransformerException ;
13+ import javax .xml .xpath . XPathException ;
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 ;
2122import org .xml .sax .SAXException ;
2223
23- import ORG .oclc .oai .harvester2 .app .RawWrite ;
24-
2524/**
2625 * Opens an OAI-PMH stream and passes a reader to the receiver.
2726 *
@@ -111,10 +110,10 @@ public void process(final String baseUrl) {
111110 e .printStackTrace ();
112111 } catch (SAXException e ) {
113112 e .printStackTrace ();
114- } catch (TransformerException e ) {
115- e .printStackTrace ();
116113 } catch (NoSuchFieldException e ) {
117114 e .printStackTrace ();
115+ } catch (XPathException e ) {
116+ e .printStackTrace ();
118117 }
119118 try {
120119 getReceiver ().process (
You can’t perform that action at this time.
0 commit comments