1+ <project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <groupId >java</groupId >
5+ <artifactId >SpringMVC_XML</artifactId >
6+ <packaging >war</packaging >
7+ <version >1.0-SNAPSHOT</version >
8+ <name >SpringMVC</name >
9+
10+ <properties >
11+ <java .version>1.8</java .version>
12+ </properties >
13+
14+ <!-- Платформа Spring IO: помогает подобрать
15+ совместимую комбинацию версий для Spring-библиотек.
16+ http://spring-projects.ru/platform/
17+ http://platform.spring.io/platform/ -->
18+ <dependencyManagement >
19+ <dependencies >
20+ <dependency >
21+ <groupId >io.spring.platform</groupId >
22+ <artifactId >platform-bom</artifactId >
23+ <version >2.0.8.RELEASE</version >
24+ <type >pom</type >
25+ <scope >import</scope >
26+ </dependency >
27+ </dependencies >
28+ </dependencyManagement >
29+
30+ <dependencies >
31+ <dependency >
32+ <groupId >org.springframework</groupId >
33+ <artifactId >spring-core</artifactId >
34+ </dependency >
35+ <dependency >
36+ <groupId >org.springframework</groupId >
37+ <artifactId >spring-web</artifactId >
38+ </dependency >
39+ <dependency >
40+ <groupId >javax.servlet</groupId >
41+ <artifactId >javax.servlet-api</artifactId >
42+ </dependency >
43+ <dependency >
44+ <groupId >javax.servlet.jsp</groupId >
45+ <artifactId >jsp-api</artifactId >
46+ <version >2.2</version >
47+ <scope >provided</scope >
48+ </dependency >
49+ <dependency >
50+ <groupId >org.springframework</groupId >
51+ <artifactId >spring-webmvc</artifactId >
52+ </dependency >
53+ <dependency >
54+ <groupId >org.springframework</groupId >
55+ <artifactId >spring-test</artifactId >
56+ <scope >test</scope >
57+ </dependency >
58+ <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
59+ <dependency >
60+ <groupId >commons-logging</groupId >
61+ <artifactId >commons-logging</artifactId >
62+ </dependency >
63+ <dependency >
64+ <groupId >com.fasterxml.jackson.core</groupId >
65+ <artifactId >jackson-core</artifactId >
66+ </dependency >
67+ <dependency >
68+ <groupId >com.fasterxml.jackson.core</groupId >
69+ <artifactId >jackson-databind</artifactId >
70+ </dependency >
71+ <dependency >
72+ <groupId >com.fasterxml.jackson.core</groupId >
73+ <artifactId >jackson-annotations</artifactId >
74+ </dependency >
75+
76+ <dependency >
77+ <groupId >org.junit.jupiter</groupId >
78+ <artifactId >junit-jupiter</artifactId >
79+ <version >5.11.4</version >
80+ <scope >test</scope >
81+ </dependency >
82+ </dependencies >
83+
84+ <build >
85+ <finalName >SpringMVC</finalName >
86+ <plugins >
87+ <plugin >
88+ <artifactId >maven-compiler-plugin</artifactId >
89+ <configuration >
90+ <source >${java.version} </source >
91+ <target >${java.version} </target >
92+ </configuration >
93+ </plugin >
94+ <plugin >
95+ <artifactId >maven-surefire-plugin</artifactId >
96+ <configuration >
97+ <includes >
98+ <include >**/*Tests.java</include >
99+ </includes >
100+ </configuration >
101+ </plugin >
102+
103+ <!-- JaCoCo code coverage -->
104+ <plugin >
105+ <groupId >org.jacoco</groupId >
106+ <artifactId >jacoco-maven-plugin</artifactId >
107+ <version >0.8.12</version >
108+ <executions >
109+ <execution >
110+ <id >prepare-agent</id >
111+ <goals ><goal >prepare-agent</goal ></goals >
112+ </execution >
113+ <execution >
114+ <id >report</id >
115+ <phase >test</phase >
116+ <goals ><goal >report</goal ></goals >
117+ </execution >
118+ <execution >
119+ <id >check</id >
120+ <phase >verify</phase >
121+ <goals ><goal >check</goal ></goals >
122+ <configuration >
123+ <rules >
124+ <rule >
125+ <element >BUNDLE</element >
126+ <limits >
127+ <limit >
128+ <counter >LINE</counter >
129+ <value >COVEREDRATIO</value >
130+ <minimum >1.00</minimum >
131+ </limit >
132+ </limits >
133+ </rule >
134+ </rules >
135+ </configuration >
136+ </execution >
137+ </executions >
138+ </plugin >
139+ </plugins >
140+ </build >
141+ </project >
0 commit comments