Skip to content

Commit 8c50457

Browse files
authored
Merge pull request eugenp#5542 from dkapil/task/BAEL-9709
Task/bael 9709
2 parents 362bd20 + bbc4cdd commit 8c50457

6 files changed

Lines changed: 36 additions & 23 deletions

File tree

‎parent-boot-2/pom.xml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<groupId>org.springframework.boot</groupId>
4343
<artifactId>spring-boot-maven-plugin</artifactId>
4444
<version>${spring-boot.version}</version>
45+
<configuration>
46+
<mainClass>${start-class}</mainClass>
47+
</configuration>
4548
</plugin>
4649
</plugins>
4750
</pluginManagement>

‎spring-all/pom.xml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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-all</artifactId>
65
<version>0.1-SNAPSHOT</version>
76
<name>spring-all</name>

‎spring-boot-h2/spring-boot-h2-database/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2424
<java.version>1.8</java.version>
2525
<!-- The main class to start by executing java -jar -->
26-
<start-class>com.mycorp.starter.HelloWorldApplication</start-class>
26+
<start-class>com.baeldung.h2db.demo.server.SpringBootApp</start-class>
2727
</properties>
2828

2929
<dependencies>

‎spring-boot-mvc/pom.xml‎

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<description>Module For Spring Boot MVC</description>
99

1010
<parent>
11-
<artifactId>parent-boot-2</artifactId>
12-
<groupId>com.baeldung</groupId>
13-
<version>0.0.1-SNAPSHOT</version>
14-
<relativePath>../parent-boot-2</relativePath>
15-
</parent>
11+
<artifactId>parent-boot-2</artifactId>
12+
<groupId>com.baeldung</groupId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../parent-boot-2</relativePath>
15+
</parent>
1616

1717
<dependencies>
1818
<dependency>
@@ -23,7 +23,7 @@
2323
<groupId>org.apache.tomcat.embed</groupId>
2424
<artifactId>tomcat-embed-jasper</artifactId>
2525
</dependency>
26-
<!--JSF-->
26+
<!--JSF -->
2727
<dependency>
2828
<groupId>org.glassfish</groupId>
2929
<artifactId>javax.faces</artifactId>
@@ -35,18 +35,27 @@
3535
<artifactId>spring-boot-starter-test</artifactId>
3636
<scope>test</scope>
3737
</dependency>
38-
38+
3939
<dependency>
4040
<groupId>org.springframework.boot</groupId>
4141
<artifactId>spring-boot-starter-validation</artifactId>
4242
</dependency>
43-
44-
<!-- ROME for RSS -->
43+
44+
<!-- ROME for RSS -->
4545
<dependency>
4646
<groupId>com.rometools</groupId>
4747
<artifactId>rome</artifactId>
4848
<version>${rome.version}</version>
4949
</dependency>
50+
51+
<dependency>
52+
<groupId>org.hibernate.validator</groupId>
53+
<artifactId>hibernate-validator</artifactId>
54+
</dependency>
55+
<dependency>
56+
<groupId>javax.validation</groupId>
57+
<artifactId>validation-api</artifactId>
58+
</dependency>
5059
</dependencies>
5160

5261
<build>
@@ -55,17 +64,17 @@
5564
<groupId>org.springframework.boot</groupId>
5665
<artifactId>spring-boot-maven-plugin</artifactId>
5766
<configuration>
58-
<mainClass>com.baeldung.springbootmvc.SpringBootMvcApplication</mainClass>
59-
<layout>JAR</layout>
60-
</configuration>
67+
<mainClass>com.baeldung.springbootmvc.SpringBootMvcApplication</mainClass>
68+
<layout>JAR</layout>
69+
</configuration>
6170
</plugin>
6271
</plugins>
6372
</build>
6473

65-
<properties>
66-
<!-- ROME for RSS -->
67-
<rome.version>1.10.0</rome.version>
68-
<start-class>com.baeldung.springbootmvc.SpringBootMvcApplication</start-class>
69-
</properties>
74+
<properties>
75+
<!-- ROME for RSS -->
76+
<rome.version>1.10.0</rome.version>
77+
<start-class>com.baeldung.springbootmvc.SpringBootMvcApplication</start-class>
78+
</properties>
7079

7180
</project>

‎spring-boot/pom.xml‎

Lines changed: 5 additions & 3 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-boot</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
75
<packaging>war</packaging>
86
<name>spring-boot</name>
97
<description>This is simple boot application for Spring boot actuator test</description>
@@ -159,6 +157,11 @@
159157
<version>1.1.16</version>
160158
<scope>compile</scope>
161159
</dependency>
160+
161+
<dependency>
162+
<groupId>javax.validation</groupId>
163+
<artifactId>validation-api</artifactId>
164+
</dependency>
162165
</dependencies>
163166

164167
<build>
@@ -234,7 +237,6 @@
234237
<graphql-spring-boot-starter.version>3.6.0</graphql-spring-boot-starter.version>
235238
<graphql-java-tools.version>3.2.0</graphql-java-tools.version>
236239
<guava.version>18.0</guava.version>
237-
<junit-platform.version>1.2.0</junit-platform.version>
238240
<git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version>
239241
</properties>
240242

‎spring-security-mvc-boot/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220

221221

222222
<properties>
223-
<start-class>org.baeldung.Application</start-class>
223+
<start-class>org.baeldung.custom.Application</start-class>
224224
<!--If you want to run the example with the voters comment the tag
225225
above and uncomment the one below -->
226226
<!--<start-class>org.baeldung.voter.VoterApplication</start-class> -->

0 commit comments

Comments
 (0)