Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Spring Boot 3.0.0-M4 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
mvnw
target
*.DS_Store
.idea

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
15 changes: 10 additions & 5 deletions Step01.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
15 changes: 10 additions & 5 deletions Step02.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -28,17 +28,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
15 changes: 10 additions & 5 deletions Step03.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -27,17 +27,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1/version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
15 changes: 10 additions & 5 deletions Step04.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
15 changes: 10 additions & 5 deletions Step05.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
15 changes: 10 additions & 5 deletions Step06.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down
18 changes: 11 additions & 7 deletions Step07.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down Expand Up @@ -68,11 +73,10 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


@WebServlet(urlPatterns = "/login.do")
public class LoginServlet extends HttpServlet {

private LoginService service = new LoginService();
private final LoginService userValidationService = new LoginService();

@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
Expand Down
21 changes: 13 additions & 8 deletions Step08.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down Expand Up @@ -74,8 +79,8 @@ import webapp.todo.TodoService;
@WebServlet(urlPatterns = "/login.do")
public class LoginServlet extends HttpServlet {

private LoginService service = new LoginService();
private TodoService todoService = new TodoService();
private final LoginService userValidationService = new LoginService();
private final TodoService todoService = new TodoService();

@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
Expand Down Expand Up @@ -138,7 +143,7 @@ import java.util.ArrayList;
import java.util.List;

public class TodoService {
private static List<Todo> todos = new ArrayList();
private static final List<Todo> todos = new ArrayList();

static {
todos.add(new Todo("Learn Web Application"));
Expand Down
21 changes: 13 additions & 8 deletions Step09.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pom.xml
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0</version>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -23,17 +23,22 @@ pom.xml
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.8.1</version>
<configuration>
<verbose>true</verbose>
<source>1.7</source>
<target>1.7</target>
<source>17</source>
<target>17</target>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<artifactId>tomcat8-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<path>/</path>
Expand Down Expand Up @@ -75,8 +80,8 @@ import in28minutes.todo.TodoService;
public class LoginServlet extends HttpServlet {

private static final long serialVersionUID = 1L;
private LoginService service = new LoginService();
private TodoService todoService = new TodoService();
private final LoginService userValidationService = new LoginService();
private final TodoService todoService = new TodoService();

@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
Expand Down Expand Up @@ -139,7 +144,7 @@ import java.util.ArrayList;
import java.util.List;

public class TodoService {
private static List<Todo> todos = new ArrayList<Todo>();
private static final List<Todo> todos = new ArrayList<Todo>();

static {
todos.add(new Todo("Learn Web Application"));
Expand Down
Loading