|
5 | 5 | <modelVersion>4.0.0</modelVersion>
|
6 | 6 |
|
7 | 7 | <parent>
|
8 |
| - <groupId>org.springframework.boot</groupId> |
9 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
10 |
| - <version>2.6.1</version> |
11 |
| - <relativePath/> |
12 |
| - <!-- lookup parent from repository --> |
| 8 | + <groupId>com.amido.stacks.modules</groupId> |
| 9 | + <artifactId>stacks-modules-parent</artifactId> |
| 10 | + <version>2.0.7-RELEASE</version> |
13 | 11 | </parent>
|
14 | 12 |
|
15 | 13 | <groupId>com.amido.stacks.workloads</groupId>
|
|
20 | 18 | <description>Demo project for Java</description>
|
21 | 19 |
|
22 | 20 | <properties>
|
23 |
| - <stacks.core.api.version>1.0.3.2-RELEASE</stacks.core.api.version> |
24 |
| - <stacks.core.commons.version>1.0.3</stacks.core.commons.version> |
| 21 | + <stacks.core.api.version>1.0.5.11-RELEASE</stacks.core.api.version> |
| 22 | + <stacks.core.commons.version>2.0.7</stacks.core.commons.version> |
25 | 23 |
|
26 | 24 | <!-- Stacks features -->
|
27 | 25 | <aws.profile.name>no-aws</aws.profile.name>
|
28 | 26 | <azure.profile.name>no-azure</azure.profile.name>
|
29 | 27 |
|
30 |
| - <java.version>11</java.version> |
31 |
| - <org.projectlombok.version>1.18.0</org.projectlombok.version> |
32 |
| - <org.springdoc-openapi.version>1.6.1</org.springdoc-openapi.version> |
33 | 28 | <applicationinsights.version>2.6.4</applicationinsights.version>
|
34 |
| - <azure.springboot.version>3.6.0</azure.springboot.version> |
35 |
| - <jackson.version>2.13.0</jackson.version> |
36 |
| - <mockito.version>4.1.0</mockito.version> |
37 |
| - <lombok.version>1.18.22</lombok.version> |
38 |
| - <hamcrest.version>2.2</hamcrest.version> |
39 |
| - <pitest.version>1.7.3</pitest.version> |
40 |
| - <jacoco.version>0.8.7</jacoco.version> |
41 |
| - <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> |
42 |
| - <maven-surefire-phase>test</maven-surefire-phase> |
43 |
| - <junit-jupiter.version>5.8.2</junit-jupiter.version> |
44 |
| - <equals-verifier.version>3.8.1</equals-verifier.version> |
45 |
| - <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
46 |
| - <owasp-dependency-check-plugin.version>6.5.0</owasp-dependency-check-plugin.version> |
47 |
| - <auth0-spring-security-api.version>1.4.1</auth0-spring-security-api.version> |
48 |
| - <io-projectreactor-netty.version>1.0.11</io-projectreactor-netty.version> |
49 |
| - <ch.qos.logback.logback-core.version>1.2.8</ch.qos.logback.logback-core.version> |
50 |
| - <net.minidev.json-smart-version>2.4.7</net.minidev.json-smart-version> |
51 |
| - <com.beust.jcommander-version>1.81</com.beust.jcommander-version> |
| 29 | + <azure.springboot.version>4.0.0</azure.springboot.version> |
52 | 30 | <au.com.dius.pact-jvm-provider-spring.version>4.0.10
|
53 | 31 | </au.com.dius.pact-jvm-provider-spring.version>
|
54 | 32 | <au.com.dius.pact.consumer-version>4.3.2</au.com.dius.pact.consumer-version>
|
55 |
| - <com.nimbusds.oauth2-oidc-sdk-version>9.9</com.nimbusds.oauth2-oidc-sdk-version> |
56 | 33 | <au.com.dius.pact.provider.maven-version>4.2.7</au.com.dius.pact.provider.maven-version>
|
57 |
| - <log4j-version>2.17.0</log4j-version> |
58 |
| - <org.mapstruct.version>1.5.2.Final</org.mapstruct.version> |
59 |
| - <aws-java-sdk-s3.version>1.12.273</aws-java-sdk-s3.version> |
| 34 | + <aws-java-sdk-s3.version>1.12.470</aws-java-sdk-s3.version> |
60 | 35 | <aspectjweaver.version>1.9.9.1</aspectjweaver.version>
|
61 |
| - |
62 |
| - <fmt-maven-plugin.version>2.13</fmt-maven-plugin.version> |
63 |
| - <maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version> |
64 |
| - <puppycrawl-tools-checkstyle.version>9.2</puppycrawl-tools-checkstyle.version> |
65 |
| - <spotbugs-maven-plugin.version>4.2.3</spotbugs-maven-plugin.version> |
66 |
| - <spotbugs.version>4.5.2</spotbugs.version> |
67 | 36 | <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
|
68 |
| - |
| 37 | + <spring.cloud.dependencies.version>2022.0.4</spring.cloud.dependencies.version> |
69 | 38 | <pact.version>3.5.24</pact.version>
|
70 | 39 |
|
71 | 40 | <!-- Set 'pact.broker.url' and 'pact.broker.token' -->
|
|
79 | 48 |
|
80 | 49 | <dependencyManagement>
|
81 | 50 | <dependencies>
|
| 51 | + <!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies --> |
82 | 52 | <dependency>
|
83 |
| - <groupId>io.projectreactor</groupId> |
84 |
| - <artifactId>reactor-bom</artifactId> |
85 |
| - <version>2020.0.14</version> |
| 53 | + <groupId>org.springframework.cloud</groupId> |
| 54 | + <artifactId>spring-cloud-dependencies</artifactId> |
| 55 | + <version>${spring.cloud.dependencies.version}</version> |
86 | 56 | <type>pom</type>
|
| 57 | + <scope>import</scope> |
87 | 58 | </dependency>
|
88 | 59 | </dependencies>
|
89 | 60 | </dependencyManagement>
|
|
111 | 82 |
|
112 | 83 | <dependency>
|
113 | 84 | <groupId>org.springframework.boot</groupId>
|
114 |
| - <artifactId>spring-boot-starter-actuator</artifactId> |
| 85 | + <artifactId>spring-boot-properties-migrator</artifactId> |
| 86 | + <scope>runtime</scope> |
115 | 87 | </dependency>
|
116 | 88 |
|
117 | 89 | <dependency>
|
118 |
| - <groupId>org.springframework.boot</groupId> |
119 |
| - <artifactId>spring-boot-starter-web</artifactId> |
| 90 | + <groupId>org.springframework.cloud</groupId> |
| 91 | + <artifactId>spring-cloud-starter-bootstrap</artifactId> |
120 | 92 | </dependency>
|
121 | 93 |
|
122 | 94 | <dependency>
|
123 |
| - <groupId>org.springdoc</groupId> |
124 |
| - <artifactId>springdoc-openapi-ui</artifactId> |
125 |
| - <version>${org.springdoc-openapi.version}</version> |
| 95 | + <groupId>org.springframework.cloud</groupId> |
| 96 | + <artifactId>spring-cloud-starter-config</artifactId> |
126 | 97 | </dependency>
|
127 | 98 |
|
128 | 99 | <dependency>
|
129 |
| - <groupId>org.springdoc</groupId> |
130 |
| - <artifactId>springdoc-openapi-data-rest</artifactId> |
131 |
| - <version>${org.springdoc-openapi.version}</version> |
| 100 | + <groupId>org.springframework.boot</groupId> |
| 101 | + <artifactId>spring-boot-starter-actuator</artifactId> |
132 | 102 | <exclusions>
|
133 | 103 | <exclusion>
|
134 |
| - <groupId>net.minidev</groupId> |
135 |
| - <artifactId>json-smart</artifactId> |
| 104 | + <groupId>org.yaml</groupId> |
| 105 | + <artifactId>snakeyaml</artifactId> |
136 | 106 | </exclusion>
|
137 | 107 | </exclusions>
|
138 | 108 | </dependency>
|
139 | 109 |
|
140 | 110 | <dependency>
|
141 |
| - <groupId>org.apache.logging.log4j</groupId> |
142 |
| - <artifactId>log4j-api</artifactId> |
143 |
| - <version>${log4j-version}</version> |
| 111 | + <groupId>org.springframework.boot</groupId> |
| 112 | + <artifactId>spring-boot-starter-web</artifactId> |
144 | 113 | </dependency>
|
145 | 114 |
|
146 | 115 | <dependency>
|
147 | 116 | <groupId>com.fasterxml.jackson.core</groupId>
|
148 | 117 | <artifactId>jackson-core</artifactId>
|
149 |
| - <version>${jackson.version}</version> |
150 | 118 | </dependency>
|
151 | 119 |
|
152 | 120 | <dependency>
|
153 | 121 | <groupId>com.fasterxml.jackson.core</groupId>
|
154 | 122 | <artifactId>jackson-databind</artifactId>
|
155 |
| - <version>${jackson.version}</version> |
156 | 123 | </dependency>
|
157 | 124 |
|
158 | 125 | <dependency>
|
159 | 126 | <groupId>com.fasterxml.jackson.core</groupId>
|
160 | 127 | <artifactId>jackson-annotations</artifactId>
|
161 |
| - <version>${jackson.version}</version> |
162 | 128 | </dependency>
|
163 | 129 |
|
164 | 130 | <dependency>
|
|
199 | 165 | </exclusions>
|
200 | 166 | </dependency>
|
201 | 167 |
|
202 |
| - <dependency> |
203 |
| - <groupId>ch.qos.logback</groupId> |
204 |
| - <artifactId>logback-core</artifactId> |
205 |
| - <version>${ch.qos.logback.logback-core.version}</version> |
206 |
| - </dependency> |
207 |
| - |
208 | 168 | <dependency>
|
209 | 169 | <groupId>net.minidev</groupId>
|
210 | 170 | <artifactId>json-smart</artifactId>
|
211 |
| - <version>${net.minidev.json-smart-version}</version> |
212 | 171 | </dependency>
|
213 | 172 |
|
214 | 173 | <dependency>
|
215 | 174 | <groupId>com.beust</groupId>
|
216 | 175 | <artifactId>jcommander</artifactId>
|
217 |
| - <version>${com.beust.jcommander-version}</version> |
218 | 176 | </dependency>
|
219 | 177 |
|
220 | 178 | <!-- Registering the Auth0 Dependency-->
|
221 | 179 | <dependency>
|
222 | 180 | <groupId>com.auth0</groupId>
|
223 | 181 | <artifactId>auth0-spring-security-api</artifactId>
|
224 |
| - <version>${auth0-spring-security-api.version}</version> |
225 |
| - </dependency> |
226 |
| - |
227 |
| - <dependency> |
228 |
| - <groupId>org.projectlombok</groupId> |
229 |
| - <artifactId>lombok</artifactId> |
230 |
| - <version>${lombok.version}</version> |
231 |
| - <scope>provided</scope> |
232 | 182 | </dependency>
|
233 | 183 |
|
234 | 184 | <dependency>
|
|
251 | 201 | </exclusions>
|
252 | 202 | </dependency>
|
253 | 203 |
|
254 |
| - <dependency> |
255 |
| - <groupId>org.junit.jupiter</groupId> |
256 |
| - <artifactId>junit-jupiter-api</artifactId> |
257 |
| - <version>${junit-jupiter.version}</version> |
258 |
| - <scope>test</scope> |
259 |
| - </dependency> |
260 |
| - |
261 |
| - <dependency> |
262 |
| - <groupId>org.junit.jupiter</groupId> |
263 |
| - <artifactId>junit-jupiter-engine</artifactId> |
264 |
| - <version>${junit-jupiter.version}</version> |
265 |
| - <scope>test</scope> |
266 |
| - </dependency> |
267 |
| - |
268 |
| - <dependency> |
269 |
| - <groupId>org.mockito</groupId> |
270 |
| - <artifactId>mockito-junit-jupiter</artifactId> |
271 |
| - <version>${mockito.version}</version> |
272 |
| - <scope>test</scope> |
273 |
| - </dependency> |
274 |
| - |
275 |
| - <dependency> |
276 |
| - <groupId>org.hamcrest</groupId> |
277 |
| - <artifactId>hamcrest</artifactId> |
278 |
| - <version>${hamcrest.version}</version> |
279 |
| - <scope>test</scope> |
280 |
| - </dependency> |
281 |
| - |
282 |
| - <dependency> |
283 |
| - <groupId>nl.jqno.equalsverifier</groupId> |
284 |
| - <artifactId>equalsverifier</artifactId> |
285 |
| - <version>${equals-verifier.version}</version> |
286 |
| - <scope>test</scope> |
287 |
| - </dependency> |
288 |
| - |
289 | 204 | <dependency>
|
290 | 205 | <groupId>au.com.dius</groupId>
|
291 | 206 | <artifactId>pact-jvm-provider-spring</artifactId>
|
|
303 | 218 | <dependency>
|
304 | 219 | <groupId>org.pitest</groupId>
|
305 | 220 | <artifactId>pitest-parent</artifactId>
|
306 |
| - <version>${pitest.version}</version> |
307 | 221 | <type>pom</type>
|
308 | 222 | </dependency>
|
309 | 223 |
|
310 | 224 | <dependency>
|
311 | 225 | <groupId>com.nimbusds</groupId>
|
312 | 226 | <artifactId>oauth2-oidc-sdk</artifactId>
|
313 |
| - <version>${com.nimbusds.oauth2-oidc-sdk-version}</version> |
314 | 227 | <scope>runtime</scope>
|
315 | 228 | </dependency>
|
316 | 229 |
|
|
319 | 232 | <artifactId>aws-java-sdk-s3</artifactId>
|
320 | 233 | <version>${aws-java-sdk-s3.version}</version>
|
321 | 234 | </dependency>
|
322 |
| - |
323 |
| - </dependencies> |
324 | 235 |
|
325 |
| - <reporting> |
326 |
| - <plugins> |
327 |
| - <plugin> |
328 |
| - <groupId>org.apache.maven.plugins</groupId> |
329 |
| - <artifactId>maven-surefire-report-plugin</artifactId> |
330 |
| - <version>${maven-surefire-plugin.version}</version> |
331 |
| - </plugin> |
332 |
| - </plugins> |
333 |
| - </reporting> |
| 236 | + <dependency> |
| 237 | + <groupId>jakarta.persistence</groupId> |
| 238 | + <artifactId>jakarta.persistence-api</artifactId> |
| 239 | + </dependency> |
| 240 | + |
| 241 | + </dependencies> |
334 | 242 |
|
335 | 243 | <build>
|
336 | 244 | <plugins>
|
337 |
| - <plugin> |
338 |
| - <groupId>org.apache.maven.plugins</groupId> |
339 |
| - <artifactId>maven-compiler-plugin</artifactId> |
340 |
| - <version>${maven-compiler-plugin.version}</version> |
341 |
| - <configuration> |
342 |
| - <source>11</source> |
343 |
| - <target>11</target> |
344 |
| - <annotationProcessorPaths> |
345 |
| - <path> |
346 |
| - <groupId>org.projectlombok</groupId> |
347 |
| - <artifactId>lombok</artifactId> |
348 |
| - <version>${lombok.version}</version> |
349 |
| - </path> |
350 |
| - <!-- This is needed when using Lombok 1.18.16 and above --> |
351 |
| - <path> |
352 |
| - <groupId>org.projectlombok</groupId> |
353 |
| - <artifactId>lombok-mapstruct-binding</artifactId> |
354 |
| - <version>0.2.0</version> |
355 |
| - </path> |
356 |
| - <!-- Mapstruct should follow the lombok path(s) --> |
357 |
| - <path> |
358 |
| - <groupId>org.mapstruct</groupId> |
359 |
| - <artifactId>mapstruct-processor</artifactId> |
360 |
| - <version>${org.mapstruct.version}</version> |
361 |
| - </path> |
362 |
| - </annotationProcessorPaths> |
363 |
| - <forceJavacCompilerUse>true</forceJavacCompilerUse> |
364 |
| - </configuration> |
365 |
| - </plugin> |
366 |
| - <plugin> |
367 |
| - <groupId>org.apache.maven.plugins</groupId> |
368 |
| - <artifactId>maven-surefire-plugin</artifactId> |
369 |
| - <version>${maven-surefire-plugin.version}</version> |
370 |
| - <executions> |
371 |
| - <execution> |
372 |
| - <id>default-test</id> |
373 |
| - <!-- Only run tests in the `test` phase, avoid running |
374 |
| - in the `package` phase. --> |
375 |
| - <phase>${maven-surefire-phase}</phase> |
376 |
| - </execution> |
377 |
| - </executions> |
378 |
| - </plugin> |
379 | 245 | <plugin>
|
380 | 246 | <groupId>org.springframework.boot</groupId>
|
381 | 247 | <artifactId>spring-boot-maven-plugin</artifactId>
|
|
584 | 450 | <plugin>
|
585 | 451 | <groupId>org.owasp</groupId>
|
586 | 452 | <artifactId>dependency-check-maven</artifactId>
|
587 |
| - <version>${owasp-dependency-check-plugin.version}</version> |
588 | 453 | <executions>
|
589 | 454 | <execution>
|
590 | 455 | <goals>
|
|
0 commit comments