-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
91 lines (79 loc) · 2.93 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<project 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>
<parent>
<groupId>org.fp024.struts2.study</groupId>
<artifactId>struts2-study-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../struts2-study-parent/pom.xml</relativePath>
</parent>
<artifactId>json-struts</artifactId>
<packaging>war</packaging>
<name>${project.artifactId} - Struts 2 Study Maven Webapp</name>
<url>https://github.com/fp024/struts2-study/tree/master/json</url>
<dependencies>
<!--
https://struts.apache.org/plugins/config-browser/
* 로드된 설정의 탐색 가능한 뷰
* 모든 접근 가능한 액션 URL들을 보여줌
-->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-config-browser-plugin</artifactId>
</dependency>
<!--
이 예제 프로젝트의 주제가 되는 Struts2 JSON 플러그인
https://github.com/fp024/struts2-study/tree/master/plugins/json-plugin
-->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-json-plugin</artifactId>
</dependency>
<!--
원본 예제 프로젝트 그대로 flexjson을 사용
http://flexjson.sourceforge.net/
https://mvnrepository.com/artifact/net.sf.flexjson/flexjson/3.3
-->
<dependency>
<groupId>net.sf.flexjson</groupId>
<artifactId>flexjson</artifactId>
<version>${flexjson.version}</version>
</dependency>
<!-- JUnit 5를 사용하기 위해 https://github.com/apache/struts/tree/master/plugins/junit 프로젝트를 수정했다. -->
<dependency>
<groupId>org.fp024.struts2.study</groupId>
<artifactId>struts2-junit5-user-custom-plugin</artifactId>
<version>${struts2-junit5-user-custom-plugin.version}</version>
<scope>test</scope>
</dependency>
<!--
MockHttpServletResponse.setContentType() 실행시
spring-web에 있는 MediaType 클래스를 사용하기 때문에, 테스트를 위해 추가해줄 필요가 있다.
-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<scope>test</scope>
</dependency>
<!--
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
-->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>