@@ -7,7 +7,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
7
7
<modelVersion >4.0.0</modelVersion >
8
8
<groupId >com.patternknife.securityhelper.oauth2.client</groupId >
9
9
<artifactId >spring-security-oauth2-password-jpa-implementation-client</artifactId >
10
- <version >2.7 .0</version >
10
+ <version >2.8 .0</version >
11
11
<packaging >jar</packaging >
12
12
13
13
<properties >
@@ -19,8 +19,15 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
19
19
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
20
20
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
21
21
22
- <querydsl .version>5.0.0</querydsl .version>
23
- <spring-restdocs .version>3.0.0</spring-restdocs .version>
22
+ <!-- The versions indicated are just the same as ones in spring-boot-dependencies. In the 1) 'build' section and 2) one with ;<classifier>jakarta</classifier>' don't automatically recognize the dependency management. -->
23
+ <spring-boot-dependencies .version>3.3.2</spring-boot-dependencies .version>
24
+ <querydsl .version>5.1.0</querydsl .version>
25
+ <slf4j .version>2.0.7</slf4j .version>
26
+ <querydsl .version>5.1.0</querydsl .version>
27
+ <spring-restdocs .version>3.0.1</spring-restdocs .version>
28
+ <maven-resources-plugin .version>3.3.1</maven-resources-plugin .version>
29
+ <maven-javadoc-plugin .version>3.6.3</maven-javadoc-plugin .version>
30
+ <maven-surefire-plugin .version>3.2.5</maven-surefire-plugin .version>
24
31
</properties >
25
32
26
33
<dependencyManagement >
@@ -29,19 +36,19 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
29
36
<!-- Import dependency management from Spring Boot -->
30
37
<groupId >org.springframework.boot</groupId >
31
38
<artifactId >spring-boot-dependencies</artifactId >
32
- <version >3.1.2 </version >
39
+ <version >${spring-boot-dependencies.version} </version >
33
40
<type >pom</type >
34
41
<scope >import</scope >
35
42
</dependency >
36
43
</dependencies >
37
44
</dependencyManagement >
38
45
39
-
40
46
<dependencies >
47
+
41
48
<dependency >
42
49
<groupId >io.github.patternknife.securityhelper.oauth2.api</groupId >
43
50
<artifactId >spring-security-oauth2-password-jpa-implementation</artifactId >
44
- <version >2.7 .0</version >
51
+ <version >2.8 .0</version >
45
52
</dependency >
46
53
47
54
<!-- DB -->
@@ -58,25 +65,52 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
58
65
<scope >runtime</scope >
59
66
</dependency >
60
67
68
+ <!-- 1. Necessary Libraries -->
69
+
61
70
<dependency >
62
71
<groupId >org.projectlombok</groupId >
63
72
<artifactId >lombok</artifactId >
64
- <version >1.18.24</ version >
73
+ <!-- Follow ${spring-boot-dependencies. version} -- >
65
74
<optional >true</optional >
66
75
</dependency >
76
+ <!-- Expose API -->
77
+ <dependency >
78
+ <groupId >org.springframework.boot</groupId >
79
+ <artifactId >spring-boot-starter-web</artifactId >
80
+ <!-- Follow ${spring-boot-dependencies.version} -->
81
+ </dependency >
82
+ <!-- Text Utils -->
83
+ <dependency >
84
+ <groupId >org.codehaus.jackson</groupId >
85
+ <artifactId >jackson-jaxrs</artifactId >
86
+ <version >1.9.13</version >
87
+ </dependency >
88
+ <dependency >
89
+ <groupId >org.apache.commons</groupId >
90
+ <artifactId >commons-lang3</artifactId >
91
+ <!-- Follow ${spring-boot-dependencies.version} -->
92
+ </dependency >
93
+ <!-- Validation -->
94
+ <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation -->
95
+ <dependency >
96
+ <groupId >org.springframework.boot</groupId >
97
+ <artifactId >spring-boot-starter-validation</artifactId >
98
+ <!-- Follow ${spring-boot-dependencies.version} -->
99
+ </dependency >
67
100
68
101
69
- <!-- ORM -->
102
+ <!-- 2. This module uses JPA and QueryDSL -->
70
103
71
104
<dependency >
72
105
<groupId >org.springframework.boot</groupId >
73
106
<artifactId >spring-boot-starter-data-jpa</artifactId >
107
+ <!-- Follow ${spring-boot-dependencies.version} -->
74
108
</dependency >
75
109
76
110
<dependency >
77
111
<groupId >com.querydsl</groupId >
78
112
<artifactId >querydsl-core</artifactId >
79
- <version > ${querydsl .version}</ version >
113
+ <!-- Follow ${spring-boot-dependencies .version} -- >
80
114
<exclusions >
81
115
<exclusion >
82
116
<groupId >com.google.guava</groupId >
@@ -89,91 +123,64 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
89
123
</exclusions >
90
124
</dependency >
91
125
92
-
93
126
<dependency >
94
127
<groupId >com.querydsl</groupId >
95
128
<artifactId >querydsl-jpa</artifactId >
96
129
<version >${querydsl.version} </version >
130
+ <!-- Follow ${spring-boot-dependencies.version} -->
97
131
<classifier >jakarta</classifier >
98
132
</dependency >
99
133
100
134
<dependency >
101
135
<groupId >com.querydsl</groupId >
102
136
<artifactId >querydsl-sql</artifactId >
103
- <version > ${querydsl .version}</ version >
137
+ <!-- Follow ${spring-boot-dependencies .version} -- >
104
138
</dependency >
105
139
<dependency >
106
140
<groupId >com.querydsl</groupId >
107
141
<artifactId >querydsl-sql-spring</artifactId >
108
- <version >${querydsl.version} </version >
109
- </dependency >
110
-
111
- <!-- Expose API -->
112
-
113
- <dependency >
114
- <groupId >org.springframework.boot</groupId >
115
- <artifactId >spring-boot-starter-web</artifactId >
142
+ <!-- Follow ${spring-boot-dependencies.version} -->
116
143
</dependency >
117
144
118
145
119
- <!-- spring-security & spring-security-oauth2-authorization-server -->
146
+ <!-- 3. spring-security & spring-security-oauth2-authorization-server -->
120
147
121
148
<dependency >
122
149
<groupId >org.springframework.boot</groupId >
123
150
<artifactId >spring-boot-starter-security</artifactId >
151
+ <!-- Follow ${spring-boot-dependencies.version} -->
124
152
</dependency >
125
153
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-oauth2-authorization-server -->
126
154
<dependency >
127
155
<groupId >org.springframework.security</groupId >
128
156
<artifactId >spring-security-oauth2-authorization-server</artifactId >
129
- <version >1.2.3</ version >
157
+ <!-- Follow ${spring-boot-dependencies. version} -- >
130
158
</dependency >
131
159
132
160
133
- <!-- https://mvnrepository.com/artifact/com.warrenstrange/googleauth -->
134
- <dependency >
135
- <groupId >com.warrenstrange</groupId >
136
- <artifactId >googleauth</artifactId >
137
- <version >1.5.0</version >
138
- </dependency >
139
-
140
- <dependency >
141
- <groupId >org.codehaus.jackson</groupId >
142
- <artifactId >jackson-jaxrs</artifactId >
143
- <version >1.9.13</version >
144
- </dependency >
145
- <dependency >
146
- <groupId >org.apache.commons</groupId >
147
- <artifactId >commons-lang3</artifactId >
148
- <version >3.4</version >
149
- </dependency >
150
161
151
- <!-- TEST-->
162
+ <!-- 4. TEST-->
152
163
<dependency >
153
164
<groupId >org.springframework.boot</groupId >
154
165
<artifactId >spring-boot-starter-test</artifactId >
166
+ <!-- Follow ${spring-boot-dependencies.version} -->
155
167
<scope >test</scope >
156
168
</dependency >
157
169
158
170
<dependency >
159
171
<groupId >org.springframework.security</groupId >
160
172
<artifactId >spring-security-test</artifactId >
173
+ <!-- Follow ${spring-boot-dependencies.version} -->
161
174
<scope >test</scope >
162
175
</dependency >
163
176
164
177
<dependency >
165
178
<groupId >org.springframework.restdocs</groupId >
166
179
<artifactId >spring-restdocs-mockmvc</artifactId >
180
+ <!-- Follow ${spring-boot-dependencies.version} -->
167
181
<scope >test</scope >
168
182
</dependency >
169
183
170
- <!-- Validation -->
171
- <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation -->
172
- <dependency >
173
- <groupId >org.springframework.boot</groupId >
174
- <artifactId >spring-boot-starter-validation</artifactId >
175
- </dependency >
176
-
177
184
178
185
<dependency >
179
186
<groupId >javax.annotation</groupId >
@@ -184,12 +191,14 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
184
191
<dependency >
185
192
<groupId >org.slf4j</groupId >
186
193
<artifactId >slf4j-api</artifactId >
194
+ <!-- Follow ${spring-boot-dependencies.version} -->
187
195
</dependency >
188
196
189
197
190
198
<dependency >
191
199
<groupId >org.springframework.boot</groupId >
192
200
<artifactId >spring-boot-devtools</artifactId >
201
+ <!-- Follow ${spring-boot-dependencies.version} -->
193
202
<optional >true</optional >
194
203
</dependency >
195
204
@@ -202,6 +211,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
202
211
<plugin >
203
212
<groupId >org.springframework.boot</groupId >
204
213
<artifactId >spring-boot-maven-plugin</artifactId >
214
+ <version >${spring-boot-dependencies.version} </version >
205
215
<configuration >
206
216
<executable >true</executable >
207
217
</configuration >
@@ -225,7 +235,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
225
235
<dependency >
226
236
<groupId >com.querydsl</groupId >
227
237
<artifactId >querydsl-apt</artifactId >
228
- <version >5.0.0 </version >
238
+ <version >${querydsl.version} </version >
229
239
<classifier >jakarta</classifier >
230
240
<scope >runtime</scope >
231
241
<exclusions >
@@ -264,7 +274,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
264
274
</plugin >
265
275
<plugin >
266
276
<artifactId >maven-resources-plugin</artifactId >
267
- <version >2.7 </version >
277
+ <version >${maven-resources-plugin.version} </version >
268
278
<executions >
269
279
<execution >
270
280
<id >copy-resources</id >
@@ -290,7 +300,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
290
300
<plugin >
291
301
<groupId >org.apache.maven.plugins</groupId >
292
302
<artifactId >maven-surefire-plugin</artifactId >
293
- <version >2.22.2 </version >
303
+ <version >${maven-surefire-plugin.version} </version >
294
304
<configuration >
295
305
<excludes >
296
306
<exclude >**/SecretCustomerIntegrationTest.java</exclude >
0 commit comments