Dubboxフレームと依存飼育係の紹介

<?xml version = "1.0" エンコード= "UTF-8"?>

<プロジェクトのxmlns = "http://maven.apache.org/POM/4.0.0"のxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance"
のxsi:schemaLocationの= "のhttp:/ /maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd ">
<modelVersion> 4.0.0 </ modelVersion>

<groupIdを> cn.itcast </ groupIdを>
<たartifactId> dubbo_service </たartifactId>
<バージョン> 1.0-SNAPSHOT </バージョン>
<パッケージ>戦争</梱包>

MavenののWebapp </ name>はdubbo_service <名前>
<! - FIXMEプロジェクトのウェブサイトにそれを変更する- >
<URL> http://www.example.com </ URL>

<プロパティ>
<project.build.sourceEncoding> UTF-8 </project.build.sourceEncoding>
<maven.compiler.source> 1.7 </maven.compiler.source>
<maven.compiler.target> 1.7 </maven.compiler .TARGET>
<spring.version> 4.2.4.RELEASE </spring.version>
</プロパティ>

<依存性>
<依存>
<groupIdを> JUnitの</ groupIdを>
<たartifactId> JUnitの</たartifactId>
<バージョン> 4.11 </ version>の
<スコープ>テスト</スコープ>
</依存関係>
<! -春- >
<依存性>
<のgroupId> org.springframework </のgroupId>
<たartifactId>ばねコンテキスト</たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<のgroupId> org.springframework < /のgroupId>
<たartifactId>ばね豆</たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<groupId> org.springframework </のgroupId>
<たartifactId>ばねwebmvc </たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<のgroupId> org.springframework </のgroupId>
<たartifactId>ばねJDBC </たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<のgroupId> org.springframework </のgroupId>
<たartifactId>ばね態様</たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<のgroupId> org.springframework </のgroupId>
<たartifactId>ばねJMS </たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>
<依存性>
<のgroupId> org.springframework </のgroupId>
<たartifactId>ばねコンテキストサポート</たartifactId>
<バージョン> $ {spring.version} </バージョン>
</依存>

<依存性>
<のgroupId> com.alibaba </のgroupId>
<たartifactId>ダボ</たartifactId>
<バージョン> 2.8.4 </バージョン>
</依存>
<依存性>
<のgroupId> org.apache.zookeeper </のgroupId>
<たartifactId>飼育係</たartifactId>
<バージョン> 3.4.6 </バージョン>
</依存>
<依存性>
<のgroupId> com.github.sgroschupf </のgroupId>
<たartifactId> zkclient </たartifactId>
<バージョン> 0.1 < /バージョン>
</依存関係>
<依存>
<groupIdを> Javassistの</ groupIdを>
<たartifactId> Javassistの</たartifactId>
<バージョン> 3.11.0.GA </バージョン>
</依存関係>

</依存関係>

<ビルド>
<finalName> dubbo_service </ finalName>
<pluginManagement> <! - (親POMに移動することができる)Mavenのデフォルトを使用しないようにプラグインのバージョンをロックダウン- >
<プラグイン>
<プラグイン>
<たartifactId>のmaven-クリーン-plugin </たartifactId>
<バージョン> 3.0.0 </バージョン>
</プラグイン>
<! -参照http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging - >
<プラグイン>
<たartifactId>のmaven-リソース・プラグイン</たartifactId>
<バージョン> 3.0.2 </バージョン>
</プラグイン>
<プラグイン>
<たartifactId>のmaven-コンパイラプラグイン</たartifactId>
<バージョン> 3.7.0 </バージョン>
</プラグイン>
<プラグイン>
<たartifactId>のmaven-確実な-プラグイン</たartifactId>
<バージョン> 2.20.1 </バージョン>
</プラグイン>
<プラグイン>
<たartifactId> Mavenの戦争-プラグイン</たartifactId>
<バージョン> 3.2.0 </バージョン>
</プラグイン>
<プラグイン>
<たartifactId>達人-install-プラグイン</たartifactId>
<バージョン> 2.5.2 </バージョン>
</プラグイン>
<プラグイン>
<たartifactId> Mavenのデプロイ・プラグイン</たartifactId>
<バージョン> 2.8.2 </バージョン>
</プラグイン>
</プラグイン>
</ pluginManagement>
</構築>
</プロジェクト>

おすすめ

転載: www.cnblogs.com/lijun6/p/11279987.html