Skip to content

Commit 4f5b009

Browse files
Merge pull request #105 from oracle/1-1-0-dep-update
Dependencies Update
2 parents 9d37887 + 32c9fda commit 4f5b009

File tree

2 files changed

+10
-33
lines changed

2 files changed

+10
-33
lines changed

pom.xml

+10-32
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565

6666
<properties>
6767
<java.version>11</java.version>
68-
<ojdbc.version>21.5.0.0</ojdbc.version>
68+
<ojdbc.version>21.7.0.0</ojdbc.version>
6969
<r2dbc.version>1.0.0.RELEASE</r2dbc.version>
70-
<reactor.version>2020.0.19</reactor.version>
70+
<reactor.version>3.5.0</reactor.version>
7171
<reactive-streams.version>1.0.3</reactive-streams.version>
72-
<junit.version>5.8.2</junit.version>
73-
<spring-jdbc.version>5.2.6.RELEASE</spring-jdbc.version>
72+
<junit.version>5.9.1</junit.version>
73+
<spring-jdbc.version>5.3.19</spring-jdbc.version>
7474
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7575
</properties>
7676

@@ -86,18 +86,10 @@
8686
<arg>-Xlint:-options</arg>
8787
<arg>-Xlint:-processing</arg>
8888
<arg>-Xlint:-serial</arg>
89+
<!-- LDAP URL tests require the java.naming module -->
90+
<testCompilerArgument>--add-modules</testCompilerArgument>
91+
<testCompilerArgument>java.naming</testCompilerArgument>
8992
</compilerArgs>
90-
<!-- LDAP URL tests require the java.naming module -->
91-
<!-- Maven seems to ignore the forceJavacCompilerUse.
92-
This results in an error when passing the addModules option to
93-
the javax.tools API. For this reason, Oracle R2DBC's module-info is
94-
declaring a depency on the java.naming module.
95-
TODO: Figure out how to make maven compile tests correctly, and
96-
remove the java.naming depenency from Oracle R2DBC.
97-
<fork>true</fork>
98-
<forceJavacCompilerUse>true</forceJavacCompilerUse>
99-
<testCompilerArgument>- -add-modules java.naming</testCompilerArgument>
100-
-->
10193
<showWarnings>true</showWarnings>
10294
<release>${java.version}</release>
10395
</configuration>
@@ -166,6 +158,8 @@
166158
<include>**/*Test.java</include>
167159
<include>**/*TestKit.java</include>
168160
</includes>
161+
<!-- LDAP URL tests require the java.naming module -->
162+
<argLine>--add-reads com.oracle.database.r2dbc=java.naming</argLine>
169163
</configuration>
170164
</plugin>
171165
<plugin>
@@ -226,18 +220,6 @@
226220
</build>
227221

228222

229-
<dependencyManagement>
230-
<dependencies>
231-
<dependency>
232-
<groupId>io.projectreactor</groupId>
233-
<artifactId>reactor-bom</artifactId>
234-
<version>${reactor.version}</version>
235-
<type>pom</type>
236-
<scope>import</scope>
237-
</dependency>
238-
</dependencies>
239-
</dependencyManagement>
240-
241223
<dependencies>
242224
<!-- Oracle R2DBC Driver Dependencies -->
243225
<dependency>
@@ -253,6 +235,7 @@
253235
<dependency>
254236
<groupId>io.projectreactor</groupId>
255237
<artifactId>reactor-core</artifactId>
238+
<version>${reactor.version}</version>
256239
</dependency>
257240
<dependency>
258241
<groupId>org.reactivestreams</groupId>
@@ -285,11 +268,6 @@
285268
<version>${spring-jdbc.version}</version>
286269
<scope>test</scope>
287270
</dependency>
288-
<dependency>
289-
<groupId>io.projectreactor</groupId>
290-
<artifactId>reactor-test</artifactId>
291-
<scope>test</scope>
292-
</dependency>
293271
</dependencies>
294272

295273
<profiles>

src/main/java/module-info.java

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
with oracle.r2dbc.impl.OracleConnectionFactoryProviderImpl;
3131

3232
requires java.sql;
33-
requires java.naming;
3433
requires com.oracle.database.jdbc;
3534
requires reactor.core;
3635
requires transitive org.reactivestreams;

0 commit comments

Comments
 (0)