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 {
81
81
repositories {
82
82
mavenLocal()
83
83
mavenCentral()
84
+ maven { url ' https://jitpack.io' }
84
85
}
85
86
}
86
87
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 ' org.dspace:oclc -harvester2:0.1.12 '
24
+ implementation ' com.github.hbz:oai -harvester2:master-SNAPSHOT '
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 .transform . TransformerException ;
13
+ import javax .xml .xpath . XPathException ;
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 ;
21
22
import org .xml .sax .SAXException ;
22
23
23
- import ORG .oclc .oai .harvester2 .app .RawWrite ;
24
-
25
24
/**
26
25
* Opens an OAI-PMH stream and passes a reader to the receiver.
27
26
*
@@ -111,10 +110,10 @@ public void process(final String baseUrl) {
111
110
e .printStackTrace ();
112
111
} catch (SAXException e ) {
113
112
e .printStackTrace ();
114
- } catch (TransformerException e ) {
115
- e .printStackTrace ();
116
113
} catch (NoSuchFieldException e ) {
117
114
e .printStackTrace ();
115
+ } catch (XPathException e ) {
116
+ e .printStackTrace ();
118
117
}
119
118
try {
120
119
getReceiver ().process (
You can’t perform that action at this time.
0 commit comments