| | |
| | | |
| | | <build> |
| | | <plugins> |
| | | <!-- ==================== ä¾èµjar ä¼åstart ========================== --> |
| | | <!-- libå
ï¼æå®ä¸æ¬¡åå¯ä»¥æ³¨éæä¹å¯ä»¥ä¸ç®¡ï¼å¦æææ°å¼å
¥çjarå
éè¦ælibå
ä¸çjaræ´æ°å°æå¡å¨ä¸ï¼ |
| | | // å缩å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>--> |
| | | <!-- <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> |
| | | <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> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |