Skip to content

Commit 12b94b1

Browse files
authored
Merge pull request #623 from graphql-java-kickstart/update-deps
Update dependencyManagement section
2 parents b5852ee + 11130f3 commit 12b94b1

File tree

1 file changed

+99
-49
lines changed

1 file changed

+99
-49
lines changed

pom.xml

+99-49
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<java.version>1.8</java.version>
17-
<kotlin.version>1.5.0</kotlin.version>
18-
<kotlin-coroutines.version>1.5.0-native-mt</kotlin-coroutines.version>
17+
<kotlin.version>1.6.10</kotlin.version>
18+
<kotlin-coroutines.version>1.6.0-native-mt</kotlin-coroutines.version>
1919
<jackson.version>2.13.1</jackson.version>
2020
<graphql-java.version>17.3</graphql-java.version>
21+
<reactive-streams.version>1.0.3</reactive-streams.version>
2122

2223
<maven.compiler.source>${java.version}</maven.compiler.source>
2324
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -27,149 +28,197 @@
2728

2829
<dependencyManagement>
2930
<dependencies>
31+
<dependency>
32+
<groupId>org.jetbrains.kotlin</groupId>
33+
<artifactId>kotlin-bom</artifactId>
34+
<version>${kotlin.version}</version>
35+
<scope>import</scope>
36+
<type>pom</type>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.jetbrains.kotlinx</groupId>
40+
<artifactId>kotlinx-coroutines-bom</artifactId>
41+
<version>${kotlin-coroutines.version}</version>
42+
<scope>import</scope>
43+
<type>pom</type>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.graphql-java</groupId>
47+
<artifactId>graphql-java</artifactId>
48+
<version>${graphql-java.version}</version>
49+
</dependency>
3050
<!-- graphql-java defines this dependency as 'runtime', but we need it at compile time -->
3151
<dependency>
3252
<groupId>org.antlr</groupId>
3353
<artifactId>antlr4-runtime</artifactId>
3454
<scope>compile</scope>
3555
</dependency>
56+
<dependency>
57+
<groupId>com.fasterxml.jackson</groupId>
58+
<artifactId>jackson-bom</artifactId>
59+
<version>${jackson.version}</version>
60+
<scope>import</scope>
61+
<type>pom</type>
62+
</dependency>
63+
<dependency>
64+
<groupId>com.fasterxml</groupId>
65+
<artifactId>classmate</artifactId>
66+
<version>1.5.1</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>org.slf4j</groupId>
70+
<artifactId>slf4j-api</artifactId>
71+
<version>1.7.31</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>org.apache.commons</groupId>
75+
<artifactId>commons-lang3</artifactId>
76+
<version>3.12.0</version>
77+
</dependency>
78+
79+
<!-- Optional for supporting Javassist proxies -->
80+
<dependency>
81+
<groupId>org.javassist</groupId>
82+
<artifactId>javassist</artifactId>
83+
<version>3.28.0-GA</version>
84+
<scope>provided</scope>
85+
</dependency>
86+
<!-- Optional for supporting spring proxies -->
87+
<dependency>
88+
<groupId>org.springframework</groupId>
89+
<artifactId>spring-aop</artifactId>
90+
<version>5.3.15</version>
91+
<scope>provided</scope>
92+
</dependency>
93+
94+
<!-- Test -->
95+
<dependency>
96+
<groupId>cglib</groupId>
97+
<artifactId>cglib-nodep</artifactId>
98+
<version>3.3.0</version>
99+
</dependency>
100+
<dependency>
101+
<groupId>ch.qos.logback</groupId>
102+
<artifactId>logback-classic</artifactId>
103+
<version>1.2.10</version>
104+
</dependency>
105+
<dependency>
106+
<groupId>javax.servlet</groupId>
107+
<artifactId>javax.servlet-api</artifactId>
108+
<version>4.0.1</version>
109+
</dependency>
110+
<dependency>
111+
<groupId>junit</groupId>
112+
<artifactId>junit</artifactId>
113+
<version>4.13.2</version>
114+
</dependency>
115+
<dependency>
116+
<groupId>org.objenesis</groupId>
117+
<artifactId>objenesis</artifactId>
118+
<version>3.2</version>
119+
</dependency>
120+
<dependency>
121+
<groupId>org.reactivestreams</groupId>
122+
<artifactId>reactive-streams-tck</artifactId>
123+
<version>${reactive-streams.version}</version>
124+
</dependency>
125+
<dependency>
126+
<groupId>org.reactivestreams</groupId>
127+
<artifactId>reactive-streams</artifactId>
128+
<version>${reactive-streams.version}</version>
129+
</dependency>
36130
</dependencies>
37131
</dependencyManagement>
38132

