| | |
| | | <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> |
| | | <!-- 依赖包输出目录,将来不打进jar包里 --> |
| | | <outputDirectory>${project.build.directory}/jarLib</outputDirectory> |
| | | <excludeTransitive>false</excludeTransitive> |
| | | <stripVersion>false</stripVersion> |
| | | <includeScope>runtime</includeScope> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | <!-- <executions>--> |
| | | <!-- <execution>--> |
| | | <!-- <id>copy-dependencies</id>--> |
| | | <!-- <phase>package</phase>--> |
| | | <!-- <goals>--> |
| | | <!-- <goal>copy-dependencies</goal>--> |
| | | <!-- </goals>--> |
| | | <!-- <configuration>--> |
| | | <!-- <!– 依赖包输出目录,将来不打进jar包里 –>--> |
| | | <!-- <outputDirectory>${project.build.directory}/jarLib</outputDirectory>--> |
| | | <!-- <excludeTransitive>false</excludeTransitive>--> |
| | | <!-- <stripVersion>false</stripVersion>--> |
| | | <!-- <includeScope>runtime</includeScope>--> |
| | | <!-- </configuration>--> |
| | | <!-- </execution>--> |
| | | <!-- </executions>--> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | |
| | | <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> |