Просмотр исходного кода

Fix Statistic模块发布后无法启动bug

Yue 2 лет назад
Родитель
Сommit
925ad6c375
1 измененных файлов с 18 добавлено и 12 удалено
  1. 18 12
      VB_DSM_V2.1/vbdsm-statistics/vbdsm-statistic/pom.xml

+ 18 - 12
VB_DSM_V2.1/vbdsm-statistics/vbdsm-statistic/pom.xml

@@ -15,17 +15,23 @@
         <druid.version>1.1.1</druid.version>
         <java.version>1.7</java.version>
     </properties>
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-starter-parent</artifactId>
-                <version>${spring-boot.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
+    <parent>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-parent</artifactId>
+        <version>1.5.13.RELEASE</version>
+        <relativePath/>
+    </parent>
+    <!--    <dependencyManagement>-->
+    <!--        <dependencies>-->
+    <!--            <dependency>-->
+    <!--                <groupId>org.springframework.boot</groupId>-->
+    <!--                <artifactId>spring-boot-starter-parent</artifactId>-->
+    <!--                <version>${spring-boot.version}</version>-->
+    <!--                <type>pom</type>-->
+    <!--                <scope>import</scope>-->
+    <!--            </dependency>-->
+    <!--        </dependencies>-->
+    <!--    </dependencyManagement>-->
 
     <profiles>
         <profile>
@@ -189,7 +195,7 @@
                             <goal>java</goal>
                         </goals>
                         <configuration>
-                            <mainClass>cn.vbdsm.statistics.StatisticsApplication</mainClass>
+                            <mainClass>cn.vbdsm.statistic.StatisticsApplication</mainClass>
                         </configuration>
                     </execution>
                 </executions>