次のようにのpom.xmlを追加します:
<! -打包可执行瓶包- >
<プラグイン>
<groupIdを> org.springframework.boot </ groupIdを>
<たartifactId>春・ブートのmaven-pluginの</たartifactId>
<設定>
<includeSystemScope> 真 </ includeSystemScope>
<mainClass> com.sanro.test.CMApplication </ mainClass>
</ configuration>の
<実行>
<実行>
<目標>
<目標>再パッケージ</目標>
</目標>
</実行>
</実行>
</プラグイン>