Projekt

Obecné

Profil

Stáhnout (6.68 KB) Statistiky
| Větev: | Tag: | Revize:
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.9.1</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
	<dependencyManagement>
31
		<dependencies>
32
			<dependency>
33
				<groupId>org.junit</groupId>
34
				<artifactId>junit-bom</artifactId>
35
				<version>5.9.3</version>
36
				<type>pom</type>
37
				<scope>import</scope>
38
			</dependency>
39
		</dependencies>
40
	</dependencyManagement>
41

    
42
	<dependencies>
43

    
44
		<dependency>
45
			<groupId>org.springframework.boot</groupId>
46
			<artifactId>spring-boot-starter</artifactId>
47
		</dependency>
48

    
49
		<dependency>
50
			<groupId>org.springframework.boot</groupId>
51
			<artifactId>spring-boot-starter-test</artifactId>
52
			<scope>test</scope>
53
		</dependency>
54

    
55
		<dependency>
56
			<groupId>org.springframework.boot</groupId>
57
			<artifactId>spring-boot-starter-web</artifactId>
58
		</dependency>
59

    
60
		<dependency>
61
			<groupId>org.springframework.security</groupId>
62
			<artifactId>spring-security-web</artifactId>
63
		</dependency>
64

    
65
		<dependency>
66
			<groupId>mysql</groupId>
67
			<artifactId>mysql-connector-java</artifactId>
68
			<scope>runtime</scope>
69
		</dependency>
70

    
71
		<dependency>
72
			<groupId>org.springframework.boot</groupId>
73
			<artifactId>spring-boot-starter-data-jpa</artifactId>
74
		</dependency>
75

    
76
		<dependency>
77
			<groupId>org.springframework.boot</groupId>
78
			<artifactId>spring-boot-starter-thymeleaf</artifactId>
79
		</dependency>
80

    
81
		<dependency>
82
			<groupId>org.reflections</groupId>
83
			<artifactId>reflections</artifactId>
84
			<version>${org.reflections.version}</version>
85
		</dependency>
86

    
87
		<!-- jsoup HTML parser library @ https://jsoup.org/ -->
88
		<dependency>
89
			<groupId>org.jsoup</groupId>
90
			<artifactId>jsoup</artifactId>
91
			<version>${org.jsoup.version}</version>
92
		</dependency>
93

    
94
		<!-- Jackson libraries for parsing json files -->
95
		<dependency>
96
			<groupId>com.fasterxml.jackson.core</groupId>
97
			<artifactId>jackson-core</artifactId>
98
			<version>${com.fasterxml.jackson.core.version}</version>
99
		</dependency>
100

    
101
		<dependency>
102
			<groupId>com.fasterxml.jackson.core</groupId>
103
			<artifactId>jackson-annotations</artifactId>
104
			<version>${com.fasterxml.jackson.core.version}</version>
105
		</dependency>
106

    
107
		<dependency>
108
			<groupId>com.fasterxml.jackson.core</groupId>
109
			<artifactId>jackson-databind</artifactId>
110
			<version>${com.fasterxml.jackson.core.version}</version>
111
		</dependency>
112

    
113
		<!-- Security library -->
114
		<dependency>
115
			<groupId>org.springframework.boot</groupId>
116
			<artifactId>spring-boot-starter-security</artifactId>
117
		</dependency>
118

    
119
		<dependency>
120
			<groupId>org.apache.httpcomponents</groupId>
121
			<artifactId>httpclient</artifactId>
122
		</dependency>
123

    
124
		<!-- Junit libraries for unit tests-->
125
		<dependency>
126
			<groupId>org.junit.platform</groupId>
127
			<artifactId>junit-platform-launcher</artifactId>
128
			<scope>test</scope>
129
		</dependency>
130

    
131
		<dependency>
132
			<groupId>org.junit.jupiter</groupId>
133
			<artifactId>junit-jupiter-engine</artifactId>
134
			<scope>test</scope>
135
		</dependency>
136

    
137
		<dependency>
138
			<groupId>org.junit.vintage</groupId>
139
			<artifactId>junit-vintage-engine</artifactId>
140
			<scope>test</scope>
141
		</dependency>
142

    
143
		<dependency>
144
			<groupId>org.mockito</groupId>
145
			<artifactId>mockito-inline</artifactId>
146
			<version>3.4.6</version>
147
			<scope>test</scope>
148
		</dependency>
149

    
150
		<!-- json library with minimal overhead -->
151
		<dependency>
152
			<groupId>com.googlecode.json-simple</groupId>
153
			<artifactId>json-simple</artifactId>
154
			<version>1.1.1</version>
155
		</dependency>
156

    
157
		<!-- UI TESTING -->
158
		<dependency>
159
			<groupId>org.seleniumhq.selenium</groupId>
160
			<artifactId>selenium-java</artifactId>
161
			<version>3.141.59</version> <!-- HIGHER VERSION 4+ are not compatible with webdrivermanager plugin -->
162
		</dependency>
163

    
164
		<dependency>
165
			<groupId>io.github.bonigarcia</groupId>
166
			<artifactId>webdrivermanager</artifactId>
167
			<version>5.2.0</version>
168
			<scope>test</scope>
169
		</dependency>
170

    
171
		<dependency>
172
			<groupId>org.springframework.security</groupId>
173
			<artifactId>spring-security-test</artifactId>
174
			<scope>test</scope>
175
		</dependency>
176

    
177
		<!-- Contract testing -->
178
		<dependency>
179
			<groupId>org.springframework.cloud</groupId>
180
			<artifactId>spring-cloud-starter-contract-verifier</artifactId>
181
			<version>2.1.1.RELEASE</version>
182
			<scope>test</scope>
183
		</dependency>
184

    
185
		<!-- MS SQL Server DataBase -->
186

    
187
		<dependency>
188
			<groupId>com.microsoft.sqlserver</groupId>
189
			<artifactId>mssql-jdbc</artifactId>
190
			<version>12.2.0.jre11</version>
191
		</dependency>
192
        <dependency>
193
            <groupId>com.google.code.gson</groupId>
194
            <artifactId>gson</artifactId>
195
            <version>2.10.1</version>
196
        </dependency>
197

    
198
    </dependencies>
199

    
200
	<build>
201
		<plugins>
202

    
203
			<plugin>
204
				<groupId>org.springframework.boot</groupId>
205
				<artifactId>spring-boot-maven-plugin</artifactId>
206
			</plugin>
207

    
208
			<plugin>
209
				<groupId>org.apache.maven.plugins</groupId>
210
				<artifactId>maven-surefire-plugin</artifactId>
211
				<version>${org.apache.maven.plugins.version}</version>
212
				<configuration>
213
					<skipTests>false</skipTests>
214
				</configuration>
215
			</plugin>
216

    
217
			<plugin>
218
				<groupId>org.apache.maven.plugins</groupId>
219
				<artifactId>maven-failsafe-plugin</artifactId>
220
				<version>${org.apache.maven.plugins.version}</version>
221
			</plugin>
222

    
223
			<plugin>
224
				<groupId>org.springframework.cloud</groupId>
225
				<artifactId>spring-cloud-contract-maven-plugin</artifactId>
226
				<version>${spring-cloud-contract.version}</version>
227
				<extensions>true</extensions>
228
				<configuration>
229
					<testFramework>JUNIT5</testFramework>
230
					<baseClassForTests>
231
						cz.zcu.fav.kiv.antipatterndetectionapp.v2.controller.BaseTest
232
					</baseClassForTests>
233
				</configuration>
234
			</plugin>
235

    
236
		</plugins>
237
	</build>
238

    
239
</project>
(7-7/9)