Skip to content

Commit 64fd616

Browse files
committed
fix errors in build
1 parent d24efd5 commit 64fd616

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

discovery-service/pom.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>pl.piomin.services</groupId>
87
<artifactId>discovery-service</artifactId>
98
<version>1.0-SNAPSHOT</version>
109

1110
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.1.RELEASE</version>
11+
<groupId>pl.piomin.services</groupId>
12+
<artifactId>sample-testing-microservices</artifactId>
13+
<version>1.0-SNAPSHOT</version>
1514
</parent>
1615

1716
<properties>

pom.xml

+18
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7+
<parent>
8+
<groupId>org.springframework.boot</groupId>
9+
<artifactId>spring-boot-starter-parent</artifactId>
10+
<version>2.0.1.RELEASE</version>
11+
</parent>
12+
713
<groupId>pl.piomin.services</groupId>
814
<artifactId>sample-testing-microservices</artifactId>
915
<version>1.0-SNAPSHOT</version>
@@ -30,4 +36,16 @@
3036
</plugins>
3137
</build>
3238

39+
<dependencyManagement>
40+
<dependencies>
41+
<dependency>
42+
<groupId>org.springframework.cloud</groupId>
43+
<artifactId>spring-cloud-dependencies</artifactId>
44+
<version>Finchley.SR1</version>
45+
<type>pom</type>
46+
<scope>import</scope>
47+
</dependency>
48+
</dependencies>
49+
</dependencyManagement>
50+
3351
</project>

0 commit comments

Comments
 (0)