File tree 2 files changed +4
-5
lines changed
src/main/java/org/metafacture/biblio
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,12 @@ 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 ' org.dspace:oclc-harvester2:1.0.0 '
25
25
implementation (' xalan:xalan:2.7.0' ) {
26
26
exclude group : ' xalan' , module : ' serializer'
27
27
exclude group : ' xercesImpl' , module : ' xercesImpl'
28
28
exclude group : ' xml-apis' , module : ' xml-apis'
29
29
}
30
- implementation ' log4j:log4j:1.2.17'
31
30
testImplementation ' junit:junit:4.12'
32
31
testImplementation ' org.mockito:mockito-core:2.5.5'
33
32
}
Original file line number Diff line number Diff line change 10
10
import org .metafacture .framework .annotations .Out ;
11
11
import org .metafacture .framework .helpers .DefaultObjectPipe ;
12
12
13
- import ORG .oclc .oai .harvester2 .app .RawWrite ;
13
+ import org .oclc .oai .harvester2 .app .RawWrite ;
14
14
import org .xml .sax .SAXException ;
15
15
16
16
import java .io .ByteArrayInputStream ;
19
19
import java .io .InputStreamReader ;
20
20
import java .io .Reader ;
21
21
import javax .xml .parsers .ParserConfigurationException ;
22
- import javax .xml .transform . TransformerException ;
22
+ import javax .xml .xpath . XPathException ;
23
23
24
24
/**
25
25
* Opens an OAI-PMH stream and passes a reader to the receiver.
@@ -111,7 +111,7 @@ public void process(final String baseUrl) {
111
111
catch (final SAXException e ) {
112
112
e .printStackTrace ();
113
113
}
114
- catch (final TransformerException e ) {
114
+ catch (final XPathException e ) {
115
115
e .printStackTrace ();
116
116
}
117
117
catch (final NoSuchFieldException e ) {
You can’t perform that action at this time.
0 commit comments