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 {
81
81
repositories {
82
82
mavenLocal()
83
83
mavenCentral()
84
- maven { url ' https://jitpack.io' }
85
84
}
86
85
}
87
86
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
21
21
api project(' :metafacture-framework' )
22
22
implementation project(' :metafacture-commons' )
23
23
implementation project(' :metafacture-flowcontrol' )
24
- implementation ' com.github.hbz:oai -harvester2:master-SNAPSHOT '
24
+ implementation ' org.dspace:oclc -harvester2:0.1.12 '
25
25
implementation (' xalan:xalan:2.7.0' ) {
26
26
exclude group : ' xalan' , module : ' serializer'
27
27
exclude group : ' xercesImpl' , module : ' xercesImpl'
Original file line number Diff line number Diff line change 10
10
import java .io .Reader ;
11
11
12
12
import javax .xml .parsers .ParserConfigurationException ;
13
- import javax .xml .xpath . XPathException ;
13
+ import javax .xml .transform . TransformerException ;
14
14
15
15
import org .metafacture .framework .MetafactureException ;
16
16
import org .metafacture .framework .ObjectReceiver ;
17
17
import org .metafacture .framework .annotations .Description ;
18
18
import org .metafacture .framework .annotations .In ;
19
19
import org .metafacture .framework .annotations .Out ;
20
20
import org .metafacture .framework .helpers .DefaultObjectPipe ;
21
- import org .oclc .oai .harvester2 .app .RawWrite ;
22
21
import org .xml .sax .SAXException ;
23
22
23
+ import ORG .oclc .oai .harvester2 .app .RawWrite ;
24
+
24
25
/**
25
26
* Opens an OAI-PMH stream and passes a reader to the receiver.
26
27
*
@@ -110,9 +111,9 @@ public void process(final String baseUrl) {
110
111
e .printStackTrace ();
111
112
} catch (SAXException e ) {
112
113
e .printStackTrace ();
113
- } catch (NoSuchFieldException e ) {
114
+ } catch (TransformerException e ) {
114
115
e .printStackTrace ();
115
- } catch (XPathException e ) {
116
+ } catch (NoSuchFieldException e ) {
116
117
e .printStackTrace ();
117
118
}
118
119
try {
You can’t perform that action at this time.
0 commit comments