Skip to content

Commit db6fda9

Browse files
fix : remove all unnecessary dependencies
1 parent 8f43bfe commit db6fda9

File tree

3 files changed

+26
-191
lines changed

3 files changed

+26
-191
lines changed

pom.xml

+26-103
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,35 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
2222

2323
<dependencies>
2424

25-
<!-- Spring Boot WebFlux -->
26-
<dependency>
27-
<groupId>org.springframework.boot</groupId>
28-
<artifactId>spring-boot-starter-webflux</artifactId>
29-
</dependency>
30-
3125
<!-- DB -->
32-
<dependency>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-starter-data-jpa</artifactId>
35-
</dependency>
36-
3726
<dependency>
3827
<groupId>mysql</groupId>
3928
<artifactId>mysql-connector-java</artifactId>
4029
<version>8.0.17</version>
4130
<scope>runtime</scope>
4231
</dependency>
4332

33+
<dependency>
34+
<groupId>com.microsoft.sqlserver</groupId>
35+
<artifactId>mssql-jdbc</artifactId>
36+
<scope>runtime</scope>
37+
</dependency>
38+
4439
<dependency>
4540
<groupId>org.projectlombok</groupId>
4641
<artifactId>lombok</artifactId>
4742
<version>1.18.24</version>
4843
<optional>true</optional>
4944
</dependency>
5045

46+
47+
<!-- ORM -->
48+
49+
<dependency>
50+
<groupId>org.springframework.boot</groupId>
51+
<artifactId>spring-boot-starter-data-jpa</artifactId>
52+
</dependency>
53+
5154
<dependency>
5255
<groupId>com.querydsl</groupId>
5356
<artifactId>querydsl-core</artifactId>
@@ -83,29 +86,15 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
8386
<version>${querydsl.version}</version>
8487
</dependency>
8588

86-
<!-- SOAP Client -->
87-
<dependency>
88-
<groupId>org.springframework.boot</groupId>
89-
<artifactId>spring-boot-starter-web-services</artifactId>
90-
</dependency>
91-
92-
<!-- REST API -->
93-
<dependency>
94-
<groupId>org.springframework.boot</groupId>
95-
<artifactId>spring-boot-starter-data-rest</artifactId>
96-
</dependency>
89+
<!-- Expose API -->
9790

9891
<dependency>
9992
<groupId>org.springframework.boot</groupId>
10093
<artifactId>spring-boot-starter-web</artifactId>
10194
</dependency>
10295

103-
<dependency>
104-
<groupId>org.codehaus.jackson</groupId>
105-
<artifactId>jackson-jaxrs</artifactId>
106-
<version>1.9.13</version>
107-
</dependency>
10896

97+
<!-- spring-security & spring-security-oauth2-authorization-server -->
10998

11099
<dependency>
111100
<groupId>org.springframework.boot</groupId>
@@ -127,13 +116,14 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
127116
</dependency>
128117

129118
<dependency>
130-
<groupId>org.springframework.boot</groupId>
131-
<artifactId>spring-boot-starter-mail</artifactId>
119+
<groupId>org.codehaus.jackson</groupId>
120+
<artifactId>jackson-jaxrs</artifactId>
121+
<version>1.9.13</version>
132122
</dependency>
133-
134123
<dependency>
135-
<groupId>org.springframework.boot</groupId>
136-
<artifactId>spring-boot-starter-actuator</artifactId>
124+
<groupId>org.apache.commons</groupId>
125+
<artifactId>commons-lang3</artifactId>
126+
<version>3.4</version>
137127
</dependency>
138128

139129
<!--TEST-->
@@ -146,7 +136,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
146136
<dependency>
147137
<groupId>org.springframework.security</groupId>
148138
<artifactId>spring-security-test</artifactId>
149-
<!--<version>5.3.5.RELEASE</version>-->
150139
<scope>test</scope>
151140
</dependency>
152141

@@ -156,57 +145,18 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
156145
<scope>test</scope>
157146
</dependency>
158147

148+
<!-- Validation -->
159149
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation -->
160150
<dependency>
161151
<groupId>org.springframework.boot</groupId>
162152
<artifactId>spring-boot-starter-validation</artifactId>
163-
<version>3.1.2</version>
164-
</dependency>
165-
166-
167-
168-
<!-- Apple Social Login -->
169-
<dependency>
170-
<groupId>com.nimbusds</groupId>
171-
<artifactId>nimbus-jose-jwt</artifactId>
172-
<version>9.37.3</version>
173-
</dependency>
174-
<dependency>
175-
<groupId>net.minidev</groupId>
176-
<artifactId>json-smart</artifactId>
177-
<version>2.3</version>
178-
</dependency>
179-
<dependency>
180-
<groupId>org.apache.httpcomponents</groupId>
181-
<artifactId>httpclient</artifactId>
182-
<version>4.5.14</version>
183-
</dependency>
184-
185-
186-
187-
<dependency>
188-
<groupId>io.jsonwebtoken</groupId>
189-
<artifactId>jjwt-api</artifactId>
190-
<version>0.11.5</version>
191-
</dependency>
192-
<dependency>
193-
<groupId>io.jsonwebtoken</groupId>
194-
<artifactId>jjwt-impl</artifactId>
195-
<version>0.11.5</version>
196-
<scope>runtime</scope>
197153
</dependency>
198-
<dependency>
199-
<groupId>io.jsonwebtoken</groupId>
200-
<artifactId>jjwt-jackson</artifactId>
201-
<version>0.11.5</version>
202-
<scope>runtime</scope>
203-
</dependency>
204-
205154

206155

207156
<dependency>
208-
<groupId>org.springframework</groupId>
209-
<artifactId>spring-orm</artifactId>
157+
<groupId>javax.annotation</groupId>
158+
<artifactId>javax.annotation-api</artifactId>
159+
<version>1.3.2</version>
210160
</dependency>
211161

212162
<dependency>
@@ -215,12 +165,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
215165
</dependency>
216166

217167

218-
<dependency>
219-
<groupId>org.apache.commons</groupId>
220-
<artifactId>commons-lang3</artifactId>
221-
<version>3.4</version>
222-
</dependency>
223-
224168
<dependency>
225169
<groupId>org.springframework.boot</groupId>
226170
<artifactId>spring-boot-devtools</artifactId>
@@ -229,27 +173,6 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
229173

230174

231175

232-
<dependency>
233-
<groupId>javax.annotation</groupId>
234-
<artifactId>javax.annotation-api</artifactId>
235-
<version>1.3.2</version>
236-
</dependency>
237-
238-
239-
<dependency>
240-
<groupId>org.jetbrains</groupId>
241-
<artifactId>annotations</artifactId>
242-
<version>RELEASE</version>
243-
<scope>compile</scope>
244-
</dependency>
245-
246-
<dependency>
247-
<groupId>com.microsoft.sqlserver</groupId>
248-
<artifactId>mssql-jdbc</artifactId>
249-
<scope>runtime</scope>
250-
</dependency>
251-
252-
253176
</dependencies>
254177

255178
<build>

src/main/java/com/patternknife/securityhelper/oauth2/domain/common/api/BaseApi.java

-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ public class BaseApi {
1010
@Value("${spring.profiles.active}")
1111
private String activeProfile;
1212

13-
/* @Autowired
14-
private ServletWebServerApplicationContext server;*/
1513

1614
@GetMapping("/systemProfile")
1715
public String getProfile () {

src/main/java/com/patternknife/securityhelper/oauth2/domain/common/api/NaverMapApi.java

-86
This file was deleted.

0 commit comments

Comments
 (0)