diff --git a/pom.xml b/pom.xml index aa54e65..560f92b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,8 @@ - - + + 4.0.0 org.springframework.boot @@ -12,10 +14,7 @@ 0.0.1 pom mall-ebtp-cloud - - uboot-eureka - - + Parent pom providing dependency and plugin management for applications built with Maven @@ -26,9 +25,9 @@ UTF-8 UTF-8 Hoxton.SR7 - 3.2.0 + 3.2.0 - + @@ -40,7 +39,7 @@ - + nexus-aliyun @@ -48,7 +47,7 @@ http://maven.aliyun.com/nexus/content/groups/public - + @@ -191,17 +190,22 @@ - + META-INF/spring.handlers - + META-INF/spring.factories - + META-INF/spring.schemas - - + + ${start-class} @@ -212,8 +216,9 @@ - - - mall-ebtp-cloud-core - + + + mall-ebtp-cloud-core + uboot-eureka + \ No newline at end of file diff --git a/uboot-eureka/pom.xml b/uboot-eureka/pom.xml index 051127c..b745d39 100644 --- a/uboot-eureka/pom.xml +++ b/uboot-eureka/pom.xml @@ -10,14 +10,9 @@ com.chinaunicom.ebtp uboot-eureka - 0.0.1-SNAPSHOT + 0.0.1 uboot-eureka - - 1.8 - Hoxton.SR8 - - org.springframework.cloud @@ -37,25 +32,4 @@ - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - - diff --git a/uboot-eureka/src/main/resources/application.yml b/uboot-eureka/src/main/resources/application.yml index 45687a9..32098cf 100644 --- a/uboot-eureka/src/main/resources/application.yml +++ b/uboot-eureka/src/main/resources/application.yml @@ -11,4 +11,4 @@ eureka: registerWithEureka: false #禁止注册自身 fetchRegistry: false #因为该服务没有注册到其他注册中心,所以关闭从注册中心拉取服务列表。 serviceUrl: #服务注册中心地址 - defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ \ No newline at end of file + defaultZone: http://${eureka.instance.hostname}:${server.port}/eurek