Skip to content

Commit 90e881d

Browse files
author
Rainer Döbele
committed
2 parents 295ee96 + 8498fdf commit 90e881d

10 files changed

Lines changed: 872 additions & 825 deletions

File tree

empire-db-examples/empire-db-example-spring-boot/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Instead of `config.xml` all configuration can be found in `application.yml`.
2424
This example builds an executable JAR you can build and execute from this folder like this:
2525

2626
```sh
27-
$ mvn clean install
28-
$ java -jar target/empire-db-example-spring-boot-3.0.0-SNAPSHOT.jar
27+
$ mvn clean spring-boot:run
2928
```
3029

3130
An embedded hsqldb is used by default.

empire-db-examples/empire-db-example-spring-boot/pom.xml

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,24 @@
1515
See the License for the specific language governing permissions and
1616
limitations under the License.
1717
-->
18-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1920
<modelVersion>4.0.0</modelVersion>
20-
21+
2122
<parent>
2223
<artifactId>empire-db-examples</artifactId>
2324
<groupId>org.apache.empire-db</groupId>
2425
<version>3.4.1-SNAPSHOT</version>
2526
</parent>
26-
27+
2728
<name>Apache Empire-db Spring Boot Example</name>
2829
<artifactId>empire-db-example-spring-boot</artifactId>
2930
<packaging>jar</packaging>
3031

3132
<properties>
32-
<spring-boot.version>2.7.17</spring-boot.version>
33+
<spring-boot.version>4.0.2</spring-boot.version>
34+
<maven.compiler.source>17</maven.compiler.source>
35+
<maven.compiler.target>17</maven.compiler.target>
3336
</properties>
3437

3538
<dependencyManagement>
@@ -49,31 +52,35 @@
4952
<dependency>
5053
<groupId>org.apache.empire-db</groupId>
5154
<artifactId>empire-db</artifactId>
52-
</dependency>
53-
54-
<dependency>
55-
<groupId>org.springframework.boot</groupId>
56-
<artifactId>spring-boot-starter</artifactId>
5755
<exclusions>
58-
<exclusion>
59-
<groupId>ch.qos.logback</groupId>
60-
<artifactId>logback-classic</artifactId>
61-
</exclusion>
56+
<exclusion>
57+
<groupId>log4j</groupId>
58+
<artifactId>log4j</artifactId>
59+
</exclusion>
60+
<exclusion>
61+
<groupId>org.slf4j</groupId>
62+
<artifactId>slf4j-api</artifactId>
63+
</exclusion>
64+
<exclusion>
65+
<groupId>org.slf4j</groupId>
66+
<artifactId>slf4j-reload4j</artifactId>
67+
</exclusion>
6268
</exclusions>
6369
</dependency>
64-
65-
<!-- logging -->
66-
<dependency>
67-
<groupId>org.slf4j</groupId>
68-
<artifactId>slf4j-reload4j</artifactId>
69-
</dependency>
70-
7170
<dependency>
7271
<groupId>org.hsqldb</groupId>
7372
<artifactId>hsqldb</artifactId>
7473
<scope>runtime</scope>
7574
</dependency>
76-
75+
<dependency>
76+
<groupId>org.slf4j</groupId>
77+
<artifactId>slf4j-api</artifactId>
78+
<version>2.0.17</version>
79+
</dependency>
80+
<dependency>
81+
<groupId>org.springframework.boot</groupId>
82+
<artifactId>spring-boot-starter</artifactId>
83+
</dependency>
7784
<dependency>
7885
<groupId>org.springframework.boot</groupId>
7986
<artifactId>spring-boot-starter-jdbc</artifactId>

0 commit comments

Comments
 (0)