Merge branch 'master' into JAVA-3533

This commit is contained in:
Loredana Crusoveanu 2021-01-01 22:55:21 +02:00 committed by GitHub
commit 296fe08dde
109 changed files with 958 additions and 875 deletions

View File

@ -664,14 +664,12 @@
<module>spring-mvc-java-2</module> <module>spring-mvc-java-2</module>
<module>spring-mvc-velocity</module> <module>spring-mvc-velocity</module>
<module>spring-mvc-xml</module>
<module>spring-protobuf</module> <module>spring-protobuf</module>
<module>spring-quartz</module> <module>spring-quartz</module>
<module>spring-reactor</module> <module>spring-reactor</module>
<module>spring-remoting</module> <module>spring-remoting</module>
<module>spring-rest-query-language</module>
<module>spring-rest-shell</module> <module>spring-rest-shell</module>
<module>spring-rest-simple</module> <module>spring-rest-simple</module>
<module>spring-resttemplate</module> <module>spring-resttemplate</module>
@ -1129,14 +1127,12 @@
<module>spring-mvc-java-2</module> <module>spring-mvc-java-2</module>
<module>spring-mvc-velocity</module> <module>spring-mvc-velocity</module>
<module>spring-mvc-xml</module>
<module>spring-protobuf</module> <module>spring-protobuf</module>
<module>spring-quartz</module> <module>spring-quartz</module>
<module>spring-reactor</module> <module>spring-reactor</module>
<module>spring-remoting</module> <module>spring-remoting</module>
<module>spring-rest-query-language</module>
<module>spring-rest-shell</module> <module>spring-rest-shell</module>
<module>spring-rest-simple</module> <module>spring-rest-simple</module>
<module>spring-resttemplate</module> <module>spring-resttemplate</module>

View File

@ -24,6 +24,7 @@
<module>spring-boot-angular</module> <module>spring-boot-angular</module>
<module>spring-boot-annotations</module> <module>spring-boot-annotations</module>
<module>spring-boot-artifacts</module> <module>spring-boot-artifacts</module>
<module>spring-boot-artifacts-2</module>
<module>spring-boot-autoconfiguration</module> <module>spring-boot-autoconfiguration</module>
<module>spring-boot-basic-customization</module> <module>spring-boot-basic-customization</module>
<module>spring-boot-basic-customization-2</module> <module>spring-boot-basic-customization-2</module>

View File

@ -0,0 +1,7 @@
## Spring Boot Artifacts 2
This module contains articles about configuring the Spring Boot build process 2.
### Relevant Articles:
TBD

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.baeldung.spring-boot-modules</groupId>
<artifactId>spring-boot-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>spring-boot-artifacts-2</artifactId>
<packaging>jar</packaging>
<name>spring-boot-artifacts-2</name>
<description>Demo project for Spring Boot</description>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<!-- The main class to start by executing java -jar -->
<start-class>com.baeldung.demo.DemoApplication</start-class>
</properties>
</project>

View File

@ -0,0 +1,11 @@
package com.baeldung.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DemoApplication {
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}

View File

@ -0,0 +1,15 @@
package com.baeldung.demo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class DemoRestController {
@GetMapping(value = "/welcome")
public ResponseEntity<String> welcomeEndpoint() {
return ResponseEntity.ok("Welcome to Baeldung Spring Boot Demo!");
}
}

View File

@ -0,0 +1,3 @@
spring:
application:
name: Baeldung_SpringBoot_Demo

View File

@ -1,2 +0,0 @@
required.name = Name is required!
NotEmpty.person.password = Password is required!

View File

@ -22,9 +22,11 @@
<module>spring-mvc-forms-jsp</module> <module>spring-mvc-forms-jsp</module>
<module>spring-mvc-views</module> <module>spring-mvc-views</module>
<module>spring-mvc-webflow</module> <module>spring-mvc-webflow</module>
<module>spring-mvc-xml</module>
<module>spring-rest-angular</module> <module>spring-rest-angular</module>
<module>spring-rest-http</module> <module>spring-rest-http</module>
<module>spring-rest-http-2</module> <module>spring-rest-http-2</module>
<module>spring-rest-query-language</module>
<module>spring-resttemplate-2</module> <module>spring-resttemplate-2</module>
<module>spring-thymeleaf</module> <module>spring-thymeleaf</module>
<module>spring-thymeleaf-2</module> <module>spring-thymeleaf-2</module>

View File

@ -0,0 +1,2 @@
required.name = Name is required!
NotEmpty.person.password = Password is required!

View File

@ -11,7 +11,7 @@
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId> <artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath> <relativePath>../../parent-boot-2</relativePath>
</parent> </parent>
<dependencies> <dependencies>

Some files were not shown because too many files have changed in this diff Show More