Skip to content

Commit 1282cb5

Browse files
committed
Align With Spring Boot Dependencies
- Various deps and update to commons dbcp2 - Fix a couple of DOS EOL files
1 parent 1557e3d commit 1282cb5

File tree

9 files changed

+56
-56
lines changed

9 files changed

+56
-56
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,25 +88,25 @@ subprojects { subproject ->
8888

8989
ext {
9090
activeMqVersion = '5.14.5'
91-
aspectjVersion = '1.8.9'
91+
aspectjVersion = '1.8.10'
9292
apacheSshdVersion = '1.4.0'
9393
boonVersion = '0.34'
9494
chronicleVersion = '3.5.3'
95-
commonsDbcpVersion = '1.4'
95+
commonsDbcp2Version = '2.1.1'
9696
commonsIoVersion = '2.4'
9797
commonsNetVersion = '3.5'
9898
curatorVersion = '2.11.1'
9999
derbyVersion = '10.13.1.1'
100100
eclipseLinkVersion = '2.6.4'
101101
ftpServerVersion = '1.0.6'
102-
groovyVersion = '2.4.6'
102+
groovyVersion = '2.4.10'
103103
guavaVersion = '20.0'
104104
hamcrestVersion = '1.3'
105105
hazelcastVersion = '3.8'
106106
hibernateVersion = '5.2.10.Final'
107107
hsqldbVersion = '2.4.0'
108108
h2Version = '1.4.194'
109-
jackson2Version = '2.9.0.pr2'
109+
jackson2Version = '2.9.0.pr3'
110110
javaxActivationVersion = '1.1.1'
111111
javaxMailVersion = '1.6.0-rc1'
112112
jedisVersion = '2.9.0'
@@ -123,7 +123,7 @@ subprojects { subproject ->
123123
mockitoVersion = '2.7.22'
124124
mysqlVersion = '5.1.41'
125125
pahoMqttClientVersion = '1.1.1'
126-
postgresVersion = '9.1-901-1.jdbc4'
126+
postgresVersion = '42.0.0'
127127
reactorNettyVersion = '0.6.3.BUILD-SNAPSHOT'
128128
reactorVersion = '3.1.0.BUILD-SNAPSHOT'
129129
romeToolsVersion = '1.7.2'
@@ -420,9 +420,9 @@ project('spring-integration-jdbc') {
420420
testCompile "org.hsqldb:hsqldb:$hsqldbVersion"
421421
testCompile "org.apache.derby:derby:$derbyVersion"
422422
testCompile "org.apache.derby:derbyclient:$derbyVersion"
423-
testCompile "postgresql:postgresql:$postgresVersion"
423+
testCompile "org.postgresql:postgresql:$postgresVersion"
424424
testCompile "mysql:mysql-connector-java:$mysqlVersion"
425-
testCompile "commons-dbcp:commons-dbcp:$commonsDbcpVersion"
425+
testCompile "org.apache.commons:commons-dbcp2:$commonsDbcp2Version"
426426

427427
}
428428

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
5-
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
7-
8-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
9-
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
10-
<property name="url" value="jdbc:mysql://localhost:3306/int30"/>
11-
<property name="username" value="root"/>
12-
<property name="password" value="root"/>
13-
<property name="maxActive" value="10"/>
14-
<property name="defaultAutoCommit" value="false"/>
15-
</bean>
16-
17-
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
18-
<property name="dataSource" ref="dataSource" />
19-
</bean>
20-
21-
</beans>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beans xmlns="http://www.springframework.org/schema/beans"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
5+
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
7+
8+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
9+
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
10+
<property name="url" value="jdbc:mysql://localhost:3306/int30"/>
11+
<property name="username" value="root"/>
12+
<property name="password" value="root"/>
13+
<property name="maxActive" value="10"/>
14+
<property name="defaultAutoCommit" value="false"/>
15+
</bean>
16+
17+
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
18+
<property name="dataSource" ref="dataSource" />
19+
</bean>
20+
21+
</beans>

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/mysql/MySqlJdbcMessageStoreMultipleChannelTests-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<tx:annotation-driven/>
2020
<int:annotation-config/>
2121

22-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
22+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
2323
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
2424
<property name="url" value="jdbc:mysql://localhost:3306/int30"/>
2525
<property name="username" value="root"/>
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<beans xmlns="http://www.springframework.org/schema/beans"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
5-
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
6-
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
7-
8-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
9-
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
10-
<property name="url" value="jdbc:mysql://localhost:3306/int30"/>
11-
<property name="username" value="root"/>
12-
<property name="password" value="root"/>
13-
<property name="maxActive" value="10"/>
14-
<property name="defaultAutoCommit" value="false"/>
15-
</bean>
16-
17-
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
18-
<property name="dataSource" ref="dataSource" />
19-
</bean>
20-
21-
</beans>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beans xmlns="http://www.springframework.org/schema/beans"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
5+
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
6+
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
7+
8+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
9+
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
10+
<property name="url" value="jdbc:mysql://localhost:3306/int30"/>
11+
<property name="username" value="root"/>
12+
<property name="password" value="root"/>
13+
<property name="maxActive" value="10"/>
14+
<property name="defaultAutoCommit" value="false"/>
15+
</bean>
16+
17+
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
18+
<property name="dataSource" ref="dataSource" />
19+
</bean>
20+
21+
</beans>

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-derby-context.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<import resource="classpath:org/springframework/integration/jdbc/store/channel/DataSource-common-context.xml" />
1010

11-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
11+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"
1212
destroy-method="close">
1313
<property name="driverClassName" value="org.apache.derby.jdbc.EmbeddedDriver" />
1414
<property name="initialSize" value="10" />
@@ -17,7 +17,7 @@
1717
<property name="password" value="int" />
1818
</bean>
1919

20-
<!-- <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
20+
<!-- <bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"
2121
destroy-method="close"> <property name="driverClassName" value="org.apache.derby.jdbc.ClientDriver"/>
2222
<property name="initialSize" value="10"/> <property name="url" value="jdbc:derby://localhost:1527/integration;create=true"
2323
/> <property name="username" value="int" /> <property name="password" value="int"

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-h2-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<import resource="classpath:org/springframework/integration/jdbc/store/channel/DataSource-common-context.xml" />
1010

11-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
11+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
1212
<property name="driverClassName" value="org.h2.Driver" />
1313
<property name="initialSize" value="10" />
1414
<property name="url" value="jdbc:h2:mem:integration" />

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-hsql-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<import resource="classpath:org/springframework/integration/jdbc/store/channel/DataSource-common-context.xml" />
1010

11-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
11+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
1212
<property name="driverClassName" value="org.hsqldb.jdbcDriver"/>
1313
<property name="initialSize" value="10"/>
1414
<property name="url" value="jdbc:hsqldb:mem:integration;hsqldb.tx=mvcc" />

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-mysql-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<import resource="classpath:org/springframework/integration/jdbc/store/channel/DataSource-common-context.xml" />
1010

1111
<bean id="dataSource" destroy-method="close"
12-
class="org.apache.commons.dbcp.BasicDataSource">
12+
class="org.apache.commons.dbcp2.BasicDataSource">
1313
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
1414
<property name="url" value="jdbc:mysql://localhost/test" />
1515
<property name="username" value="root" />

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-postgres-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<import resource="classpath:org/springframework/integration/jdbc/store/channel/DataSource-common-context.xml" />
1010

11-
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
11+
<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"
1212
destroy-method="close">
1313
<property name="driverClassName" value="org.postgresql.Driver" />
1414
<property name="initialSize" value="10"/>

0 commit comments

Comments
 (0)