You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by da...@apache.org on 2022/04/17 14:34:51 UTC

[empire-db] branch master updated: Bump spring boot version to 2.6.6 Add spring boot dependencies

This is an automated email from the ASF dual-hosted git repository.

datazuul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git


The following commit(s) were added to refs/heads/master by this push:
     new 14e101f2 Bump spring boot version to 2.6.6 Add spring boot dependencies
14e101f2 is described below

commit 14e101f284a1bfdd6c969dc3d6fa73105e6189a1
Author: datazuul <ra...@gmail.com>
AuthorDate: Sun Apr 17 16:34:36 2022 +0200

    Bump spring boot version to 2.6.6
    Add spring boot dependencies
---
 .../empire-db-example-spring-boot/pom.xml          | 100 ++++++++++++---------
 1 file changed, 57 insertions(+), 43 deletions(-)

diff --git a/empire-db-examples/empire-db-example-spring-boot/pom.xml b/empire-db-examples/empire-db-example-spring-boot/pom.xml
index 495cd3d3..81a1d295 100644
--- a/empire-db-examples/empire-db-example-spring-boot/pom.xml
+++ b/empire-db-examples/empire-db-example-spring-boot/pom.xml
@@ -7,7 +7,7 @@
    (the "License"); you may not use this file except in compliance with
    the License.	 You may obtain a copy of the License at
 
-		http://www.apache.org/licenses/LICENSE-2.0
+                http://www.apache.org/licenses/LICENSE-2.0
 
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,52 +16,66 @@
    limitations under the License.
 -->
 <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">
-	<modelVersion>4.0.0</modelVersion>
-	<parent>
-		<artifactId>empire-db-examples</artifactId>
-		<groupId>org.apache.empire-db</groupId>
-		<version>3.0.1-SNAPSHOT</version>
-	</parent>
-	<name>Apache Empire-db Spring Boot Example</name>
-	<artifactId>empire-db-example-spring-boot</artifactId>
-	<packaging>jar</packaging>
+    <modelVersion>4.0.0</modelVersion>
+  
+    <parent>
+        <artifactId>empire-db-examples</artifactId>
+        <groupId>org.apache.empire-db</groupId>
+        <version>3.0.1-SNAPSHOT</version>
+    </parent>
+  
+    <name>Apache Empire-db Spring Boot Example</name>
+    <artifactId>empire-db-example-spring-boot</artifactId>
+    <packaging>jar</packaging>
 
-	<properties>
-		<spring-boot.version>2.6.4</spring-boot.version>
-	</properties>
+    <properties>
+        <spring-boot.version>2.6.6</spring-boot.version>
+    </properties>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.apache.empire-db</groupId>
-			<artifactId>empire-db</artifactId>
-		</dependency>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <!-- Import dependency management from Spring Boot -->
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-dependencies</artifactId>
+                <version>${spring-boot.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
 
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter</artifactId>
-			<version>${spring-boot.version}</version>
-		</dependency>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.empire-db</groupId>
+            <artifactId>empire-db</artifactId>
+        </dependency>
 
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-jdbc</artifactId>
-			<version>${spring-boot.version}</version>
-		</dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter</artifactId>
+        </dependency>
 
-		<dependency>
-			<groupId>org.hsqldb</groupId>
-			<artifactId>hsqldb</artifactId>
-			<scope>runtime</scope>
-		</dependency>
-	</dependencies>
+        <dependency>
+            <groupId>org.hsqldb</groupId>
+            <artifactId>hsqldb</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+    
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-jdbc</artifactId>
+        </dependency>
+    </dependencies>
 
-	<build>
-		<plugins>
-			<!-- Package as an executable jar -->
-			<plugin>
-				<groupId>org.springframework.boot</groupId>
-				<artifactId>spring-boot-maven-plugin</artifactId>
-			</plugin>
-		</plugins>
-	</build>
+    <build>
+        <plugins>
+            <!-- Package as an executable jar -->
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>${spring-boot.version}</version>
+            </plugin>
+        </plugins>
+    </build>
 </project>