|
@@ -27,18 +27,21 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<version>2.2.1.RELEASE</version>
|
|
|
+ <scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
<version>2.2.0.RELEASE</version>
|
|
|
+ <scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
<version>2.2.0.RELEASE</version>
|
|
|
+ <scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
@@ -47,6 +50,13 @@
|
|
|
<version>1.18.10</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.diagbot</groupId>
|
|
|
+ <artifactId>common</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
@@ -66,7 +76,7 @@
|
|
|
<!--<forceTags>true</forceTags>-->
|
|
|
<!--镜像的FROM,使用java官方镜像-->
|
|
|
<baseImage>frolvlad/alpine-oraclejre8:slim</baseImage>
|
|
|
- <entryPoint>["java", "-jar", "-Xms256m", "-Xmx1024m", "-Duser.timezone=GMT+8", "/${project.build.finalName}.jar"]</entryPoint>
|
|
|
+ <entryPoint>["java", "-jar", "-Xms256m", "-Xmx1024m", "-Duser.timezone=GMT+8","/${project.build.finalName}.jar"]</entryPoint>
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<targetPath>/</targetPath>
|