@@ -15,6 +15,7 @@ plugins {
1515 id ' org.sonarqube' version ' 2.7.1'
1616 id ' org.asciidoctor.convert' version ' 1.6.1'
1717 id ' org.ajoberstar.grgit' version ' 3.1.1'
18+ id " io.spring.dependency-management" version " 1.0.8.RELEASE" apply false
1819}
1920
2021if (System . getenv(' TRAVIS' ) || System . getenv(' bamboo_buildKey' )) {
@@ -40,11 +41,84 @@ ext {
4041
4142 modifiedFiles =
4243 files(grgit. status(). unstaged. modified). filter{ f -> f. name. endsWith(' .java' ) || f. name. endsWith(' .kt' ) }
44+
45+ activeMqVersion = ' 5.15.9'
46+ apacheSshdVersion = ' 2.3.0'
47+ avroVersion = ' 1.9.0'
48+ aspectjVersion = ' 1.9.4'
49+ assertjVersion = ' 3.13.1'
50+ assertkVersion = ' 0.19'
51+ awaitilityVersion = ' 3.1.6'
52+ boonVersion = ' 0.34'
53+ commonsDbcp2Version = ' 2.6.0'
54+ commonsIoVersion = ' 2.6'
55+ commonsNetVersion = ' 3.6'
56+ curatorVersion = ' 4.2.0'
57+ derbyVersion = ' 10.14.2.0'
58+ ftpServerVersion = ' 1.1.1'
59+ googleJsr305Version = ' 3.0.2'
60+ groovyVersion = ' 2.5.7'
61+ hamcrestVersion = ' 2.1'
62+ hazelcastVersion = ' 3.12.1'
63+ hibernateVersion = ' 5.4.3.Final'
64+ hsqldbVersion = ' 2.5.0'
65+ h2Version = ' 1.4.199'
66+ jackson2Version = ' 2.9.9.20190807'
67+ javaxActivationVersion = ' 1.2.0'
68+ javaxMailVersion = ' 1.6.2'
69+ jmsApiVersion = ' 2.0.1'
70+ jpa21ApiVersion = ' 1.0.2.Final'
71+ jpaApiVersion = ' 2.2.1'
72+ jrubyVersion = ' 9.2.7.0'
73+ jschVersion = ' 0.1.55'
74+ jsonpathVersion = ' 2.4.0'
75+ junit4Version = ' 4.12'
76+ junitJupiterVersion = ' 5.5.1'
77+ junitPlatformVersion = ' 1.5.1'
78+ jythonVersion = ' 2.7.0'
79+ kryoShadedVersion = ' 4.0.2'
80+ lettuceVersion = ' 5.1.8.RELEASE'
81+ log4jVersion = ' 2.12.0'
82+ micrometerVersion = ' 1.2.0'
83+ mockitoVersion = ' 3.0.0'
84+ mysqlVersion = ' 8.0.16'
85+ pahoMqttClientVersion = ' 1.2.0'
86+ postgresVersion = ' 42.2.6'
87+ reactorNettyVersion = ' 0.9.0.M3'
88+ reactorVersion = ' 3.3.0.M3'
89+ resilience4jVersion = ' 0.16.0'
90+ romeToolsVersion = ' 1.12.1'
91+ rsocketVersion = ' 0.12.2-RC4'
92+ servletApiVersion = ' 4.0.1'
93+ smackVersion = ' 4.3.4'
94+ springAmqpVersion = project. hasProperty(' springAmqpVersion' ) ? project. springAmqpVersion : ' 2.2.0.BUILD-SNAPSHOT'
95+ springDataJpaVersion = ' 2.2.0.BUILD-SNAPSHOT'
96+ springDataMongoVersion = ' 2.2.0.BUILD-SNAPSHOT'
97+ springDataRedisVersion = ' 2.2.0.BUILD-SNAPSHOT'
98+ springGemfireVersion = ' 2.2.0.BUILD-SNAPSHOT'
99+ springSecurityVersion = ' 5.2.0.BUILD-SNAPSHOT'
100+ springRetryVersion = ' 1.2.4.RELEASE'
101+ springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 5.2.0.BUILD-SNAPSHOT'
102+ springWsVersion = ' 3.0.7.RELEASE'
103+ tomcatVersion = " 9.0.19"
104+ xstreamVersion = ' 1.4.11.1'
43105}
44106
45107allprojects {
46108 group = ' org.springframework.integration'
47109
110+ apply plugin : " io.spring.dependency-management"
111+
112+ dependencyManagement {
113+ resolutionStrategy {
114+ cacheChangingModulesFor 0 , ' seconds'
115+ }
116+ applyMavenExclusions = false
117+ generatedPomCustomization {
118+ enabled = false
119+ }
120+ }
121+
48122 repositories {
49123 maven { url ' https://repo.spring.io/libs-milestone' }
50124 if (version. endsWith(' BUILD-SNAPSHOT' )) {
@@ -98,69 +172,6 @@ subprojects { subproject ->
98172 }
99173 }
100174
101- ext {
102- activeMqVersion = ' 5.15.9'
103- apacheSshdVersion = ' 2.3.0'
104- avroVersion = ' 1.9.0'
105- aspectjVersion = ' 1.9.4'
106- assertjVersion = ' 3.13.1'
107- assertkVersion = ' 0.19'
108- awaitilityVersion = ' 3.1.6'
109- boonVersion = ' 0.34'
110- commonsDbcp2Version = ' 2.6.0'
111- commonsIoVersion = ' 2.6'
112- commonsNetVersion = ' 3.6'
113- curatorVersion = ' 4.2.0'
114- derbyVersion = ' 10.14.2.0'
115- ftpServerVersion = ' 1.1.1'
116- googleJsr305Version = ' 3.0.2'
117- groovyVersion = ' 2.5.7'
118- hamcrestVersion = ' 2.1'
119- hazelcastVersion = ' 3.12.1'
120- hibernateVersion = ' 5.4.3.Final'
121- hsqldbVersion = ' 2.5.0'
122- h2Version = ' 1.4.199'
123- jackson2Version = ' 2.9.9'
124- javaxActivationVersion = ' 1.2.0'
125- javaxMailVersion = ' 1.6.2'
126- jmsApiVersion = ' 2.0.1'
127- jpa21ApiVersion = ' 1.0.2.Final'
128- jpaApiVersion = ' 2.2.1'
129- jrubyVersion = ' 9.2.7.0'
130- jschVersion = ' 0.1.55'
131- jsonpathVersion = ' 2.4.0'
132- junit4Version = ' 4.12'
133- junitJupiterVersion = ' 5.5.1'
134- junitPlatformVersion = ' 1.5.1'
135- jythonVersion = ' 2.7.0'
136- kryoShadedVersion = ' 4.0.2'
137- lettuceVersion = ' 5.1.8.RELEASE'
138- log4jVersion = ' 2.12.0'
139- micrometerVersion = ' 1.2.0'
140- mockitoVersion = ' 3.0.0'
141- mysqlVersion = ' 8.0.16'
142- pahoMqttClientVersion = ' 1.2.0'
143- postgresVersion = ' 42.2.6'
144- reactorNettyVersion = ' 0.9.0.M3'
145- reactorVersion = ' 3.3.0.M3'
146- resilience4jVersion = ' 0.16.0'
147- romeToolsVersion = ' 1.12.1'
148- rsocketVersion = ' 0.12.2-RC4'
149- servletApiVersion = ' 4.0.1'
150- smackVersion = ' 4.3.4'
151- springAmqpVersion = project. hasProperty(' springAmqpVersion' ) ? project. springAmqpVersion : ' 2.2.0.BUILD-SNAPSHOT'
152- springDataJpaVersion = ' 2.2.0.BUILD-SNAPSHOT'
153- springDataMongoVersion = ' 2.2.0.BUILD-SNAPSHOT'
154- springDataRedisVersion = ' 2.2.0.BUILD-SNAPSHOT'
155- springGemfireVersion = ' 2.2.0.BUILD-SNAPSHOT'
156- springSecurityVersion = ' 5.2.0.BUILD-SNAPSHOT'
157- springRetryVersion = ' 1.2.4.RELEASE'
158- springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 5.2.0.BUILD-SNAPSHOT'
159- springWsVersion = ' 3.0.7.RELEASE'
160- tomcatVersion = " 9.0.19"
161- xstreamVersion = ' 1.4.11.1'
162- }
163-
164175 eclipse {
165176 project {
166177 natures + = ' org.springframework.ide.eclipse.core.springnature'
@@ -385,6 +396,12 @@ project('spring-integration-amqp') {
385396project(' spring-integration-core' ) {
386397 description = ' Spring Integration Core'
387398
399+ dependencyManagement {
400+ imports {
401+ mavenBom " com.fasterxml.jackson:jackson-bom:$jackson2Version "
402+ }
403+ }
404+
388405 dependencies {
389406 compile " org.springframework:spring-core:$springVersion "
390407 compile " org.springframework:spring-aop:$springVersion "
@@ -395,7 +412,7 @@ project('spring-integration-core') {
395412 exclude group : ' org.springframework'
396413 }
397414 compile " io.projectreactor:reactor-core:$reactorVersion "
398- compile(" com.fasterxml.jackson.core:jackson-databind: $j ackson2Version " , optional)
415+ compile(' com.fasterxml.jackson.core:jackson-databind' , optional)
399416 compile(" com.jayway.jsonpath:json-path:$jsonpathVersion " , optional)
400417 compile(" io.fastjson:boon:$boonVersion " , optional)
401418 compile(" com.esotericsoftware:kryo-shaded:$kryoShadedVersion " , optional)
@@ -405,7 +422,7 @@ project('spring-integration-core') {
405422
406423 testCompile (" org.aspectj:aspectjweaver:$aspectjVersion " )
407424 testCompile " io.projectreactor:reactor-test:$reactorVersion "
408- testCompile (" com.fasterxml.jackson.datatype:jackson-datatype-jsr310: $j ackson2Version " )
425+ testCompile (' com.fasterxml.jackson.datatype:jackson-datatype-jsr310' )
409426 }
410427}
411428
0 commit comments