|
@@ -487,24 +487,24 @@
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
|
|
|
- <!-- 将第三方依赖包拷贝到lib目录 (没有更新时注释) -->
|
|
|
-<!-- <plugin>-->
|
|
|
-<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
|
-<!-- <artifactId>maven-dependency-plugin</artifactId>-->
|
|
|
-<!-- <executions>-->
|
|
|
-<!-- <execution>-->
|
|
|
-<!-- <id>copy-dependencies</id>-->
|
|
|
-<!-- <phase>package</phase>-->
|
|
|
-<!-- <goals>-->
|
|
|
-<!-- <goal>copy-dependencies</goal>-->
|
|
|
-<!-- </goals>-->
|
|
|
-<!-- <configuration>-->
|
|
|
-<!-- <!– <outputDirectory>${project.build.directory}/lib</outputDirectory> –>-->
|
|
|
-<!-- <outputDirectory>${project.basedir}/libs</outputDirectory>-->
|
|
|
-<!-- </configuration>-->
|
|
|
-<!-- </execution>-->
|
|
|
-<!-- </executions>-->
|
|
|
-<!-- </plugin>-->
|
|
|
+ <!-- 将第三方依赖包拷贝到lib目录 (没有更新时注释)(第一次部署需要取消注释) -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-dependencies</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <!-- <outputDirectory>${project.build.directory}/lib</outputDirectory> -->
|
|
|
+ <outputDirectory>${project.basedir}/libs</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
|
|
|
</plugins>
|
|
|
</build>
|