Skip to content

Commit 40b7e1f

Browse files
authored
[JAVA-45847] Fix references to parents - Week 16 - 2025. Fixed hilla module. (#18500)
1 parent 11ab73e commit 40b7e1f

File tree

4 files changed

+54
-50
lines changed

4 files changed

+54
-50
lines changed

java-panama/pom.xml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,18 @@
88
<packaging>jar</packaging>
99
<name>java-panama</name>
1010

11-
<dependencies>
12-
<dependency>
13-
<groupId>org.junit.jupiter</groupId>
14-
<artifactId>junit-jupiter</artifactId>
15-
<version>${junit.jupiter.version}</version>
16-
<scope>test</scope>
17-
</dependency>
18-
</dependencies>
11+
<parent>
12+
<groupId>com.baeldung</groupId>
13+
<artifactId>parent-modules</artifactId>
14+
<version>1.0.0-SNAPSHOT</version>
15+
</parent>
1916

2017
<build>
2118
<plugins>
2219
<plugin>
2320
<groupId>org.apache.maven.plugins</groupId>
2421
<artifactId>maven-compiler-plugin</artifactId>
25-
<version>${maven.compiler.version}</version>
2622
<configuration>
27-
<source>${maven.compiler.source}</source>
28-
<target>${maven.compiler.target}</target>
2923
<compilerArgs>
3024
<arg>--enable-preview</arg>
3125
</compilerArgs>
@@ -34,13 +28,4 @@
3428
</plugins>
3529
</build>
3630

37-
<properties>
38-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39-
<project.version>1.0</project.version>
40-
<maven.compiler.source>21</maven.compiler.source>
41-
<maven.compiler.target>21</maven.compiler.target>
42-
<maven.compiler.version>3.12.1</maven.compiler.version>
43-
<junit.jupiter.version>5.9.0</junit.jupiter.version>
44-
</properties>
45-
4631
</project>

libraries-testing/pom.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88

99
<parent>
1010
<groupId>com.baeldung</groupId>
11-
<artifactId>parent-boot-2</artifactId>
12-
<version>0.0.1-SNAPSHOT</version>
13-
<relativePath>../parent-boot-2</relativePath>
11+
<artifactId>parent-modules</artifactId>
12+
<version>1.0.0-SNAPSHOT</version>
1413
</parent>
1514

1615
<dependencies>
@@ -70,10 +69,23 @@
7069
<dependency>
7170
<groupId>org.springframework</groupId>
7271
<artifactId>spring-web</artifactId>
72+
<version>${spring.version}</version>
7373
</dependency>
7474
<dependency>
7575
<groupId>org.springframework.boot</groupId>
7676
<artifactId>spring-boot-starter-web</artifactId>
77+
<version>${spring-boot.version}</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.springframework.boot</groupId>
81+
<artifactId>spring-boot-starter-test</artifactId>
82+
<version>${spring-boot.version}</version>
83+
<scope>test</scope>
84+
</dependency>
85+
<dependency>
86+
<groupId>io.rest-assured</groupId>
87+
<artifactId>rest-assured</artifactId>
88+
<version>${rest-assured.version}</version>
7789
</dependency>
7890
<dependency>
7991
<groupId>net.bytebuddy</groupId>
@@ -104,6 +116,11 @@
104116
<archunit.version>0.23.1</archunit.version>
105117
<modelassert.version>1.0.0</modelassert.version>
106118
<pact.version>3.6.3</pact.version>
119+
<spring-boot.version>2.7.11</spring-boot.version>
120+
<spring.version>5.3.27</spring.version>
121+
<rest-assured.version>3.3.0</rest-assured.version>
122+
<org.slf4j.version>1.7.32</org.slf4j.version>
123+
<logback.version>1.2.7</logback.version>
107124
</properties>
108125

109126
</project>

logging-modules/log-mdc/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
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
<artifactId>log-mdc</artifactId>
77
<version>0.0.1-SNAPSHOT</version>
@@ -11,9 +11,8 @@
1111

1212
<parent>
1313
<groupId>com.baeldung</groupId>
14-
<artifactId>parent-spring-5</artifactId>
15-
<version>0.0.1-SNAPSHOT</version>
16-
<relativePath>../../parent-spring-5</relativePath>
14+
<artifactId>logging-modules</artifactId>
15+
<version>1.0.0-SNAPSHOT</version>
1716
</parent>
1817

1918
<dependencies>
@@ -98,6 +97,7 @@
9897
<disruptor.version>3.3.6</disruptor.version>
9998
<jbosslogging.version>3.3.0.Final</jbosslogging.version>
10099
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
100+
<spring.version>5.3.28</spring.version>
101101
</properties>
102102

103103
</project>

web-modules/hilla/pom.xml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,67 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
3+
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>
55
<groupId>com.example</groupId>
66
<artifactId>hilla</artifactId>
77
<version>0.0.1-SNAPSHOT</version>
88
<name>hilla</name>
9-
<url/>
109

1110
<parent>
1211
<groupId>com.baeldung</groupId>
13-
<artifactId>parent-boot-3</artifactId>
14-
<version>0.0.1-SNAPSHOT</version>
15-
<relativePath>../parent-boot-3</relativePath>
12+
<artifactId>web-modules</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
1614
</parent>
1715

18-
<properties>
19-
<java.version>21</java.version>
20-
<vaadin.version>24.4.10</vaadin.version>
21-
</properties>
16+
<dependencyManagement>
17+
<dependencies>
18+
<dependency>
19+
<groupId>com.vaadin</groupId>
20+
<artifactId>vaadin-bom</artifactId>
21+
<version>${vaadin.version}</version>
22+
<type>pom</type>
23+
<scope>import</scope>
24+
</dependency>
25+
</dependencies>
26+
</dependencyManagement>
2227

2328
<dependencies>
2429
<dependency>
2530
<groupId>org.springframework.boot</groupId>
2631
<artifactId>spring-boot-starter-data-jpa</artifactId>
32+
<version>${spring.version}</version>
2733
</dependency>
2834
<dependency>
2935
<groupId>com.vaadin</groupId>
3036
<artifactId>vaadin-spring-boot-starter</artifactId>
3137
</dependency>
32-
3338
<dependency>
3439
<groupId>org.springframework.boot</groupId>
3540
<artifactId>spring-boot-devtools</artifactId>
41+
<version>${spring.version}</version>
3642
<scope>runtime</scope>
3743
<optional>true</optional>
3844
</dependency>
3945
<dependency>
4046
<groupId>com.h2database</groupId>
4147
<artifactId>h2</artifactId>
48+
<version>${h2.version}</version>
4249
<scope>runtime</scope>
4350
</dependency>
4451
<dependency>
4552
<groupId>org.springframework.boot</groupId>
4653
<artifactId>spring-boot-starter-test</artifactId>
54+
<version>${spring.version}</version>
4755
<scope>test</scope>
4856
</dependency>
4957
</dependencies>
50-
<dependencyManagement>
51-
<dependencies>
52-
<dependency>
53-
<groupId>com.vaadin</groupId>
54-
<artifactId>vaadin-bom</artifactId>
55-
<version>${vaadin.version}</version>
56-
<type>pom</type>
57-
<scope>import</scope>
58-
</dependency>
59-
</dependencies>
60-
</dependencyManagement>
6158

6259
<build>
6360
<plugins>
6461
<plugin>
6562
<groupId>org.springframework.boot</groupId>
6663
<artifactId>spring-boot-maven-plugin</artifactId>
64+
<version>${spring.version}</version>
6765
</plugin>
6866
</plugins>
6967
</build>
@@ -82,7 +80,6 @@
8280
</exclusion>
8381
</exclusions>
8482
</dependency>
85-
8683
</dependencies>
8784
<build>
8885
<plugins>
@@ -106,4 +103,9 @@
106103
</profile>
107104
</profiles>
108105

106+
<properties>
107+
<vaadin.version>24.4.10</vaadin.version>
108+
<spring.version>3.3.2</spring.version>
109+
</properties>
110+
109111
</project>

0 commit comments

Comments
 (0)