springboot構成の依存関係

<! -创建springboot工程必须继承springboot-スターター親- > 
<親>
<groupIdを> org.springframework.boot </ groupIdを>
<たartifactId> springboot-スターター親</たartifactId>
<バージョン> 2.0.2.RELEASE </バージョン>
</親>
<依存性>
<! - swagger2配置依赖- >
<依存>
<groupIdを> io.springfox </ groupIdを>
<たartifactId> springfox-swagger2 </たartifactId>
<バージョン> 2.7.0 </バージョン>
</依存>
<依存性>
<のgroupId> io.springfox </のgroupId>
<たartifactId> springfox-闊歩-UI </たartifactId>
<バージョン> 2.7.0 </バージョン>
</依存関係>
<依存>
<groupIdを> org.springframework.boot </ groupIdを>
<たartifactId>春・ブート・スターター・ウェブ</たartifactId>
</依存関係>
<! - springBoot JPA的起步依赖- >
<依存>
<groupIdを>組織。 springframework.boot </ groupIdを>
<たartifactId>春・ブート・スターター・データ-JPA </たartifactId>
</依存関係>

<! - MySQLの驱动- >
<依存>
<groupIdを> mysqlの</ groupIdを>
<たartifactId> MySQLのコネクタ-javaの</たartifactId>
</依存関係>
<依存>
<groupIdを> org.springframework.boot </ groupIdを>
<たartifactId>スターター-ブーツ-春FreeMarkerの</たartifactId>
</依存関係>
<! - MyBatisの依存スタート- >
<依存性>
<のgroupId> org.mybatis.spring.boot </のgroupId>
<たartifactId> MyBatisのスプリングブートスタータ</たartifactId>
<バージョン> 1.1.1 </バージョン>
</依存>

<依存性>
<のgroupId > org.springframework.boot </のgroupId>
<たartifactId>ばねブートスタータ試験</たartifactId>
<スコープ>テスト</スコープ>
</依存>

<依存性>
<のgroupId> org.springframework.boot </のgroupId >
<たartifactId>ばねブートスタータデータRedisの</たartifactId>
</依存>
<依存性>
<のgroupId> ORG。springframework.boot </のgroupId>
<たartifactId>ばねブートスタータデータelasticsearch </たartifactId>
</依存関係>
</依存関係>
<構築>
<資源>
<リソース>
<ディレクトリ>のsrc /メイン/ javaの</ディレクトリ>
<含まれる>
** / * <include>の。プロパティ</ include>の
<include>の** / *。xmlの</ include>の
</含ん>
<フィルタリング>偽</フィルタリング>
</リソース>
<リソース>
<ディレクトリ>のsrc /メイン/リソース</ディレクトリ>
<含まれる>
** / * <含まれます>。 * </ include>の
</含ん>
<フィルタリング>偽</フィルタリング>
</リソース>
</リソース>
<プラグイン>
<プラグイン>
<groupIdを> org.springframework.boot </ groupIdを>
<たartifactId>春・ブートのmaven-pluginの</たartifactId>
</プラグイン>
</プラグイン>
</構築>

おすすめ

転載: www.cnblogs.com/cmxblog/p/11801190.html