1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
4
|
<modelVersion>4.0.0</modelVersion>
|
5
|
<parent>
|
6
|
<groupId>org.springframework.boot</groupId>
|
7
|
<artifactId>spring-boot-starter-parent</artifactId>
|
8
|
<version>2.4.4</version>
|
9
|
<relativePath/> <!-- lookup parent from repository -->
|
10
|
</parent>
|
11
|
|
12
|
<groupId>cz.zcu.fav.kiv</groupId>
|
13
|
<artifactId>anti-pattern-detection-app</artifactId>
|
14
|
<version>1.2.0</version>
|
15
|
<packaging>war</packaging>
|
16
|
<name>anti-pattern-detection-app</name>
|
17
|
<description>Basic web application for anti pattern detection</description>
|
18
|
|
19
|
<properties>
|
20
|
<java.version>11</java.version>
|
21
|
<spring.boot.version>2.6.9</spring.boot.version>
|
22
|
<org.reflections.version>0.10.2</org.reflections.version>
|
23
|
<org.jsoup.version>1.15.2</org.jsoup.version>
|
24
|
<com.fasterxml.jackson.core.version>2.13.3</com.fasterxml.jackson.core.version>
|
25
|
<org.junit.jupiter.version>5.4.0</org.junit.jupiter.version>
|
26
|
<org.apache.maven.plugins.version>3.0.0-M7</org.apache.maven.plugins.version>
|
27
|
<spring-cloud-contract.version>3.0.3</spring-cloud-contract.version>
|
28
|
</properties>
|
29
|
|
30
|
<dependencies>
|
31
|
|
32
|
|
33
|
<dependency>
|
34
|
<groupId>org.springframework.boot</groupId>
|
35
|
<artifactId>spring-boot-starter</artifactId>
|
36
|
</dependency>
|
37
|
|
38
|
<dependency>
|
39
|
<groupId>org.springframework.boot</groupId>
|
40
|
<artifactId>spring-boot-starter-test</artifactId>
|
41
|
<scope>test</scope>
|
42
|
</dependency>
|
43
|
|
44
|
<dependency>
|
45
|
<groupId>org.springframework.boot</groupId>
|
46
|
<artifactId>spring-boot-starter-web</artifactId>
|
47
|
</dependency>
|
48
|
|
49
|
<dependency>
|
50
|
<groupId>org.springframework.security</groupId>
|
51
|
<artifactId>spring-security-web</artifactId>
|
52
|
</dependency>
|
53
|
|
54
|
<dependency>
|
55
|
<groupId>mysql</groupId>
|
56
|
<artifactId>mysql-connector-java</artifactId>
|
57
|
<scope>runtime</scope>
|
58
|
</dependency>
|
59
|
|
60
|
<dependency>
|
61
|
<groupId>org.springframework.boot</groupId>
|
62
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
63
|
</dependency>
|
64
|
|
65
|
<dependency>
|
66
|
<groupId>org.springframework.boot</groupId>
|
67
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
68
|
</dependency>
|
69
|
|
70
|
<dependency>
|
71
|
<groupId>org.reflections</groupId>
|
72
|
<artifactId>reflections</artifactId>
|
73
|
<version>${org.reflections.version}</version>
|
74
|
</dependency>
|
75
|
|
76
|
<!-- jsoup HTML parser library @ https://jsoup.org/ -->
|
77
|
<dependency>
|
78
|
<groupId>org.jsoup</groupId>
|
79
|
<artifactId>jsoup</artifactId>
|
80
|
<version>${org.jsoup.version}</version>
|
81
|
</dependency>
|
82
|
|
83
|
<!-- Jackson libraries for parsing json files -->
|
84
|
<dependency>
|
85
|
<groupId>com.fasterxml.jackson.core</groupId>
|
86
|
<artifactId>jackson-core</artifactId>
|
87
|
<version>${com.fasterxml.jackson.core.version}</version>
|
88
|
</dependency>
|
89
|
|
90
|
<dependency>
|
91
|
<groupId>com.fasterxml.jackson.core</groupId>
|
92
|
<artifactId>jackson-annotations</artifactId>
|
93
|
<version>${com.fasterxml.jackson.core.version}</version>
|
94
|
</dependency>
|
95
|
|
96
|
<dependency>
|
97
|
<groupId>com.fasterxml.jackson.core</groupId>
|
98
|
<artifactId>jackson-databind</artifactId>
|
99
|
<version>${com.fasterxml.jackson.core.version}</version>
|
100
|
</dependency>
|
101
|
|
102
|
<!-- Security library -->
|
103
|
<dependency>
|
104
|
<groupId>org.springframework.boot</groupId>
|
105
|
<artifactId>spring-boot-starter-security</artifactId>
|
106
|
</dependency>
|
107
|
|
108
|
<dependency>
|
109
|
<groupId>org.apache.httpcomponents</groupId>
|
110
|
<artifactId>httpclient</artifactId>
|
111
|
</dependency>
|
112
|
|
113
|
<!-- Junit libraries for unit tests-->
|
114
|
<dependency>
|
115
|
<groupId>org.junit.jupiter</groupId>
|
116
|
<artifactId>junit-jupiter-api</artifactId>
|
117
|
<version>${org.junit.jupiter.version}</version>
|
118
|
<scope>test</scope>
|
119
|
</dependency>
|
120
|
|
121
|
<dependency>
|
122
|
<groupId>org.junit.jupiter</groupId>
|
123
|
<artifactId>junit-jupiter-engine</artifactId>
|
124
|
<version>${org.junit.jupiter.version}</version>
|
125
|
<scope>test</scope>
|
126
|
</dependency>
|
127
|
|
128
|
<!-- json library with minimal overhead -->
|
129
|
<dependency>
|
130
|
<groupId>com.googlecode.json-simple</groupId>
|
131
|
<artifactId>json-simple</artifactId>
|
132
|
<version>1.1.1</version>
|
133
|
</dependency>
|
134
|
|
135
|
<!-- UI TESTING -->
|
136
|
<dependency>
|
137
|
<groupId>org.seleniumhq.selenium</groupId>
|
138
|
<artifactId>selenium-java</artifactId>
|
139
|
<version>3.141.59</version> <!-- HIGHER VERSION 4+ are not compatible with webdrivermanager plugin -->
|
140
|
</dependency>
|
141
|
|
142
|
<dependency>
|
143
|
<groupId>io.github.bonigarcia</groupId>
|
144
|
<artifactId>webdrivermanager</artifactId>
|
145
|
<version>5.2.0</version>
|
146
|
<scope>test</scope>
|
147
|
</dependency>
|
148
|
|
149
|
<dependency>
|
150
|
<groupId>org.springframework.security</groupId>
|
151
|
<artifactId>spring-security-test</artifactId>
|
152
|
<scope>test</scope>
|
153
|
</dependency>
|
154
|
<dependency>
|
155
|
<groupId>junit</groupId>
|
156
|
<artifactId>junit</artifactId>
|
157
|
<scope>test</scope>
|
158
|
</dependency>
|
159
|
<dependency>
|
160
|
<groupId>org.mockito</groupId>
|
161
|
<artifactId>mockito-inline</artifactId>
|
162
|
<version>4.3.1</version>
|
163
|
<scope>test</scope>
|
164
|
</dependency>
|
165
|
|
166
|
<!-- Contract testing -->
|
167
|
<dependency>
|
168
|
<groupId>org.springframework.cloud</groupId>
|
169
|
<artifactId>spring-cloud-starter-contract-verifier</artifactId>
|
170
|
<version>2.1.1.RELEASE</version>
|
171
|
<scope>test</scope>
|
172
|
</dependency>
|
173
|
|
174
|
<dependency>
|
175
|
<groupId>com.microsoft.sqlserver</groupId>
|
176
|
<artifactId>mssql-jdbc</artifactId>
|
177
|
<version>12.2.0.jre11</version>
|
178
|
</dependency>
|
179
|
<dependency>
|
180
|
<groupId>com.google.code.gson</groupId>
|
181
|
<artifactId>gson</artifactId>
|
182
|
<version>2.10.1</version>
|
183
|
</dependency>
|
184
|
|
185
|
</dependencies>
|
186
|
|
187
|
<build>
|
188
|
<plugins>
|
189
|
|
190
|
<plugin>
|
191
|
<groupId>org.springframework.boot</groupId>
|
192
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
193
|
</plugin>
|
194
|
|
195
|
<plugin>
|
196
|
<groupId>org.apache.maven.plugins</groupId>
|
197
|
<artifactId>maven-surefire-plugin</artifactId>
|
198
|
<version>${org.apache.maven.plugins.version}</version>
|
199
|
<configuration>
|
200
|
<skipTests>false</skipTests>
|
201
|
</configuration>
|
202
|
</plugin>
|
203
|
|
204
|
<plugin>
|
205
|
<groupId>org.apache.maven.plugins</groupId>
|
206
|
<artifactId>maven-failsafe-plugin</artifactId>
|
207
|
<version>${org.apache.maven.plugins.version}</version>
|
208
|
</plugin>
|
209
|
|
210
|
<plugin>
|
211
|
<groupId>org.springframework.cloud</groupId>
|
212
|
<artifactId>spring-cloud-contract-maven-plugin</artifactId>
|
213
|
<version>${spring-cloud-contract.version}</version>
|
214
|
<extensions>true</extensions>
|
215
|
<configuration>
|
216
|
<testFramework>JUNIT5</testFramework>
|
217
|
<baseClassForTests>
|
218
|
cz.zcu.fav.kiv.antipatterndetectionapp.v2.controller.BaseTest
|
219
|
</baseClassForTests>
|
220
|
</configuration>
|
221
|
</plugin>
|
222
|
|
223
|
</plugins>
|
224
|
</build>
|
225
|
|
226
|
</project>
|