File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 2121
2222 <groupId >io.geekidea</groupId >
2323 <artifactId >spring-boot-plus</artifactId >
24- <version >1.0 .0.RELEASE</version >
24+ <version >1.1 .0.RELEASE</version >
2525 <packaging >jar</packaging >
2626
2727 <name >spring-boot-plus</name >
307307
308308 <plugins >
309309
310+ <!-- 由于没有直接继承spring-boot-starter-parent,此处修添加主类和设置repackage -->
310311 <plugin >
311312 <groupId >org.springframework.boot</groupId >
312313 <artifactId >spring-boot-maven-plugin</artifactId >
313- <version >${spring-boot.version} </version >
314+ <configuration >
315+ <mainClass >io.geekidea.springbootplus.SpringBootPlusApplication</mainClass >
316+ </configuration >
317+ <executions >
318+ <execution >
319+ <goals >
320+ <goal >repackage</goal >
321+ </goals >
322+ </execution >
323+ </executions >
314324 </plugin >
315325
316326 <plugin >
317327 <groupId >org.apache.maven.plugins</groupId >
318328 <artifactId >maven-resources-plugin</artifactId >
319- <version >${maven-resources-plugin.version} </version >
320329 </plugin >
321330
322331 <plugin >
323332 <groupId >org.apache.maven.plugins</groupId >
324333 <artifactId >maven-compiler-plugin</artifactId >
325- <version >3.8.0</version >
326334 <configuration >
327335 <source >${java.version} </source >
328336 <target >${java.version} </target >
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ rem date: 2018-12-2
2020rem ======================================================================
2121
2222rem startup jar
23- java -jar ../boot /spring-boot-plus.jar --spring.config.location=../config/ --springbootplus.isEnableAnsi=false
23+ java -jar ../lib /spring-boot-plus.jar --spring.config.location=../config/ --springbootplus.isEnableAnsi=false
2424
2525pause
Original file line number Diff line number Diff line change 1717
1818<assembly >
1919 <!-- 可自定义,这里指定的是项目环境 -->
20- <!-- spring-boot-plus-0.5 -RELEASE-local.tar.gz -->
20+ <!-- spring-boot-plus-1.0.1 -RELEASE-local.tar.gz -->
2121 <id >${project.version}-${profileActive}</id >
2222
2323 <!-- 打包的类型,如果有N个,将会打N个类型的包 -->
You can’t perform that action at this time.
0 commit comments