Skip to content

Commit 3400ed5

Browse files
committed
Minor fix for load data to work using mlcp
1 parent d042157 commit 3400ed5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

marklogic-data-hub/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ dependencies {
2626
compile 'com.marklogic:ml-app-deployer:2.0'
2727
compile 'commons-io:commons-io:2.4'
2828
compile 'org.apache.commons:commons-csv:1.2'
29-
compile('com.marklogic:mlcp:8.0-4') {
29+
compile('com.marklogic:mlcp:8.0-5') {
3030
exclude module : 'servlet-api'
3131
exclude group: 'com.google.guava', module: 'guava'
3232
}
33-
compile 'com.google.guava:guava:11.0.2'
33+
compile 'com.google.guava:guava:19.0'
3434
testCompile 'org.springframework.batch:spring-batch-test:3.0.6.RELEASE'
3535
testCompile 'junit:junit:4.12'
3636
testCompile 'xmlunit:xmlunit:1.3'

marklogic-data-hub/src/main/java/com/marklogic/hub/DataHubContentPump.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void execute() throws IOException {
5252
// run mlcp
5353
expandedArgs = OptionsFileUtil.expandArguments(arguments);
5454
runCommand(expandedArgs);
55-
} catch (Exception ex) {
55+
} catch (Throwable ex) {
5656
LOG.error("Error while expanding arguments", ex);
5757
System.err.println(ex.getMessage());
5858
System.err.println("Try 'mlcp help' for usage.");

0 commit comments

Comments
 (0)