Reset by spring-boot 1.5.9

2.0.0
monkeyk7 2017-12-04 23:28:29 +08:00
parent da713a1d51
commit 26fcb4058f
1 changed files with 57 additions and 0 deletions

57
pom.xml
View File

@ -22,9 +22,24 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<test.skip>false</test.skip>
</properties>
<dependencies>
<!-- Provided -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
@ -33,6 +48,14 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@ -83,6 +106,40 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warSourceExcludes>*/classes/application.properties</warSourceExcludes>
<packagingExcludes>*/classes/application.properties</packagingExcludes>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifestEntries>
<Implementation-BuildNumber>${project.version}</Implementation-BuildNumber>
<Implementation-Title>spring-oauth-server(boot)</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-URL>http://monkeyk.com</Implementation-URL>
<Implementation-Vendor>Not Vendor Yet, Inc.</Implementation-Vendor>
</manifestEntries>
<manifest>
<!--<mainClass>${start-class}</mainClass>-->
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>${test.skip}</skip>
<forkMode>none</forkMode>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>