Skip to content

Commit 2cec789

Browse files
committed
Merge #489 from remote-tracking branch 'origin/5.6.0-rc1'
2 parents 1860026 + fd66002 commit 2cec789

File tree

26 files changed

+89
-75
lines changed

26 files changed

+89
-75
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ plugins {
2323
id 'io.codearte.nexus-staging' version '0.11.0'
2424
}
2525

26+
subprojects {
27+
ext {
28+
versions = [
29+
'assertj_core': '3.11.1',
30+
'commons_compress': '1.21',
31+
'jackson_databind': '2.15.1',
32+
'junit': '4.12',
33+
'mockito': '2.5.7',
34+
'slf4j': '1.7.36',
35+
'wiremock_jre': '2.35.0'
36+
]
37+
}
38+
}
39+
2640
ext.scmInfo = getScmInfo()
2741

2842
allprojects {

metafacture-biblio/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ dependencies {
2727
exclude group: 'xercesImpl', module: 'xercesImpl'
2828
exclude group: 'xml-apis', module: 'xml-apis'
2929
}
30-
testImplementation 'junit:junit:4.12'
31-
testImplementation 'org.mockito:mockito-core:2.5.5'
30+
testImplementation "junit:junit:${versions.junit}"
31+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
3232
}

metafacture-commons/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ ext.mavenName = 'Metafacture Commons'
1818
description = 'Basic types, algorithms and utilities for Metafacture'
1919

2020
dependencies {
21-
testImplementation 'junit:junit:4.12'
21+
testImplementation "junit:junit:${versions.junit}"
2222
}

metafacture-csv/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for processing comma-separated values'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.opencsv:opencsv:3.8'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
implementation 'com.opencsv:opencsv:3.9'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-elasticsearch/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for sending data to an Elasticsearch instance'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-flowcontrol/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ description = 'Modules for controlling the data flow in a Metafacture pipeline'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'org.slf4j:slf4j-api:1.7.21'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
25-
testImplementation 'org.assertj:assertj-core:3.11.1'
26-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
22+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
25+
testImplementation "org.assertj:assertj-core:${versions.assertj_core}"
26+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
2727
}

metafacture-flux/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ dependencies {
2525
implementation project(':metafacture-io')
2626
testRuntime project(':metafacture-plumbing')
2727
antlr 'org.antlr:antlr:3.5.2'
28-
testImplementation 'junit:junit:4.12'
28+
testImplementation "junit:junit:${versions.junit}"
2929
}

metafacture-formeta/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ description = 'Modules for reading and writing data in Formeta format'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-framework/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ ext.mavenName = 'Metafacture Framework'
1818
description = 'The interfaces implemented by Metafacture modules'
1919

2020
dependencies {
21-
testImplementation 'junit:junit:4.12'
22-
testImplementation 'org.mockito:mockito-core:2.5.5'
21+
testImplementation "junit:junit:${versions.junit}"
22+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2323
}

metafacture-html/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ description = 'Modules for processing HTML documents'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
implementation 'org.slf4j:slf4j-api:1.7.21'
24-
implementation 'org.apache.commons:commons-compress:1.21'
25-
implementation 'commons-io:commons-io:2.6'
26-
implementation 'org.jsoup:jsoup:1.12.1'
27-
testImplementation 'junit:junit:4.12'
28-
testImplementation 'org.mockito:mockito-core:2.5.5'
29-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
23+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
24+
implementation "org.apache.commons:commons-compress:${versions.commons_compress}"
25+
implementation 'commons-io:commons-io:2.7'
26+
implementation 'org.jsoup:jsoup:1.15.4'
27+
testImplementation "junit:junit:${versions.junit}"
28+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
29+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3030
}

metafacture-io/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
2323
implementation 'commons-io:commons-io:2.5'
24-
implementation 'org.apache.commons:commons-compress:1.21'
24+
implementation "org.apache.commons:commons-compress:${versions.commons_compress}"
2525
runtimeOnly 'org.tukaani:xz:1.6'
2626
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.33.2'
27-
testImplementation 'junit:junit:4.12'
28-
testImplementation 'org.mockito:mockito-core:2.5.5'
29-
testImplementation 'org.assertj:assertj-core:3.11.1'
30-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
27+
testImplementation "junit:junit:${versions.junit}"
28+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
29+
testImplementation "org.assertj:assertj-core:${versions.assertj_core}"
30+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3131
}

metafacture-javaintegration/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ description = 'Modules for making results of Metafacture pipelines available in
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-jdom/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ description = 'Modules for converting JDOM documents to Metafacture streams and
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
api 'org.jdom:jdom2:2.0.6'
22+
api 'org.jdom:jdom2:2.0.6.1'
2323
implementation project(':metafacture-commons')
2424
}

