11
11
<version >1.0.0-SNAPSHOT</version >
12
12
</parent >
13
13
14
- <dependencyManagement >
15
- <dependencies >
16
- <dependency >
17
- <groupId >org.springframework.modulith</groupId >
18
- <artifactId >spring-modulith-bom</artifactId >
19
- <version >${spring-modulith-bom.version} </version >
20
- <scope >import</scope >
21
- <type >pom</type >
22
- </dependency >
23
- </dependencies >
24
- </dependencyManagement >
25
-
26
14
<dependencies >
27
15
<dependency >
28
16
<groupId >org.springframework.boot</groupId >
36
24
<groupId >org.springframework.boot</groupId >
37
25
<artifactId >spring-boot-starter-actuator</artifactId >
38
26
</dependency >
39
- <dependency >
40
- <groupId >ch.qos.logback</groupId >
41
- <artifactId >logback-classic</artifactId >
42
- </dependency >
43
27
<dependency >
44
28
<groupId >org.springframework.data</groupId >
45
29
<artifactId >spring-data-jpa</artifactId >
54
38
<artifactId >jobrunr-spring-boot-starter</artifactId >
55
39
<version >${jobrunr-spring-boot-starter.version} </version >
56
40
</dependency >
57
- <!-- openapi -->
58
- <dependency >
59
- <groupId >org.openapitools</groupId >
60
- <artifactId >openapi-generator</artifactId >
61
- <version >${openapi-generator.version} </version >
62
- </dependency >
63
- <dependency >
64
- <groupId >org.openapitools</groupId >
65
- <artifactId >jackson-databind-nullable</artifactId >
66
- <version >${jackson-databind-nullable.version} </version >
67
- </dependency >
68
- <dependency >
69
- <groupId >org.springdoc</groupId >
70
- <artifactId >springdoc-openapi-ui</artifactId >
71
- <version >${springdoc.version} </version >
72
- </dependency >
73
41
<dependency >
74
42
<groupId >org.springframework.boot</groupId >
75
43
<artifactId >spring-boot-starter-test</artifactId >
91
59
<artifactId >jandex</artifactId >
92
60
<version >${jandex.version} </version >
93
61
</dependency >
62
+ <!-- Problem Spring Web -->
94
63
<dependency >
95
- <groupId >io.github.resilience4j </groupId >
96
- <artifactId >resilience4j -spring-boot2 </artifactId >
97
- <version >${resilience4j -spring-boot2 .version} </version >
64
+ <groupId >org.zalando </groupId >
65
+ <artifactId >problem -spring-web </artifactId >
66
+ <version >${problem -spring-web .version} </version >
98
67
</dependency >
99
- <!-- https://mvnrepository.com/artifact/com.github.tomakehurst/wiremock-jre8 -->
100
68
<dependency >
101
- <groupId >com.github.tomakehurst</groupId >
102
- <artifactId >wiremock-jre8</artifactId >
103
- <version >${wiremock-jre8.version} </version >
104
- <scope >test</scope >
69
+ <groupId >org.zalando</groupId >
70
+ <artifactId >jackson-datatype-problem</artifactId >
71
+ <version >${jackson-datatype-problem.version} </version >
105
72
</dependency >
106
73
<dependency >
107
- <groupId >org.springframework.modulith </groupId >
108
- <artifactId >spring-modulith-api </artifactId >
74
+ <groupId >org.springframework.boot </groupId >
75
+ <artifactId >spring-boot-starter-security </artifactId >
109
76
</dependency >
77
+ <!-- togglez -->
110
78
<dependency >
111
- <groupId >org.springframework.modulith</groupId >
112
- <artifactId >spring-modulith-starter-test</artifactId >
113
- <scope >test</scope >
79
+ <groupId >org.togglz</groupId >
80
+ <artifactId >togglz-spring-boot-starter</artifactId >
81
+ <version >${togglz.version} </version >
82
+ </dependency >
83
+ <dependency >
84
+ <groupId >org.togglz</groupId >
85
+ <artifactId >togglz-spring-security</artifactId >
86
+ <version >${togglz.version} </version >
87
+ </dependency >
88
+ <dependency >
89
+ <groupId >jakarta.persistence</groupId >
90
+ <artifactId >jakarta.persistence-api</artifactId >
91
+ <version >${jakarta.persistence-api.version} </version >
92
+ </dependency >
93
+ <dependency >
94
+ <groupId >com.h2database</groupId >
95
+ <artifactId >h2</artifactId >
96
+ </dependency >
97
+ <dependency >
98
+ <groupId >org.springframework.boot</groupId >
99
+ <artifactId >spring-boot-starter-data-jpa</artifactId >
114
100
</dependency >
115
101
</dependencies >
116
102
117
103
<build >
118
104
<plugins >
119
- <plugin >
120
- <groupId >org.openapitools</groupId >
121
- <artifactId >openapi-generator-maven-plugin</artifactId >
122
- <version >${openapi-generator.version} </version >
123
- <executions >
124
- <execution >
125
- <goals >
126
- <goal >generate</goal >
127
- </goals >
128
- <configuration >
129
- <inputSpec >
130
- ${project.basedir} /src/main/resources/petstore.yml
131
- </inputSpec >
132
- <generatorName >spring</generatorName >
133
- <apiPackage >com.baeldung.openapi.api</apiPackage >
134
- <modelPackage >com.baeldung.openapi.model</modelPackage >
135
- <generateApis >true</generateApis >
136
- <generateModels >true</generateModels >
137
- <generateSupportingFiles >true</generateSupportingFiles >
138
- <supportingFilesToGenerate >
139
- ApiUtil.java
140
- </supportingFilesToGenerate >
141
- <configOptions >
142
- <delegatePattern >false</delegatePattern >
143
- <useJakartaEe >true</useJakartaEe >
144
- <!-- useSpringBoot3>true</useSpringBoot3--> <!-- we can uncomment this option if the project uses Spring Boot 3 and above-->
145
- </configOptions >
146
- </configuration >
147
- </execution >
148
- </executions >
149
- </plugin >
150
105
<plugin >
151
106
<groupId >org.jboss.jandex</groupId >
152
107
<artifactId >jandex-maven-plugin</artifactId >
172
127
</build >
173
128
174
129
<properties >
175
- <spring-modulith-bom .version>1.2.2</spring-modulith-bom .version>
176
130
<jobrunr-spring-boot-starter .version>5.1.7</jobrunr-spring-boot-starter .version>
177
131
<awaitility .version>4.0.3</awaitility .version>
178
- <openapi-generator .version>7.8.0</openapi-generator .version>
179
- <spring .data.version>2.4.5</spring .data.version>
180
- <jackson-databind-nullable .version>0.2.1</jackson-databind-nullable .version>
181
132
<reflections .version>0.10.2</reflections .version>
182
133
<jandex .version>2.4.3.Final</jandex .version>
183
- <resilience4j-spring-boot2 .version>2.0.2</resilience4j-spring-boot2 .version>
184
- <wiremock-jre8 .version>2.34.0</wiremock-jre8 .version>
185
134
<jandex-maven-plugin .version>1.2.3</jandex-maven-plugin .version>
186
- <springdoc .version>1.7.0</springdoc .version>
187
- <start-class >com.baeldung.openapi.OpenApiApplication</start-class >
188
- <spring-boot .version>3.2.2</spring-boot .version>
135
+ <start-class >com.baeldung.kong.StockApp</start-class >
136
+ <problem-spring-web .version>0.29.1</problem-spring-web .version>
137
+ <jackson-datatype-problem .version>0.27.1</jackson-datatype-problem .version>
138
+ <togglz .version>4.4.0</togglz .version>
139
+ <jakarta .persistence-api.version>3.1.0</jakarta .persistence-api.version>
189
140
</properties >
190
141
191
142
</project >
0 commit comments