Skip to content

Commit ecb36ce

Browse files
authored
JAVA-6403: Fix references to parents (eugenp#11102)
* JAVA-6403: Fix references to parents * JAVA-6403: removed relativePath
1 parent ec3d415 commit ecb36ce

6 files changed

Lines changed: 26 additions & 25 deletions

File tree

docker/heap-sizing/pom.xml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.4.2</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
116
<groupId>com.baeldung.docker</groupId>
127
<artifactId>heap-sizing</artifactId>
138
<version>0.0.1-SNAPSHOT</version>
149
<name>heap-sizing</name>
1510
<description>Demo project for Spring Boot</description>
16-
<properties>
17-
<java.version>11</java.version>
18-
</properties>
11+
12+
<parent>
13+
<groupId>com.baeldung</groupId>
14+
<artifactId>parent-boot-2</artifactId>
15+
<version>0.0.1-SNAPSHOT</version>
16+
<relativePath>../../parent-boot-2</relativePath>
17+
</parent>
18+
1919
<dependencies>
2020
<dependency>
2121
<groupId>org.springframework.boot</groupId>
@@ -58,4 +58,8 @@
5858
</plugins>
5959
</build>
6060

61+
<properties>
62+
<java.version>11</java.version>
63+
</properties>
64+
6165
</project>

spring-boot-modules/spring-boot-actuator/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
<version>0.0.1-SNAPSHOT</version>
1010

1111
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.3.2.RELEASE</version>
15-
<relativePath /> <!-- lookup parent from repository -->
12+
<groupId>com.baeldung.spring-boot-modules</groupId>
13+
<artifactId>spring-boot-modules</artifactId>
14+
<version>1.0.0-SNAPSHOT</version>
1615
</parent>
1716

1817
<dependencies>

spring-boot-modules/spring-boot-mvc-jersey/spring-boot-jersey/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
<version>0.0.1-SNAPSHOT</version>
99

1010
<parent>
11-
<groupId>org.springframework.boot</groupId>
12-
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>2.4.2</version>
14-
<relativePath /> <!-- lookup parent from repository -->
11+
<groupId>com.baeldung.spring-boot-modules</groupId>
12+
<artifactId>spring-boot-mvc-jersey</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
1514
</parent>
1615

1716
<dependencies>

spring-boot-modules/spring-boot-mvc-jersey/spring-boot-jersey/src/test/java/com/baeldung/boot/jersey/JerseyApplicationIntegrationTests.java renamed to spring-boot-modules/spring-boot-mvc-jersey/spring-boot-jersey/src/test/java/com/baeldung/boot/jersey/JerseyApplicationIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.springframework.boot.test.context.SpringBootTest;
55

66
@SpringBootTest
7-
class JerseyApplicationIntegrationTests {
7+
class JerseyApplicationIntegrationTest {
88

99
@Test
1010
void contextLoads() {

spring-boot-modules/spring-boot-mvc-jersey/spring-boot-mvc/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
<version>0.0.1-SNAPSHOT</version>
99

1010
<parent>
11-
<groupId>org.springframework.boot</groupId>
12-
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>2.4.2</version>
14-
<relativePath /> <!-- lookup parent from repository -->
11+
<groupId>com.baeldung.spring-boot-modules</groupId>
12+
<artifactId>spring-boot-mvc-jersey</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
1514
</parent>
1615

1716
<dependencies>

spring-boot-modules/spring-boot-mvc-jersey/spring-boot-mvc/src/test/java/com/baeldung/boot/mvc/MvcApplicationIntegrationTests.java renamed to spring-boot-modules/spring-boot-mvc-jersey/spring-boot-mvc/src/test/java/com/baeldung/boot/mvc/MvcApplicationIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.springframework.boot.test.context.SpringBootTest;
55

66
@SpringBootTest
7-
class MvcApplicationIntegrationTests {
7+
class MvcApplicationIntegrationTest {
88

99
@Test
1010
void contextLoads() {

0 commit comments

Comments
 (0)