upgrade opened to spring boot 2 (#3441)

* upgrade opened to spring boot 2
This commit is contained in:
Doha2012 2018-01-17 22:59:15 +02:00 committed by Eugen
parent c3e8ba4a70
commit aa0785ca16
2 changed files with 31 additions and 8 deletions

View File

@ -12,10 +12,10 @@
<description>Spring OpenID sample project</description> <description>Spring OpenID sample project</description>
<parent> <parent>
<artifactId>parent-boot-5</artifactId> <groupId>org.springframework.boot</groupId>
<groupId>com.baeldung</groupId> <artifactId>spring-boot-starter-parent</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0.M7</version>
<relativePath>../parent-boot-5</relativePath> <relativePath />
</parent> </parent>
<dependencies> <dependencies>
@ -37,13 +37,36 @@
<dependency> <dependency>
<groupId>org.springframework.security.oauth</groupId> <groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId> <artifactId>spring-security-oauth2</artifactId>
<version>2.2.1.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.security</groupId> <groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId> <artifactId>spring-security-jwt</artifactId>
<version>1.0.9.RELEASE</version>
</dependency> </dependency>
</dependencies> </dependencies>
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project> </project>

View File

@ -2,7 +2,7 @@ package org.baeldung.config;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootApplication @SpringBootApplication
public class SpringOpenidApplication extends SpringBootServletInitializer { public class SpringOpenidApplication extends SpringBootServletInitializer {