Browse Source

update oss-store pom.xml

reghao 5 months ago
parent
commit
15c8113209
2 changed files with 3 additions and 7 deletions
  1. 0 5
      oss-store/bin/start1.sh
  2. 3 2
      oss-store/pom.xml

+ 0 - 5
oss-store/bin/start1.sh

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-app_dir=`pwd`
-app_name='oss-store.jar'
-java -jar ${app_dir}"/"${app_name} > console.log 2>&1 &

+ 3 - 2
oss-store/pom.xml

@@ -19,6 +19,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <project.build.outputDir>${project.basedir}/bin</project.build.outputDir>
+        <springboot.version>2.6.15</springboot.version>
     </properties>
 
     <dependencyManagement>
@@ -26,7 +27,7 @@
             <dependency>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-dependencies</artifactId>
-                <version>2.6.15</version>
+                <version>${springboot.version}</version>
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
@@ -218,7 +219,7 @@
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
-                <version>2.3.9.RELEASE</version>
+                <version>${springboot.version}</version>
                 <executions>
                     <execution>
                         <goals>