Skip to content

Commit 2252d72

Browse files
committed
[BAEL-12669] - Check modules that don't use our standard parents
1 parent e2988ce commit 2252d72

19 files changed

Lines changed: 85 additions & 67 deletions

File tree

ddd/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<description>DDD series examples</description>
1010

1111
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.6.RELEASE</version>
15-
<relativePath /> <!-- lookup parent from repository -->
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../parent-boot-2</relativePath>
1616
</parent>
1717

1818
<dependencies>
@@ -86,6 +86,7 @@
8686
<properties>
8787
<joda-money.version>1.0.1</joda-money.version>
8888
<maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
89+
<spring-boot.version>2.0.6.RELEASE</spring-boot.version>
8990
</properties>
9091

9192
</project>

ddd/src/test/java/com/baeldung/ddd/order/OrderTest.java renamed to ddd/src/test/java/com/baeldung/ddd/order/OrderUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.junit.jupiter.api.DisplayName;
1212
import org.junit.jupiter.api.Test;
1313

14-
class OrderTest {
14+
class OrderUnitTest {
1515
@DisplayName("given order with two items, when calculate total cost, then sum is returned")
1616
@Test
1717
void test0() throws Exception {

ddd/src/test/java/com/baeldung/ddd/order/jpa/ViolateOrderBusinessRulesTest.java renamed to ddd/src/test/java/com/baeldung/ddd/order/jpa/ViolateOrderBusinessRulesUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.junit.jupiter.api.DisplayName;
88
import org.junit.jupiter.api.Test;
99

10-
public class ViolateOrderBusinessRulesTest {
10+
public class ViolateOrderBusinessRulesUnitTest {
1111
@DisplayName("given two non-zero order line items, when create an order with them, it's possible to set total cost to zero")
1212
@Test
1313
void test() throws Exception {

guest/remote-debugging/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<packaging>war</packaging>
1010

1111
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>1.5.8.RELEASE</version>
15-
<relativePath /> <!-- lookup parent from repository -->
12+
<artifactId>parent-boot-1</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-1</relativePath>
1616
</parent>
1717

1818
<dependencies>
@@ -39,6 +39,7 @@
3939
<properties>
4040
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4141
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42+
<spring-boot.version>1.5.8.RELEASE</spring-boot.version>
4243
</properties>
4344

4445
</project>

guest/slf4j/guide/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
<packaging>pom</packaging>
1010

1111
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.6.RELEASE</version>
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../../parent-boot-2</relativePath>
1516
</parent>
1617

1718
<modules>
@@ -59,5 +60,6 @@
5960
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6061
<java.version>1.8</java.version>
6162
<powermock.version>2.0.0-beta.5</powermock.version>
63+
<spring-boot.version>2.0.6.RELEASE</spring-boot.version>
6264
</properties>
6365
</project>

guest/spring-boot-app/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
<packaging>war</packaging>
99

1010
<parent>
11-
<groupId>org.springframework.boot</groupId>
12-
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>1.5.3.RELEASE</version>
11+
<artifactId>parent-boot-1</artifactId>
12+
<groupId>com.baeldung</groupId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../../parent-boot-1</relativePath>
1415
</parent>
1516

1617
<dependencies>
@@ -70,6 +71,7 @@
7071
<tomcat.version>8.0.43</tomcat.version>
7172
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7273
<java.version>1.8</java.version>
74+
<spring-boot.version>1.5.3.RELEASE</spring-boot.version>
7375
</properties>
7476

7577
</project>

guest/spring-boot-app/src/test/java/com/stackify/test/EmployeeControllerTest.java renamed to guest/spring-boot-app/src/test/java/com/stackify/test/EmployeeControllerUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@RunWith(SpringRunner.class)
2222
@SpringBootTest(classes = Application.class)
2323
@WebAppConfiguration
24-
public class EmployeeControllerTest {
24+
public class EmployeeControllerUnitTest {
2525

2626
private static final String CONTENT_TYPE = "application/json;charset=UTF-8";
2727

guest/spring-mvc/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<description>Spring MVC sample project</description>
1111

1212
<parent>
13-
<groupId>org.springframework.boot</groupId>
14-
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>2.0.0.RELEASE</version>
16-
<relativePath /> <!-- lookup parent from repository -->
13+
<artifactId>parent-boot-2</artifactId>
14+
<groupId>com.baeldung</groupId>
15+
<version>0.0.1-SNAPSHOT</version>
16+
<relativePath>../../parent-boot-2</relativePath>
1717
</parent>
1818

1919
<dependencies>
@@ -30,6 +30,7 @@
3030
<properties>
3131
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3232
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33+
<spring-boot.version>2.0.0.RELEASE</spring-boot.version>
3334
</properties>
3435

3536
</project>

guest/spring-security/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<description>Spring Security Sample Project</description>
1010

1111
<parent>
12-
<groupId>org.springframework.boot</groupId>
13-
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.0.0.RELEASE</version>
15-
<relativePath />
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-2</relativePath>
1616
</parent>
1717

1818
<dependencies>
@@ -48,6 +48,7 @@
4848
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4949
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
5050
<thymeleaf-spring5.version>3.0.8.RELEASE</thymeleaf-spring5.version>
51+
<spring-boot.version>2.0.0.RELEASE</spring-boot.version>
5152
</properties>
5253

5354
</project>

guest/webservices/spring-rest-service/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
<packaging>war</packaging>
99

1010
<parent>
11-
<groupId>org.springframework.boot</groupId>
12-
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>1.5.4.RELEASE</version>
11+
<artifactId>parent-boot-1</artifactId>
12+
<groupId>com.baeldung</groupId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../../../parent-boot-1</relativePath>
1415
</parent>
1516

1617
<dependencies>
@@ -49,6 +50,7 @@
4950
<java.version>1.8</java.version>
5051
<springfox-swagger2.version>2.7.0</springfox-swagger2.version>
5152
<springfox-swagger-ui.version>2.7.0</springfox-swagger-ui.version>
53+
<spring-boot.version>1.5.4.RELEASE</spring-boot.version>
5254
</properties>
5355

5456
</project>

0 commit comments

Comments
 (0)