Skip to content

Commit 98d4f93

Browse files
committed
#BAEL-10229 Restore the spring-ejb pom as it's using a version of Spring Boot that is too different from the one in parent-boot-2.
1 parent e6a3c4c commit 98d4f93

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

spring-ejb/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
<parent>
1313
<groupId>com.baeldung</groupId>
14-
<artifactId>parent-boot-2</artifactId>
15-
<version>0.0.1-SNAPSHOT</version>
16-
<relativePath>../parent-boot-2</relativePath>
14+
<artifactId>parent-modules</artifactId>
15+
<version>1.0.0-SNAPSHOT</version>
16+
<relativePath>../</relativePath>
1717
</parent>
1818

1919
<repositories>

spring-ejb/spring-ejb-client/pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,19 @@
1212
<artifactId>spring-ejb</artifactId>
1313
<version>1.0.0-SNAPSHOT</version>
1414
</parent>
15-
15+
16+
<dependencyManagement>
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.springframework.boot</groupId>
20+
<artifactId>spring-boot-dependencies</artifactId>
21+
<version>${spring-boot.version}</version>
22+
<type>pom</type>
23+
<scope>import</scope>
24+
</dependency>
25+
</dependencies>
26+
</dependencyManagement>
27+
1628
<dependencies>
1729
<dependency>
1830
<groupId>org.springframework.boot</groupId>
@@ -49,9 +61,13 @@
4961
<plugin>
5062
<groupId>org.springframework.boot</groupId>
5163
<artifactId>spring-boot-maven-plugin</artifactId>
52-
<version>2.0.4.RELEASE</version>
64+
<version>${spring-boot.version}</version>
5365
</plugin>
5466
</plugins>
5567
</build>
5668

69+
<properties>
70+
<spring-boot.version>2.0.4.RELEASE</spring-boot.version>
71+
</properties>
72+
5773
</project>

0 commit comments

Comments
 (0)