修改配置,修复linux下jar包找不到主类问题

This commit is contained in:
曾伟 2021-09-09 17:08:32 +08:00
parent 9157e163b0
commit 7accdcebe2
4 changed files with 22 additions and 1 deletions

View File

@ -48,6 +48,13 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>

View File

@ -16,7 +16,7 @@ xxl.job.executor.logpath=./log/xxl-job/jobhandler
### xxl-job executor log-retention-days
xxl.job.executor.logretentiondays=30
kafka.consumer.servers=172.16.15.29:9092
kafka.consumer.servers=gitlink_kafka:9092
kafka.consumer.group.id=0
kafka.consumer.auto.offset.reset=earliest
kafka.consumer.enable.auto.commit=false

View File

@ -37,6 +37,13 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>

View File

@ -39,6 +39,13 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>