-
pom.xml
拡張設定の内容を記載します。
前回の設定と同様に「dependencies」タグの中に下記内容を記載していきます。-
バリデーションチェックライブラリー
1
<!-- Validator -->
2
<
dependency
>
3
<
groupId
>javax.validation</
groupId
>
4
<
artifactId
>validation-api</
artifactId
>
5
<
version
>1.0.0.GA</
version
>
6
</
dependency
>
7
<
dependency
>
8
<
groupId
>org.hibernate</
groupId
>
9
<
artifactId
>hibernate-validator</
artifactId
>
10
<
version
>4.3.1.Final</
version
>
11
</
dependency
>
-
JavaオブジェクトをJSON形式に変換しGoogleAPIに渡すライブラリー
1
<!-- Jacson -->
2
<
dependency
>
3
<
groupId
>org.codehaus.jackson</
groupId
>
4
<
artifactId
>jackson-core-asl</
artifactId
>
5
<
version
>1.6.4</
version
>
6
</
dependency
>
7
<
dependency
>
8
<
groupId
>org.codehaus.jackson</
groupId
>
9
<
artifactId
>jackson-mapper-asl</
artifactId
>
10
<
version
>1.6.4</
version
>
11
</
dependency
>
12
<!-- GoogleAPI -->
13
<
dependency
>
14
<
groupId
>com.googlecode.json-simple</
groupId
>
15
<
artifactId
>json-simple</
artifactId
>
16
<
version
>1.1</
version
>
17
</
dependency
>
-
JUnitライブラリー
1
<!-- JUnit -->
2
<
dependency
>
3
<
groupId
>junit</
groupId
>
4
<
artifactId
>junit</
artifactId
>
5
<
version
>4.7</
version
>
6
<
scope
>test</
scope
>
7
</
dependency
>
-
バリデーションチェックライブラリー