| | |
| | | // 压缩后jar包的启动指令 java -Dloader.path="lib/" -jar xxx.jar |
| | | // 未压缩jar包的启动指令 java -jar xxx.jar" |
| | | --> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.maven.plugins</groupId>--> |
| | | <!-- <artifactId>maven-dependency-plugin</artifactId>--> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-dependency-plugin</artifactId> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>copy-dependencies</id>--> |
| | |
| | | <!-- </configuration>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | <!-- </plugin>--> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | <version>2.1.1.RELEASE</version> |
| | | <configuration> |
| | | <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 --> |
| | | <mainClass>com.ruoyi.RuoYiApplication</mainClass> |
| | | <layout>ZIP</layout> |
| | | <includes> |
| | | <include> |
| | | <groupId>nothing</groupId> |
| | | <artifactId>nothing</artifactId> |
| | | </include> |
| | | </includes> |
| | | <!-- <mainClass>com.ruoyi.RuoYiApplication</mainClass>--> |
| | | <!-- <layout>ZIP</layout>--> |
| | | <!-- <includes>--> |
| | | <!-- <include>--> |
| | | <!-- <groupId>nothing</groupId>--> |
| | | <!-- <artifactId>nothing</artifactId>--> |
| | | <!-- </include>--> |
| | | <!-- </includes>--> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |