Skip to content

Commit 42e4bf2

Browse files
committed
BAEL-10179 Fix start of Boot project with parent-boot-1 parent
-Added start-class placeholder in parent-boot-1 -Minor cleanup of few parent-boot-1 projects
1 parent 586e911 commit 42e4bf2

4 files changed

Lines changed: 60 additions & 61 deletions

File tree

‎parent-boot-1/pom.xml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
<groupId>org.springframework.boot</groupId>
4444
<artifactId>spring-boot-maven-plugin</artifactId>
4545
<version>${spring-boot.version}</version>
46+
<configuration>
47+
<mainClass>${start-class}</mainClass>
48+
<!-- this is necessary as we're not using the Boot parent -->
49+
</configuration>
4650
</plugin>
4751
</plugins>
4852
</pluginManagement>

‎persistence-modules/spring-data-dynamodb/pom.xml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.baeldung</groupId>
54
<artifactId>spring-data-dynamodb</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
75
<packaging>jar</packaging>
86
<name>spring-data-dynamodb</name>
97
<description>This is simple boot application for Spring boot dynamodb test</description>
@@ -85,8 +83,7 @@
8583
<dependency>
8684
<groupId>org.apache.httpcomponents</groupId>
8785
<artifactId>httpclient</artifactId>
88-
<version>${httpclient.version}</version>
89-
</dependency>
86+
</dependency>
9087
<!-- ================================================== -->
9188
<!-- DynamoDBLocal dependencies -->
9289
<!-- ================================================== -->

‎spring-aop/pom.xml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<groupId>com.baeldung</groupId>
54
<artifactId>spring-aop</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
75
<packaging>war</packaging>
86
<name>spring-aop</name>
97

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,64 @@
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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.baeldung.spring.cloud</groupId>
6-
<artifactId>spring-cloud-aws</artifactId>
7-
<packaging>jar</packaging>
8-
<name>Spring Cloud AWS</name>
9-
<description>Spring Cloud AWS Examples</description>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.baeldung.spring.cloud</groupId>
6+
<artifactId>spring-cloud-aws</artifactId>
7+
<packaging>jar</packaging>
8+
<name>Spring Cloud AWS</name>
9+
<description>Spring Cloud AWS Examples</description>
1010

11-
<parent>
12-
<artifactId>parent-boot-1</artifactId>
13-
<groupId>com.baeldung</groupId>
14-
<version>0.0.1-SNAPSHOT</version>
15-
<relativePath>../../parent-boot-1</relativePath>
16-
</parent>
11+
<parent>
12+
<artifactId>parent-boot-1</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../../parent-boot-1</relativePath>
16+
</parent>
1717

18-
<dependencies>
19-
<dependency>
20-
<groupId>org.springframework.boot</groupId>
21-
<artifactId>spring-boot-starter-web</artifactId>
22-
</dependency>
23-
<dependency>
24-
<groupId>org.springframework.cloud</groupId>
25-
<artifactId>spring-cloud-starter-aws</artifactId>
26-
</dependency>
27-
<dependency>
28-
<groupId>org.springframework.cloud</groupId>
29-
<artifactId>spring-cloud-starter-aws-jdbc</artifactId>
30-
</dependency>
31-
<dependency>
32-
<groupId>org.springframework.cloud</groupId>
33-
<artifactId>spring-cloud-starter-aws-messaging</artifactId>
34-
</dependency>
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.springframework.boot</groupId>
21+
<artifactId>spring-boot-starter-web</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.springframework.cloud</groupId>
25+
<artifactId>spring-cloud-starter-aws</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.springframework.cloud</groupId>
29+
<artifactId>spring-cloud-starter-aws-jdbc</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.cloud</groupId>
33+
<artifactId>spring-cloud-starter-aws-messaging</artifactId>
34+
</dependency>
3535

36-
<dependency>
37-
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-test</artifactId>
39-
<scope>test</scope>
40-
</dependency>
36+
<dependency>
37+
<groupId>org.springframework.boot</groupId>
38+
<artifactId>spring-boot-starter-test</artifactId>
39+
<scope>test</scope>
40+
</dependency>
4141

42-
<dependency>
43-
<groupId>org.postgresql</groupId>
44-
<artifactId>postgresql</artifactId>
45-
</dependency>
46-
</dependencies>
42+
<dependency>
43+
<groupId>org.postgresql</groupId>
44+
<artifactId>postgresql</artifactId>
45+
</dependency>
46+
</dependencies>
4747

48-
<dependencyManagement>
49-
<dependencies>
50-
<dependency>
51-
<groupId>org.springframework.cloud</groupId>
52-
<artifactId>spring-cloud-dependencies</artifactId>
53-
<version>${spring-cloud.version}</version>
54-
<type>pom</type>
55-
<scope>import</scope>
56-
</dependency>
57-
</dependencies>
58-
</dependencyManagement>
48+
<dependencyManagement>
49+
<dependencies>
50+
<dependency>
51+
<groupId>org.springframework.cloud</groupId>
52+
<artifactId>spring-cloud-aws</artifactId>
53+
<version>2.0.1.RELEASE</version>
54+
<type>pom</type>
55+
<scope>import</scope>
56+
</dependency>
57+
</dependencies>
58+
</dependencyManagement>
5959

60-
<properties>
61-
<start-class>com.baeldung.spring.cloud.aws.SpringCloudAwsApplication</start-class>
62-
<spring-cloud.version>Dalston.SR4</spring-cloud.version>
63-
</properties>
60+
<properties>
61+
<start-class>com.baeldung.spring.cloud.aws.SpringCloudAwsApplication</start-class>
62+
<spring-cloud.version>Dalston.SR4</spring-cloud.version>
63+
</properties>
6464
</project>

0 commit comments

Comments
 (0)