Skip to content

Commit a3db30c

Browse files
authored
Merge pull request eugenp#6106 from dkapil/task/BAEL-10925
BAEL-10925 New module spring-boot-rest
2 parents feccd5d + 6cd561d commit a3db30c

File tree

6 files changed

+82
-0
lines changed

6 files changed

+82
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@
644644
<module>spring-boot-logging-log4j2</module>
645645
<module>spring-boot-mvc</module>
646646
<module>spring-boot-ops</module>
647+
<module>spring-boot-rest</module>
647648
<module>spring-boot-property-exp</module>
648649
<module>spring-boot-security</module>
649650
<module>spring-boot-testing</module>
@@ -1355,6 +1356,7 @@
13551356
<module>spring-boot-logging-log4j2</module>
13561357
<module>spring-boot-mvc</module>
13571358
<module>spring-boot-ops</module>
1359+
<module>spring-boot-rest</module>
13581360
<module>spring-boot-property-exp</module>
13591361
<module>spring-boot-security</module>
13601362
<module>spring-boot-vue</module>

spring-boot-rest/pom.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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.web</groupId>
6+
<artifactId>spring-boot-rest</artifactId>
7+
<name>spring-boot-rest</name>
8+
<description>Spring Boot Rest Module</description>
9+
<packaging>war</packaging>
10+
11+
<parent>
12+
<artifactId>parent-boot-2</artifactId>
13+
<groupId>com.baeldung</groupId>
14+
<version>0.0.1-SNAPSHOT</version>
15+
<relativePath>../parent-boot-2</relativePath>
16+
</parent>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.springframework.boot</groupId>
21+
<artifactId>spring-boot-starter-web</artifactId>
22+
</dependency>
23+
24+
<dependency>
25+
<groupId>org.springframework.boot</groupId>
26+
<artifactId>spring-boot-starter-test</artifactId>
27+
<scope>test</scope>
28+
</dependency>
29+
</dependencies>
30+
31+
<build>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.springframework.boot</groupId>
35+
<artifactId>spring-boot-maven-plugin</artifactId>
36+
</plugin>
37+
</plugins>
38+
</build>
39+
40+
<properties>
41+
<start-class>com.baeldung.SpringBootRestApplication</start-class>
42+
</properties>
43+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.baeldung;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
@SpringBootApplication
7+
public class SpringBootRestApplication {
8+
9+
public static void main(String[] args) {
10+
SpringApplication.run(SpringBootRestApplication.class, args);
11+
}
12+
13+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.baeldung.web.config;
2+
3+
import org.springframework.context.annotation.Configuration;
4+
5+
@Configuration
6+
public class WebConfig {
7+
8+
}

spring-boot-rest/src/main/resources/application.properties

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.baeldung.spring.boot.rest;
2+
3+
import org.junit.Test;
4+
import org.junit.runner.RunWith;
5+
import org.springframework.boot.test.context.SpringBootTest;
6+
import org.springframework.test.context.junit4.SpringRunner;
7+
8+
@RunWith(SpringRunner.class)
9+
@SpringBootTest
10+
public class SpringBootRestApplicationUnitTest {
11+
12+
@Test
13+
public void contextLoads() {
14+
}
15+
16+
}

0 commit comments

Comments
 (0)