|
@@ -76,16 +76,16 @@
|
|
|
|
|
|
</dependencies>
|
|
|
<build>
|
|
|
-<!--
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <includeSystemScope>true</includeSystemScope>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>-->
|
|
|
+ <!--
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>-->
|
|
|
|
|
|
|
|
|
<resources>
|
|
@@ -104,7 +104,6 @@
|
|
|
</resource>
|
|
|
|
|
|
|
|
|
-
|
|
|
<!-- 解决MyBatis配置文件引入问题 -->
|
|
|
<resource>
|
|
|
<directory>src/main/java</directory>
|
|
@@ -119,5 +118,28 @@
|
|
|
<directory>src/main/resources</directory>
|
|
|
</resource>
|
|
|
</resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <version>2.3</version>
|
|
|
+ <configuration>
|
|
|
+ <warName>${project.artifactId}</warName>
|
|
|
+ <webResources>
|
|
|
+ <resource>
|
|
|
+ <directory>lib/</directory>
|
|
|
+ <targetPath>WEB-INF/lib</targetPath>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.jar</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </webResources>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ </plugins>
|
|
|
+
|
|
|
+
|
|
|
</build>
|
|
|
</project>
|