Skip to content

Commit 97ec143

Browse files
♻️ Refactored POM file. Including dependency management.
1 parent 62e94e3 commit 97ec143

File tree

1 file changed

+76
-12
lines changed

1 file changed

+76
-12
lines changed

pom.xml

Lines changed: 76 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,70 +95,136 @@
9595
<artifactId>jackson-databind</artifactId>
9696
<version>2.13.1</version>
9797
</dependency>
98+
99+
<dependency>
100+
<groupId>ch.qos.logback</groupId>
101+
<artifactId>logback-classic</artifactId>
102+
<version>${logback-classic.version}</version>
103+
</dependency>
104+
105+
<dependency>
106+
<groupId>org.projectlombok</groupId>
107+
<artifactId>lombok</artifactId>
108+
<version>${lombok.version}</version>
109+
<scope>compile</scope>
110+
</dependency>
111+
112+
<dependency>
113+
<groupId>info.picocli</groupId>
114+
<artifactId>picocli</artifactId>
115+
<version>${picocli.version}</version>
116+
</dependency>
117+
118+
<dependency>
119+
<groupId>junit</groupId>
120+
<artifactId>junit</artifactId>
121+
<version>4.13.2</version>
122+
<scope>test</scope>
123+
</dependency>
124+
<dependency>
125+
<groupId>org.junit.jupiter</groupId>
126+
<artifactId>junit-jupiter-api</artifactId>
127+
<version>${junit.version}</version>
128+
<scope>test</scope>
129+
</dependency>
130+
<dependency>
131+
<groupId>org.junit.jupiter</groupId>
132+
<artifactId>junit-jupiter-engine</artifactId>
133+
<version>${junit.version}</version>
134+
<scope>test</scope>
135+
</dependency>
136+
<dependency>
137+
<groupId>org.junit.vintage</groupId>
138+
<artifactId>junit-vintage-engine</artifactId>
139+
<version>${junit.version}</version>
140+
<scope>test</scope>
141+
</dependency>
142+
143+
<!-- Dependencies for JWT -->
144+
<dependency>
145+
<groupId>io.jsonwebtoken</groupId>
146+
<artifactId>jjwt-api</artifactId>
147+
<version>0.11.2</version>
148+
</dependency>
149+
<dependency>
150+
<groupId>io.jsonwebtoken</groupId>
151+
<artifactId>jjwt-impl</artifactId>
152+
<version>0.11.2</version>
153+
<scope>runtime</scope>
154+
</dependency>
155+
<dependency>
156+
<groupId>io.jsonwebtoken</groupId>
157+
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
158+
<version>0.11.2</version>
159+
<scope>runtime</scope>
160+
</dependency>
161+
162+
<dependency>
163+
<groupId>org.json</groupId>
164+
<artifactId>json</artifactId>
165+
<version>20211205</version>
166+
</dependency>
167+
168+
<dependency>
169+
<groupId>org.javatuples</groupId>
170+
<artifactId>javatuples</artifactId>
171+
<version>1.2</version>
172+
</dependency>
173+
98174
</dependencies>
99175
</dependencyManagement>
100176

101177
<dependencies>
102178
<dependency>
103179
<groupId>ch.qos.logback</groupId>
104180
<artifactId>logback-classic</artifactId>
105-
<version>${logback-classic.version}</version>
106181
</dependency>
107182

108183
<dependency>
109184
<groupId>org.projectlombok</groupId>
110185
<artifactId>lombok</artifactId>
111-
<version>${lombok.version}</version>
112186
<scope>compile</scope>
113187
</dependency>
114188

115189
<dependency>
116190
<groupId>info.picocli</groupId>
117191
<artifactId>picocli</artifactId>
118-
<version>${picocli.version}</version>
119192
</dependency>
120193

121194
<dependency>
122195
<groupId>junit</groupId>
123196
<artifactId>junit</artifactId>
124-
<version>4.13.2</version>
125197
<scope>test</scope>
126198
</dependency>
127199
<dependency>
128200
<groupId>org.junit.jupiter</groupId>
129201
<artifactId>junit-jupiter-api</artifactId>
130-
<version>${junit.version}</version>
131202
<scope>test</scope>
132203
</dependency>
133204
<dependency>
134205
<groupId>org.junit.jupiter</groupId>
135206
<artifactId>junit-jupiter-engine</artifactId>
136-
<version>${junit.version}</version>
137207
<scope>test</scope>
138208
</dependency>
139209
<dependency>
140210
<groupId>org.junit.vintage</groupId>
141211
<artifactId>junit-vintage-engine</artifactId>
142-
<version>${junit.version}</version>
143212
<scope>test</scope>
144213
</dependency>
145214

146215
<!-- Dependencies for JWT -->
147216
<dependency>
148217
<groupId>io.jsonwebtoken</groupId>
149218
<artifactId>jjwt-api</artifactId>
150-
<version>0.11.2</version>
151219
</dependency>
152220
<dependency>
153221
<groupId>io.jsonwebtoken</groupId>
154222
<artifactId>jjwt-impl</artifactId>
155-
<version>0.11.2</version>
156223
<scope>runtime</scope>
157224
</dependency>
158225
<dependency>
159226
<groupId>io.jsonwebtoken</groupId>
160227
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
161-
<version>0.11.2</version>
162228
<scope>runtime</scope>
163229
</dependency>
164230

@@ -176,13 +242,11 @@
176242
<dependency>
177243
<groupId>org.json</groupId>
178244
<artifactId>json</artifactId>
179-
<version>20211205</version>
180245
</dependency>
181246

182247
<dependency>
183248
<groupId>org.javatuples</groupId>
184249
<artifactId>javatuples</artifactId>
185-
<version>1.2</version>
186250
</dependency>
187251

188252
</dependencies>

0 commit comments

Comments
 (0)