Skip to content

Commit f28e60d

Browse files
committed
JAVA-3296: Fix references to parents
1 parent d1d6caf commit f28e60d

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

discord4j/pom.xml

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,16 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.3.5.RELEASE</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
11-
<groupId>com.baeldung</groupId>
125
<artifactId>discord4j-bot</artifactId>
13-
<version>0.0.1-SNAPSHOT</version>
146
<name>discord4j-bot</name>
157
<description>Demo Discord bot using Discord4J + Spring Boot</description>
168

17-
<properties>
18-
<java.version>1.8</java.version>
19-
</properties>
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>parent-boot-2</artifactId>
12+
<version>0.0.1-SNAPSHOT</version>
13+
<relativePath>../parent-boot-2</relativePath>
14+
</parent>
2015

2116
<dependencies>
2217
<dependency>
@@ -67,5 +62,9 @@
6762
</plugin>
6863
</plugins>
6964
</build>
65+
66+
<properties>
67+
<java.version>1.8</java.version>
68+
</properties>
7069

7170
</project>

docker/docker-spring-boot-postgres/pom.xml

+11-10
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.4.0</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
115
<groupId>com.baeldung.docker</groupId>
126
<artifactId>docker-spring-boot-postgres</artifactId>
137
<version>0.0.1-SNAPSHOT</version>
148
<name>docker-spring-boot-postgres</name>
159
<description>Demo project showing Spring Boot, PostgreSQL, and Docker</description>
16-
17-
<properties>
18-
<java.version>11</java.version>
19-
</properties>
10+
11+
<parent>
12+
<groupId>com.baeldung</groupId>
13+
<artifactId>parent-boot-2</artifactId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-2</relativePath>
16+
</parent>
2017

2118
<dependencies>
2219
<dependency>
@@ -44,5 +41,9 @@
4441
</plugin>
4542
</plugins>
4643
</build>
44+
45+
<properties>
46+
<java.version>11</java.version>
47+
</properties>
4748

4849
</project>

docker/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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.3.1.RELEASE</version>
11-
<relativePath /> <!-- lookup parent from repository -->
12-
</parent>
13-
147
<groupId>com.baeldung.docker</groupId>
158
<artifactId>docker</artifactId>
169
<version>0.0.1</version>
1710
<name>docker</name>
1811
<description>Demo project showing Spring Boot and Docker</description>
1912
<packaging>pom</packaging>
13+
14+
<parent>
15+
<groupId>com.baeldung</groupId>
16+
<artifactId>parent-boot-2</artifactId>
17+
<version>0.0.1-SNAPSHOT</version>
18+
<relativePath>../parent-boot-2</relativePath>
19+
</parent>
2020

2121
<properties>
2222
<java.version>11</java.version>

0 commit comments

Comments
 (0)