|
@@ -19,7 +19,7 @@
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>1.4.0.RELEASE</version>
|
|
|
+ <version>1.4.3.RELEASE</version>
|
|
|
</parent>
|
|
|
|
|
|
|
|
@@ -40,6 +40,7 @@
|
|
|
<!-- maven plugins -->
|
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
|
|
<maven-compiler-plugin.version>3.3</maven-compiler-plugin.version>
|
|
|
+ <spring.boot.version>1.4.3.RELEASE</spring.boot.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencyManagement>
|
|
@@ -79,42 +80,22 @@
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>${spring.boot.version}</version>
|
|
|
+ <configuration><!-- 指定该Main Class为全局的唯一入口 -->
|
|
|
+ <mainClass>cn.com.qmth.examcloud.service.examwork.Application</mainClass>
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
-
|
|
|
</plugins>
|
|
|
-
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>${maven-surefire-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <testFailureIgnore>true</testFailureIgnore>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>${maven-compiler-plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <source>1.8</source>
|
|
|
- <target>1.8</target>
|
|
|
- <compilerArgument>-proc:none</compilerArgument>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
</build>
|
|
|
|
|
|
</project>
|