1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
5
|
<modelVersion>4.0.0</modelVersion>
|
6
|
|
7
|
<groupId>cz.zcu.kiv</groupId>
|
8
|
<artifactId>imiger</artifactId>
|
9
|
<version>1.0-SNAPSHOT</version>
|
10
|
<packaging>war</packaging>
|
11
|
|
12
|
<build>
|
13
|
<finalName>${project.artifactId}</finalName>
|
14
|
<plugins>
|
15
|
<plugin>
|
16
|
<groupId>org.apache.maven.plugins</groupId>
|
17
|
<artifactId>maven-compiler-plugin</artifactId>
|
18
|
<version>3.8.0</version>
|
19
|
<configuration>
|
20
|
<source>8</source>
|
21
|
<target>8</target>
|
22
|
</configuration>
|
23
|
</plugin>
|
24
|
<plugin>
|
25
|
<groupId>org.apache.tomcat.maven</groupId>
|
26
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
27
|
<version>2.2</version>
|
28
|
</plugin>
|
29
|
<plugin>
|
30
|
<groupId>org.apache.maven.plugins</groupId>
|
31
|
<artifactId>maven-war-plugin</artifactId>
|
32
|
<version>3.2.2</version>
|
33
|
<configuration>
|
34
|
<webXml>src\main\webapp\WEB-INF\web.xml</webXml>
|
35
|
</configuration>
|
36
|
</plugin>
|
37
|
|
38
|
<!-- Static code analyses-->
|
39
|
<plugin>
|
40
|
<groupId>com.github.spotbugs</groupId>
|
41
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
42
|
<version>3.1.8</version>
|
43
|
<dependencies>
|
44
|
<dependency>
|
45
|
<groupId>com.github.spotbugs</groupId>
|
46
|
<artifactId>spotbugs</artifactId>
|
47
|
<version>3.1.9</version>
|
48
|
</dependency>
|
49
|
</dependencies>
|
50
|
</plugin>
|
51
|
</plugins>
|
52
|
</build>
|
53
|
|
54
|
<dependencies>
|
55
|
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
|
56
|
<dependency>
|
57
|
<groupId>org.apache.maven.plugins</groupId>
|
58
|
<artifactId>maven-compiler-plugin</artifactId>
|
59
|
<version>3.8.0</version>
|
60
|
</dependency>
|
61
|
|
62
|
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
|
63
|
<dependency>
|
64
|
<groupId>log4j</groupId>
|
65
|
<artifactId>log4j</artifactId>
|
66
|
<version>1.2.17</version>
|
67
|
</dependency>
|
68
|
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
|
69
|
<dependency>
|
70
|
<groupId>commons-fileupload</groupId>
|
71
|
<artifactId>commons-fileupload</artifactId>
|
72
|
<version>1.3.3</version>
|
73
|
</dependency>
|
74
|
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
|
75
|
<dependency>
|
76
|
<groupId>commons-io</groupId>
|
77
|
<artifactId>commons-io</artifactId>
|
78
|
<version>2.6</version>
|
79
|
</dependency>
|
80
|
|
81
|
|
82
|
|
83
|
<!-- Servlets and JSP-->
|
84
|
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
|
85
|
<dependency>
|
86
|
<groupId>javax.servlet</groupId>
|
87
|
<artifactId>javax.servlet-api</artifactId>
|
88
|
<version>3.1.0</version>
|
89
|
<scope>provided</scope>
|
90
|
</dependency>
|
91
|
<!-- https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api -->
|
92
|
<dependency>
|
93
|
<groupId>javax.servlet.jsp</groupId>
|
94
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
95
|
<version>2.3.1</version>
|
96
|
<scope>provided</scope>
|
97
|
</dependency>
|
98
|
<!-- https://mvnrepository.com/artifact/jstl/jstl -->
|
99
|
<dependency>
|
100
|
<groupId>jstl</groupId>
|
101
|
<artifactId>jstl</artifactId>
|
102
|
<version>1.2</version>
|
103
|
</dependency>
|
104
|
|
105
|
|
106
|
|
107
|
<!-- testing -->
|
108
|
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
|
109
|
<dependency>
|
110
|
<groupId>org.seleniumhq.selenium</groupId>
|
111
|
<artifactId>selenium-java</artifactId>
|
112
|
<version>3.12.0</version>
|
113
|
</dependency>
|
114
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
|
115
|
<dependency>
|
116
|
<groupId>org.junit.jupiter</groupId>
|
117
|
<artifactId>junit-jupiter-api</artifactId>
|
118
|
<version>5.3.2</version>
|
119
|
<scope>test</scope>
|
120
|
</dependency>
|
121
|
|
122
|
|
123
|
|
124
|
<!-- Libs fro JSON parsing and creating -->
|
125
|
<!-- TODO use only one lib (gson)-->
|
126
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
127
|
<dependency>
|
128
|
<groupId>com.google.code.gson</groupId>
|
129
|
<artifactId>gson</artifactId>
|
130
|
<version>2.8.5</version>
|
131
|
</dependency>
|
132
|
<!-- https://mvnrepository.com/artifact/net.sf.json-lib/json-lib -->
|
133
|
<dependency>
|
134
|
<groupId>net.sf.json-lib</groupId>
|
135
|
<artifactId>json-lib</artifactId>
|
136
|
<version>2.4</version>
|
137
|
<classifier>jdk15</classifier>
|
138
|
</dependency>
|
139
|
<!-- https://mvnrepository.com/artifact/org.json/json -->
|
140
|
<dependency>
|
141
|
<groupId>org.json</groupId>
|
142
|
<artifactId>json</artifactId>
|
143
|
<version>20180813</version>
|
144
|
</dependency>
|
145
|
|
146
|
|
147
|
|
148
|
<!-- Database -->
|
149
|
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
|
150
|
<dependency>
|
151
|
<groupId>mysql</groupId>
|
152
|
<artifactId>mysql-connector-java</artifactId>
|
153
|
<version>5.1.6</version>
|
154
|
</dependency>
|
155
|
</dependencies>
|
156
|
|
157
|
<properties>
|
158
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
159
|
</properties>
|
160
|
</project>
|