Skip to content

Commit ac98aad

Browse files
authored
Move dependency versions to properties (#945) (#961)
1 parent 73a08f9 commit ac98aad

File tree

1 file changed

+44
-29
lines changed

1 file changed

+44
-29
lines changed

pom.xml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,46 @@
33
http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

6+
<groupId>org.neo4j.driver</groupId>
7+
<artifactId>neo4j-java-driver-parent</artifactId>
8+
<version>4.1-SNAPSHOT</version>
9+
10+
<packaging>pom</packaging>
11+
<name>Neo4j Java Driver Project</name>
12+
<description>A project for building a Java driver for the Neo4j Bolt protocol.</description>
13+
<url>https://github.com/neo4j/neo4j-java-driver</url>
14+
615
<properties>
716
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
817
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
918
<maven.compiler.source>1.8</maven.compiler.source>
1019
<maven.compiler.target>1.8</maven.compiler.target>
1120
<rootDir>${project.basedir}</rootDir>
12-
<surefire.and.failsafe.version>2.22.1</surefire.and.failsafe.version>
13-
<junit.version>5.7.2</junit.version>
1421
<parallelizable.it.forkCount>1C</parallelizable.it.forkCount>
1522
<!-- All tests tagged are to be executed in parallel -->
1623
<parallelizable.it.tags>parallelizableIT</parallelizable.it.tags>
17-
</properties>
18-
19-
<groupId>org.neo4j.driver</groupId>
20-
<artifactId>neo4j-java-driver-parent</artifactId>
21-
<version>4.1-SNAPSHOT</version>
24+
<surefire.and.failsafe.version>2.22.1</surefire.and.failsafe.version>
2225

23-
<packaging>pom</packaging>
24-
<name>Neo4j Java Driver Project</name>
25-
<description>A project for building a Java driver for the Neo4j Bolt protocol.</description>
26-
<url>https://github.com/neo4j/neo4j-java-driver</url>
26+
<!-- Versions -->
27+
<reactive-streams.version>1.0.3</reactive-streams.version>
28+
<!-- Please note that when updating this dependency -->
29+
<!-- (i.e. due to a security vulnerability or bug) that the -->
30+
<!-- corresponding server dependency also needs updating.-->
31+
<netty-handler.version>4.1.65.Final</netty-handler.version>
32+
<!-- Please note that when updating this dependency -->
33+
<!-- (i.e. due to a security vulnerability or bug) that the -->
34+
<!-- corresponding server dependency also needs updating.-->
35+
<reactor-bom.version>Dysprosium-SR20</reactor-bom.version>
36+
<rxjava.version>2.2.21</rxjava.version>
37+
<slf4j-api.version>1.7.31</slf4j-api.version>
38+
<hamcrest-junit.version>2.0.0.0</hamcrest-junit.version>
39+
<mockito-core.version>2.28.2</mockito-core.version>
40+
<junit.version>5.7.2</junit.version>
41+
<jarchivelib.version>1.1.0</jarchivelib.version>
42+
<bouncycastle-jdk15on.version>1.69</bouncycastle-jdk15on.version>
43+
<logback-classic.version>1.2.3</logback-classic.version>
44+
<svm.version>20.3.2</svm.version>
45+
</properties>
2746

2847
<modules>
2948
<module>driver</module>
@@ -59,23 +78,17 @@
5978
<dependency>
6079
<groupId>org.reactivestreams</groupId>
6180
<artifactId>reactive-streams</artifactId>
62-
<version>1.0.3</version>
81+
<version>${reactive-streams.version}</version>
6382
</dependency>
6483
<dependency>
65-
<!-- Please note that when updating this dependency -->
66-
<!-- (i.e. due to a security vulnerability or bug) that the -->
67-
<!-- corresponding server dependency also needs updating.-->
6884
<groupId>io.netty</groupId>
6985
<artifactId>netty-handler</artifactId>
70-
<version>4.1.65.Final</version>
86+
<version>${netty-handler.version}</version>
7187
</dependency>
7288
<dependency>
73-
<!-- Please note that when updating this dependency -->
74-
<!-- (i.e. due to a security vulnerability or bug) that the -->
75-
<!-- corresponding server dependency also needs updating.-->
7689
<groupId>io.projectreactor</groupId>
7790
<artifactId>reactor-bom</artifactId>
78-
<version>Dysprosium-SR20</version>
91+
<version>${reactor-bom.version}</version>
7992
<type>pom</type>
8093
<scope>import</scope>
8194
</dependency>
@@ -84,27 +97,27 @@
8497
<dependency>
8598
<groupId>io.reactivex.rxjava2</groupId>
8699
<artifactId>rxjava</artifactId>
87-
<version>2.2.21</version>
100+
<version>${rxjava.version}</version>
88101
</dependency>
89102

90103
<!-- Optional dependencies -->
91104
<dependency>
92105
<groupId>org.slf4j</groupId>
93106
<artifactId>slf4j-api</artifactId>
94-
<version>1.7.31</version>
107+
<version>${slf4j-api.version}</version>
95108
</dependency>
96109

97110
<!-- Test dependencies -->
98111
<dependency>
99112
<groupId>org.hamcrest</groupId>
100113
<artifactId>hamcrest-junit</artifactId>
101-
<version>2.0.0.0</version>
114+
<version>${hamcrest-junit.version}</version>
102115
<scope>test</scope>
103116
</dependency>
104117
<dependency>
105118
<groupId>org.mockito</groupId>
106119
<artifactId>mockito-core</artifactId>
107-
<version>2.28.2</version>
120+
<version>${mockito-core.version}</version>
108121
<scope>test</scope>
109122
</dependency>
110123
<dependency>
@@ -116,31 +129,33 @@
116129
<dependency>
117130
<groupId>org.rauschig</groupId>
118131
<artifactId>jarchivelib</artifactId>
119-
<version>1.1.0</version>
132+
<version>${jarchivelib.version}</version>
120133
<scope>test</scope>
121134
</dependency>
122135
<dependency>
123136
<groupId>org.bouncycastle</groupId>
124137
<artifactId>bcprov-jdk15on</artifactId>
125-
<version>1.69</version>
138+
<version>${bouncycastle-jdk15on.version}</version>
126139
<scope>test</scope>
127140
</dependency>
128141
<dependency>
129142
<groupId>org.bouncycastle</groupId>
130143
<artifactId>bcpkix-jdk15on</artifactId>
131-
<version>1.69</version>
144+
<version>${bouncycastle-jdk15on.version}</version>
132145
<scope>test</scope>
133146
</dependency>
134147
<dependency>
135148
<groupId>ch.qos.logback</groupId>
136149
<artifactId>logback-classic</artifactId>
137-
<version>1.2.3</version>
150+
<version>${logback-classic.version}</version>
138151
<scope>test</scope>
139152
</dependency>
153+
154+
<!-- Graal VM -->
140155
<dependency>
141156
<groupId>org.graalvm.nativeimage</groupId>
142157
<artifactId>svm</artifactId>
143-
<version>20.3.2</version>
158+
<version>${svm.version}</version>
144159
<!-- Provided scope as it is only needed for compiling the SVM substitution classes -->
145160
<scope>provided</scope>
146161
</dependency>

0 commit comments

Comments
 (0)