metafacture-json/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ description = 'Modules for processing JSON data in Metafacture'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.fasterxml.jackson.core:jackson-core:2.13.0'
23-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
24-
implementation 'com.jayway.jsonpath:json-path:2.6.0'
25-
implementation 'com.github.erosb:everit-json-schema:1.14.1'
26-
testImplementation 'junit:junit:4.12'
27-
testImplementation 'org.mockito:mockito-core:2.5.5'
28-
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.33.2'
29-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
22+
implementation 'com.fasterxml.jackson.core:jackson-core:2.14.2'
23+
implementation "com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}"
24+
implementation 'com.jayway.jsonpath:json-path:2.7.0'
25+
implementation 'com.github.erosb:everit-json-schema:1.14.2'
26+
testImplementation "junit:junit:${versions.junit}"
27+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
28+
testImplementation "com.github.tomakehurst:wiremock-jre8:${versions.wiremock_jre}"
29+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3030
}

metafacture-linkeddata/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ description = 'Modules for working with linked data formats'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-mangling/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ description = 'Modules for manipulating the sequence of events in a Metafacture
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-flowcontrol')
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metafacture-monitoring/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ description = 'Modules for monitoring Metafacure streams'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
implementation 'org.slf4j:slf4j-api:1.7.21'
24-
testImplementation 'junit:junit:4.12'
25-
testImplementation 'org.mockito:mockito-core:2.5.5'
26-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
23+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
24+
testImplementation "junit:junit:${versions.junit}"
25+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
26+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
2727
}

metafacture-plumbing/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ description = 'Modules for splitting and merging Metafacture pipelines'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
testImplementation 'junit:junit:4.12'
23-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
testImplementation "junit:junit:${versions.junit}"
23+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2424
}

metafacture-runner/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dependencies {
6767
// class loader which was used to load the classes of the slf4j-api. Until
6868
// a solution is found for this problem, the binding need to be placed on the
6969
// class path:
70-
runtimeOnly 'org.slf4j:slf4j-log4j12:1.7.21'
70+
runtimeOnly "org.slf4j:slf4j-log4j12:${versions.slf4j}"
7171

7272
// The following dependencies are placed in the "provided" scope to prevent
7373
// them from being included in the class path but still have them available

metafacture-statistics/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ description = 'Modules for computing statistics'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
testImplementation 'junit:junit:4.12'
23-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
testImplementation "junit:junit:${versions.junit}"
23+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2424
}

metafacture-strings/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ description = 'Modules for performing string operations on a Metafacture stream'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
testImplementation 'junit:junit:4.12'
23-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
testImplementation "junit:junit:${versions.junit}"
23+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2424
}

metafacture-triples/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
2323
implementation project(':metafacture-formeta')
24-
testImplementation 'junit:junit:4.12'
25-
testImplementation 'org.mockito:mockito-core:2.5.5'
24+
testImplementation "junit:junit:${versions.junit}"
25+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2626
}

metafacture-xml/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ description = 'Modules for generic operations on XML documents'
2020
dependencies {
2121
api project(':metafacture-framework')
2222
implementation project(':metafacture-commons')
23-
implementation 'org.slf4j:slf4j-api:1.7.21'
24-
implementation 'org.apache.commons:commons-compress:1.21'
25-
testImplementation 'junit:junit:4.12'
26-
testImplementation 'org.mockito:mockito-core:2.5.5'
27-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
23+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
24+
implementation "org.apache.commons:commons-compress:${versions.commons_compress}"
25+
testImplementation "junit:junit:${versions.junit}"
26+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
27+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
2828
}

metafacture-yaml/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description = 'Modules for processing YAML data in Metafacture'
1919

2020
dependencies {
2121
api project(':metafacture-framework')
22-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.0'
23-
testImplementation 'junit:junit:4.12'
24-
testImplementation 'org.mockito:mockito-core:2.5.5'
22+
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.1'
23+
testImplementation "junit:junit:${versions.junit}"
24+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
2525
}

metamorph-test/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ext.mavenName = 'Metamorph Test'
1818
description = 'A framework writing tests for Metamorph scripts in XML'
1919

2020
dependencies {
21-
api 'junit:junit:4.12'
21+
api "junit:junit:${versions.junit}"
2222
implementation project(':metafacture-framework')
2323
implementation project(':metafacture-commons')
2424
implementation project(':metamorph')
@@ -28,8 +28,8 @@ dependencies {
2828
implementation project(':metafacture-formeta')
2929
implementation project(':metafacture-xml')
3030
implementation project(':metafacture-javaintegration')
31-
implementation 'org.slf4j:slf4j-api:1.7.21'
32-
testImplementation 'org.mockito:mockito-core:2.5.5'
31+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
32+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
3333
testImplementation project(':metafacture-formeta')
34-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
34+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
3535
}

metamorph/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ dependencies {
2525
implementation project(':metafacture-io')
2626
implementation project(':metafacture-mangling')
2727
implementation project(':metafacture-javaintegration')
28-
implementation 'org.slf4j:slf4j-api:1.7.21'
29-
testImplementation 'junit:junit:4.12'
30-
testImplementation 'org.mockito:mockito-core:2.5.5'
31-
testRuntimeOnly 'org.slf4j:slf4j-simple:1.7.21'
28+
implementation "org.slf4j:slf4j-api:${versions.slf4j}"
29+
testRuntimeOnly "org.slf4j:slf4j-simple:${versions.slf4j}"
30+
testImplementation "junit:junit:${versions.junit}"
31+
testImplementation "org.mockito:mockito-core:${versions.mockito}"
3232
}
3333

3434
sourceSets {

0 commit comments

Comments
 (0)