39133
<dependencies>
40134
<dependency>
41135
<groupId>org.jetbrains.kotlin</groupId>
42136
<artifactId>kotlin-stdlib</artifactId>
43-
<version>${kotlin.version}</version>
44137
</dependency>
45138
<dependency>
46139
<groupId>org.jetbrains.kotlin</groupId>
47140
<artifactId>kotlin-reflect</artifactId>
48-
<version>${kotlin.version}</version>
49141
</dependency>
50142
<dependency>
51143
<groupId>org.jetbrains.kotlinx</groupId>
52144
<artifactId>kotlinx-coroutines-jdk8</artifactId>
53-
<version>${kotlin-coroutines.version}</version>
54145
</dependency>
55146
<dependency>
56147
<groupId>org.jetbrains.kotlinx</groupId>
57148
<artifactId>kotlinx-coroutines-core</artifactId>
58-
<version>${kotlin-coroutines.version}</version>
59149
</dependency>
60150
<dependency>
61151
<groupId>org.jetbrains.kotlinx</groupId>
62152
<artifactId>kotlinx-coroutines-reactive</artifactId>
63-
<version>${kotlin-coroutines.version}</version>
64153
</dependency>
65154
<dependency>
66155
<groupId>com.graphql-java</groupId>
67156
<artifactId>graphql-java</artifactId>
68-
<version>${graphql-java.version}</version>
69157
</dependency>
70158
<dependency>
71159
<groupId>com.fasterxml</groupId>
72160
<artifactId>classmate</artifactId>
73-
<version>1.5.1</version>
74161
</dependency>
75162
<dependency>
76163
<groupId>com.fasterxml.jackson.core</groupId>
77164
<artifactId>jackson-core</artifactId>
78-
<version>${jackson.version}</version>
79165
</dependency>
80166
<dependency>
81167
<groupId>com.fasterxml.jackson.module</groupId>
82168
<artifactId>jackson-module-kotlin</artifactId>
83-
<version>${jackson.version}</version>
84-
<exclusions>
85-
<exclusion>
86-
<groupId>org.jetbrains.kotlin</groupId>
87-
<artifactId>kotlin-reflect</artifactId>
88-
</exclusion>
89-
<exclusion>
90-
<groupId>org.jetbrains.kotlin</groupId>
91-
<artifactId>kotlin-stdlib</artifactId>
92-
</exclusion>
93-
</exclusions>
94169
</dependency>
95170
<dependency>
96171
<groupId>com.fasterxml.jackson.datatype</groupId>
97172
<artifactId>jackson-datatype-jdk8</artifactId>
98-
<version>${jackson.version}</version>
99173
</dependency>
100174
<dependency>
101175
<groupId>org.apache.commons</groupId>
102176
<artifactId>commons-lang3</artifactId>
103-
<version>3.12.0</version>
104177
</dependency>
105178
<dependency>
106179
<groupId>org.slf4j</groupId>
107180
<artifactId>slf4j-api</artifactId>
108-
<version>1.7.30</version>
109181
</dependency>
110182

111-
<!-- Optional for supporting spring proxies -->
183+
<!-- Optional for supporting proxies -->
112184
<dependency>
113185
<groupId>org.springframework</groupId>
114186
<artifactId>spring-aop</artifactId>
115-
<version>5.3.15</version>
116-
<scope>provided</scope>
117187
</dependency>
118-
119-
<!-- Optional for supporting Javassist proxies -->
120188
<dependency>
121189
<groupId>org.javassist</groupId>
122190
<artifactId>javassist</artifactId>
123-
<version>3.28.0-GA</version>
124-
<scope>provided</scope>
125191
</dependency>
126192

193+
<!-- Test -->
127194
<dependency>
128195
<groupId>ch.qos.logback</groupId>
129196
<artifactId>logback-classic</artifactId>
130-
<version>1.2.10</version>
131197
<scope>test</scope>
132-
<exclusions>
133-
<exclusion>
134-
<groupId>org.slf4j</groupId>
135-
<artifactId>slf4j-api</artifactId>
136-
</exclusion>
137-
</exclusions>
138198
</dependency>
139199
<dependency>
140200
<groupId>junit</groupId>
141201
<artifactId>junit</artifactId>
142-
<version>4.13.2</version>
143202
<scope>test</scope>
144203
</dependency>
145204
<dependency>
146205
<groupId>cglib</groupId>
147206
<artifactId>cglib-nodep</artifactId>
148-
<version>3.3.0</version>
149207
<scope>test</scope>
150208
</dependency>
151209
<dependency>
152210
<groupId>org.objenesis</groupId>
153211
<artifactId>objenesis</artifactId>
154-
<version>3.2</version>
155212
<scope>test</scope>
156213
</dependency>
157214
<dependency>
158215
<groupId>org.reactivestreams</groupId>
159216
<artifactId>reactive-streams-tck</artifactId>
160-
<version>1.0.2</version>
161217
<scope>test</scope>
162-
<exclusions>
163-
<exclusion>
164-
<groupId>junit</groupId>
165-
<artifactId>junit</artifactId>
166-
</exclusion>
167-
</exclusions>
168218
</dependency>
169219
<dependency>
170220
<groupId>javax.servlet</groupId>
171221
<artifactId>javax.servlet-api</artifactId>
172-
<version>4.0.1</version>
173222
<scope>test</scope>
174223
</dependency>
175224
</dependencies>
@@ -232,6 +281,7 @@
232281
</plugin>
233282

234283
<plugin>
284+
<groupId>org.apache.maven.plugins</groupId>
235285
<artifactId>maven-surefire-plugin</artifactId>
236286
<version>2.22.2</version>
237287
<dependencies>

0 commit comments

Comments
 (0)