|
|
@@ -79,7 +79,7 @@
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
<version>0.6.0</version>
|
|
|
</dependency>
|
|
|
-
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
@@ -131,10 +131,54 @@
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <includes>
|
|
|
+ <include>**/*</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.5.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <compilerArgs>
|
|
|
+ <arg>-Xlint:unchecked</arg>
|
|
|
+ <arg>-Xlint:deprecation</arg>
|
|
|
+ <arg>-bootclasspath</arg>
|
|
|
+ <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
|
|
|
+ <arg>-extdirs</arg>
|
|
|
+ <!-- windows下用分号隔开 -->
|
|
|
+ <arg>${env.JAVA_HOME}/jre/lib:${project.basedir}/lib</arg>
|
|
|
+ </compilerArgs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <compilerArgs>
|
|
|
+ <arg>-Xlint:deprecation</arg>
|
|
|
+ <arg>${env.JAVA_HOME}/jre/lib/rt.jar</arg>
|
|
|
+ </compilerArgs>
|
|
|
+ <compilerArguments>
|
|
|
+ <bootclasspath>${env.JAVA_HOME}/jre/lib/rt.jar:${env.JAVA_HOME}/jre/lib/jce.jar</bootclasspath>
|
|
|
+ </compilerArguments>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|