|
6 | 6 | <parent> |
7 | 7 | <groupId>org.springframework.boot</groupId> |
8 | 8 | <artifactId>spring-boot-starter-parent</artifactId> |
9 | | - <version>2.7.0-M3</version> |
| 9 | + <version>3.0.0-M2</version> |
10 | 10 | <relativePath/> <!-- lookup parent from repository --> |
11 | 11 | </parent> |
12 | 12 |
|
13 | 13 | <groupId>org.siriusxi.htec</groupId> |
14 | 14 | <artifactId>flight-advisor</artifactId> |
15 | | - <version>2.8</version> |
| 15 | + <version>3.0</version> |
16 | 16 | <name>Flight Advisor API</name> |
17 | 17 | <description>Flight Advisor API Spring Boot based Application.</description> |
18 | 18 | <packaging>jar</packaging> |
|
58 | 58 | </licenses> |
59 | 59 |
|
60 | 60 | <properties> |
61 | | - <java.version>18</java.version> |
| 61 | + <maven.compiler.release>18</maven.compiler.release> |
| 62 | + <maven.compiler.source>18</maven.compiler.source> |
| 63 | + <maven.compiler.target>18</maven.compiler.target> |
62 | 64 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
63 | 65 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
64 | 66 |
|
|
67 | 69 | <maven.failsafe.plugin.version>3.0.0-M5</maven.failsafe.plugin.version> |
68 | 70 | <io.jsonwebtoken.version>0.11.2</io.jsonwebtoken.version> |
69 | 71 | <org.mapstruct.version>1.5.0.RC1</org.mapstruct.version> |
70 | | - <org.springdoc.version>1.6.7</org.springdoc.version> |
| 72 | + <org.springdoc.version>2.0.0-M1</org.springdoc.version> |
71 | 73 | <lombok.version>1.18.22</lombok.version> |
72 | 74 | <opencsv.version>5.6</opencsv.version> |
73 | 75 | <hipster-core.version>1.0.1</hipster-core.version> |
74 | 76 | <datasource-proxy-sbs.version>1.8.0</datasource-proxy-sbs.version> |
75 | 77 | <commons-fileupload.version>1.4</commons-fileupload.version> |
76 | 78 | <commons-io.version>2.11.0</commons-io.version> |
77 | 79 | <commons-collections4.version>4.4</commons-collections4.version> |
| 80 | + <hibernate-core-jakarta.version>5.6.5.Final</hibernate-core-jakarta.version> |
| 81 | + <jackson-databind.version>2.13.2.2</jackson-databind.version> |
78 | 82 | </properties> |
79 | 83 |
|
80 | 84 | <dependencies> |
|
91 | 95 | <exclusions> |
92 | 96 | <exclusion> |
93 | 97 | <groupId>org.hibernate</groupId> |
94 | | - <artifactId>hibernate-core</artifactId> |
| 98 | + <artifactId>hibernate-core-jakarta</artifactId> |
95 | 99 | </exclusion> |
96 | 100 | </exclusions> |
97 | 101 | </dependency> |
98 | 102 |
|
99 | 103 | <dependency> |
100 | 104 | <groupId>org.hibernate</groupId> |
101 | | - <artifactId>hibernate-core</artifactId> |
102 | | - <version>5.6.5.Final</version> |
| 105 | + <artifactId>hibernate-core-jakarta</artifactId> |
| 106 | + <version>${hibernate-core-jakarta.version}</version> |
103 | 107 | </dependency> |
104 | 108 |
|
105 | 109 | <dependency> |
|
120 | 124 | <dependency> |
121 | 125 | <groupId>org.springframework.boot</groupId> |
122 | 126 | <artifactId>spring-boot-starter-web</artifactId> |
| 127 | + <!-- |
| 128 | + To fix CVE-2020-36518 |
| 129 | + https://advisory.checkmarx.net/advisory/vulnerability/CVE-2020-36518/ |
| 130 | + --> |
| 131 | + <exclusions> |
| 132 | + <exclusion> |
| 133 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 134 | + <artifactId>jackson-databind</artifactId> |
| 135 | + </exclusion> |
| 136 | + </exclusions> |
123 | 137 | </dependency> |
124 | 138 |
|
125 | 139 | <dependency> |
126 | 140 | <groupId>org.springdoc</groupId> |
127 | | - <artifactId>springdoc-openapi-ui</artifactId> |
| 141 | + <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
128 | 142 | <version>${org.springdoc.version}</version> |
| 143 | + <!-- |
| 144 | + To fix CVE-2020-36518 |
| 145 | + https://advisory.checkmarx.net/advisory/vulnerability/CVE-2020-36518/ |
| 146 | + --> |
| 147 | + <exclusions> |
| 148 | + <exclusion> |
| 149 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 150 | + <artifactId>jackson-databind</artifactId> |
| 151 | + </exclusion> |
| 152 | + </exclusions> |
129 | 153 | </dependency> |
130 | 154 |
|
131 | 155 | <dependency> |
132 | | - <groupId>org.springframework.boot</groupId> |
133 | | - <artifactId>spring-boot-starter-hateoas</artifactId> |
| 156 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 157 | + <artifactId>jackson-databind</artifactId> |
| 158 | + <version>${jackson-databind.version}</version> |
134 | 159 | </dependency> |
135 | 160 |
|
136 | 161 | <dependency> |
137 | | - <groupId>org.springdoc</groupId> |
138 | | - <artifactId>springdoc-openapi-hateoas</artifactId> |
139 | | - <version>${org.springdoc.version}</version> |
| 162 | + <groupId>org.springframework.boot</groupId> |
| 163 | + <artifactId>spring-boot-starter-hateoas</artifactId> |
140 | 164 | </dependency> |
| 165 | + |
141 | 166 | <!-- End - Web, REST, and their OpenAPI dependencies --> |
142 | 167 |
|
143 | 168 | <!-- Start - Security dependencies --> |
|
146 | 171 | <artifactId>spring-boot-starter-security</artifactId> |
147 | 172 | </dependency> |
148 | 173 |
|
149 | | - <dependency> |
150 | | - <groupId>org.springdoc</groupId> |
151 | | - <artifactId>springdoc-openapi-security</artifactId> |
152 | | - <version>${org.springdoc.version}</version> |
153 | | - </dependency> |
154 | 174 |
|
155 | 175 | <!-- Start - JWT library for authentication libraries --> |
156 | 176 | <dependency> |
|
191 | 211 | <dependency> |
192 | 212 | <groupId>org.projectlombok</groupId> |
193 | 213 | <artifactId>lombok</artifactId> |
| 214 | + <version>${lombok.version}</version> |
194 | 215 | <optional>true</optional> |
195 | 216 | </dependency> |
196 | 217 |
|
|
224 | 245 | <artifactId>commons-collections4</artifactId> |
225 | 246 | <version>${commons-collections4.version}</version> |
226 | 247 | </dependency> |
227 | | - <!-- The Commons FileUpload package makes it easy to add robust, high-performance, |
228 | | - file upload capability to your servlets and web applications. --> |
229 | | - <dependency> |
230 | | - <groupId>commons-fileupload</groupId> |
231 | | - <artifactId>commons-fileupload</artifactId> |
232 | | - <version>${commons-fileupload.version}</version> |
233 | | - <exclusions> |
234 | | - <!-- |
235 | | - To fix CVE-2021-29425 |
236 | | - https://advisory.checkmarx.net/advisory/vulnerability/CVE-2021-29425/ |
237 | | - --> |
238 | | - <exclusion> |
239 | | - <groupId>commons-io</groupId> |
240 | | - <artifactId>commons-io</artifactId> |
241 | | - </exclusion> |
242 | | - </exclusions> |
243 | | - </dependency> |
244 | | - |
245 | | - <dependency> |
246 | | - <groupId>commons-io</groupId> |
247 | | - <artifactId>commons-io</artifactId> |
248 | | - <version>${commons-io.version}</version> |
249 | | - </dependency> |
250 | 248 |
|
251 | 249 | <!-- Add hipster-core instead of hipster-all for basic functionality. --> |
252 | 250 | <dependency> |
|
262 | 260 | <artifactId>spring-boot-starter-test</artifactId> |
263 | 261 | <scope>test</scope> |
264 | 262 | </dependency> |
| 263 | + |
265 | 264 | <dependency> |
266 | 265 | <groupId>org.springframework.security</groupId> |
267 | 266 | <artifactId>spring-security-test</artifactId> |
268 | 267 | <scope>test</scope> |
269 | 268 | </dependency> |
| 269 | + |
270 | 270 | <dependency> |
271 | 271 | <groupId>org.hamcrest</groupId> |
272 | 272 | <artifactId>hamcrest-library</artifactId> |
|
300 | 300 | </plugin> |
301 | 301 | <plugin> |
302 | 302 | <artifactId>maven-compiler-plugin</artifactId> |
303 | | - <version>${maven-compiler-plugin.version}</version> |
304 | 303 | <configuration> |
305 | | - <release>${java.version}</release> |
306 | 304 | <enablePreview>true</enablePreview> |
307 | 305 | <annotationProcessorPaths> |
308 | 306 | <path> |
|
0 commit comments