Skip to content

Commit 0ad250d

Browse files
authored
[JAVA-42103] Moving some article links on Github - spring-boot-libraries (#18621)
1 parent 92b50c0 commit 0ad250d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+189
-130
lines changed

spring-boot-modules/spring-boot-libraries-2/pom.xml

Lines changed: 36 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@
1111
<version>1.0.0-SNAPSHOT</version>
1212
</parent>
1313

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-
2614
<dependencies>
2715
<dependency>
2816
<groupId>org.springframework.boot</groupId>
@@ -36,10 +24,6 @@
3624
<groupId>org.springframework.boot</groupId>
3725
<artifactId>spring-boot-starter-actuator</artifactId>
3826
</dependency>
39-
<dependency>
40-
<groupId>ch.qos.logback</groupId>
41-
<artifactId>logback-classic</artifactId>
42-
</dependency>
4327
<dependency>
4428
<groupId>org.springframework.data</groupId>
4529
<artifactId>spring-data-jpa</artifactId>
@@ -54,22 +38,6 @@
5438
<artifactId>jobrunr-spring-boot-starter</artifactId>
5539
<version>${jobrunr-spring-boot-starter.version}</version>
5640
</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>
7341
<dependency>
7442
<groupId>org.springframework.boot</groupId>
7543
<artifactId>spring-boot-starter-test</artifactId>
@@ -91,62 +59,49 @@
9159
<artifactId>jandex</artifactId>
9260
<version>${jandex.version}</version>
9361
</dependency>
62+
<!-- Problem Spring Web -->
9463
<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>
9867
</dependency>
99-
<!-- https://mvnrepository.com/artifact/com.github.tomakehurst/wiremock-jre8 -->
10068
<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>
10572
</dependency>
10673
<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>
10976
</dependency>
77+
<!-- togglez -->
11078
<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>
114100
</dependency>
115101
</dependencies>
116102

117103
<build>
118104
<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>
150105
<plugin>
151106
<groupId>org.jboss.jandex</groupId>
152107
<artifactId>jandex-maven-plugin</artifactId>
@@ -172,20 +127,16 @@
172127
</build>
173128

174129
<properties>
175-
<spring-modulith-bom.version>1.2.2</spring-modulith-bom.version>
176130
<jobrunr-spring-boot-starter.version>5.1.7</jobrunr-spring-boot-starter.version>
177131
<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>
181132
<reflections.version>0.10.2</reflections.version>
182133
<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>
185134
<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>
189140
</properties>
190141

191142
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.Map;
77

88
import org.springframework.http.MediaType;
9+
//import org.springframework.security.access.AccessDeniedException;
910
import org.springframework.security.access.AccessDeniedException;
1011
import org.springframework.web.bind.annotation.DeleteMapping;
1112
import org.springframework.web.bind.annotation.GetMapping;

0 commit comments

Comments
 (0)