1+ <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" >
2+ <modelVersion >4.0.0</modelVersion >
3+ <groupId >com.baeldung</groupId >
4+ <version >0.1-SNAPSHOT</version >
5+ <artifactId >spring-mvc-webflow</artifactId >
6+
7+ <name >spring-mvc-webflow</name >
8+ <packaging >war</packaging >
9+
10+ <dependencies >
11+
12+ <!-- Spring -->
13+ <dependency >
14+ <groupId >org.springframework</groupId >
15+ <artifactId >spring-web</artifactId >
16+ <version >${org.springframework.version} </version >
17+ </dependency >
18+ <dependency >
19+ <groupId >org.springframework</groupId >
20+ <artifactId >spring-webmvc</artifactId >
21+ <version >${org.springframework.version} </version >
22+ </dependency >
23+
24+ <!-- Spring Web Flow-->
25+ <dependency >
26+ <groupId >org.springframework.webflow</groupId >
27+ <artifactId >spring-webflow</artifactId >
28+ <version >${spring.webflow} </version >
29+ </dependency >
30+
31+ <!-- web -->
32+
33+ <dependency >
34+ <groupId >javax.servlet</groupId >
35+ <artifactId >javax.servlet-api</artifactId >
36+ <version >${javax.servlet-api.version} </version >
37+ <scope >provided</scope >
38+ </dependency >
39+
40+ <dependency >
41+ <groupId >javax.servlet</groupId >
42+ <artifactId >jstl</artifactId >
43+ <version >${jstl.version} </version >
44+ <scope >runtime</scope >
45+ </dependency >
46+
47+ <!-- logging -->
48+
49+ <dependency >
50+ <groupId >org.slf4j</groupId >
51+ <artifactId >slf4j-api</artifactId >
52+ <version >${org.slf4j.version} </version >
53+ </dependency >
54+ <dependency >
55+ <groupId >ch.qos.logback</groupId >
56+ <artifactId >logback-classic</artifactId >
57+ <version >${logback.version} </version >
58+ <!-- <scope>runtime</scope> -->
59+ </dependency >
60+ <dependency >
61+ <groupId >org.slf4j</groupId >
62+ <artifactId >jcl-over-slf4j</artifactId >
63+ <version >${org.slf4j.version} </version >
64+ <!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
65+ </dependency >
66+ <dependency > <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
67+ <groupId >org.slf4j</groupId >
68+ <artifactId >log4j-over-slf4j</artifactId >
69+ <version >${org.slf4j.version} </version >
70+ </dependency >
71+
72+ <!-- test scoped -->
73+
74+ <dependency >
75+ <groupId >junit</groupId >
76+ <artifactId >junit</artifactId >
77+ <version >${junit.version} </version >
78+ <scope >test</scope >
79+ </dependency >
80+
81+ <dependency >
82+ <groupId >org.hamcrest</groupId >
83+ <artifactId >hamcrest-core</artifactId >
84+ <version >${org.hamcrest.version} </version >
85+ <scope >test</scope >
86+ </dependency >
87+ <dependency >
88+ <groupId >org.hamcrest</groupId >
89+ <artifactId >hamcrest-library</artifactId >
90+ <version >${org.hamcrest.version} </version >
91+ <scope >test</scope >
92+ </dependency >
93+
94+ <dependency >
95+ <groupId >org.mockito</groupId >
96+ <artifactId >mockito-core</artifactId >
97+ <version >${mockito.version} </version >
98+ <scope >test</scope >
99+ </dependency >
100+
101+ </dependencies >
102+
103+ <build >
104+ <finalName >spring-mvc-webflow</finalName >
105+ <resources >
106+ <resource >
107+ <directory >src/main/resources</directory >
108+ <filtering >true</filtering >
109+ </resource >
110+ </resources >
111+
112+ <plugins >
113+
114+ <plugin >
115+ <groupId >org.apache.maven.plugins</groupId >
116+ <artifactId >maven-compiler-plugin</artifactId >
117+ <version >${maven-compiler-plugin.version} </version >
118+ <configuration >
119+ <source >1.8</source >
120+ <target >1.8</target >
121+ </configuration >
122+ </plugin >
123+
124+ <plugin >
125+ <groupId >org.apache.maven.plugins</groupId >
126+ <artifactId >maven-war-plugin</artifactId >
127+ <version >${maven-war-plugin.version} </version >
128+ <configuration >
129+ <failOnMissingWebXml >false</failOnMissingWebXml >
130+ </configuration >
131+ </plugin >
132+
133+ <plugin >
134+ <groupId >org.apache.maven.plugins</groupId >
135+ <artifactId >maven-surefire-plugin</artifactId >
136+ <version >${maven-surefire-plugin.version} </version >
137+ <configuration >
138+ <excludes >
139+ <!-- <exclude>**/*ProductionTest.java</exclude> -->
140+ </excludes >
141+ <systemPropertyVariables >
142+ <!-- <provPersistenceTarget>h2</provPersistenceTarget> -->
143+ </systemPropertyVariables >
144+ </configuration >
145+ </plugin >
146+
147+ </plugins >
148+
149+ </build >
150+
151+ <properties >
152+ <!-- Spring -->
153+ <org .springframework.version>4.3.4.RELEASE</org .springframework.version>
154+
155+ <!-- Spring Web Flow-->
156+ <spring .webflow>2.4.4.RELEASE</spring .webflow>
157+
158+ <!-- logging -->
159+ <org .slf4j.version>1.7.21</org .slf4j.version>
160+ <logback .version>1.1.7</logback .version>
161+
162+ <!-- testing -->
163+ <org .hamcrest.version>1.3</org .hamcrest.version>
164+ <junit .version>4.12</junit .version>
165+ <mockito .version>1.10.19</mockito .version>
166+
167+ <javax .servlet-api.version>3.1.0</javax .servlet-api.version>
168+ <jstl .version>1.2</jstl .version>
169+
170+ <httpcore .version>4.4.5</httpcore .version>
171+ <httpclient .version>4.5.2</httpclient .version>
172+
173+ <rest-assured .version>2.9.0</rest-assured .version>
174+
175+ <!-- Maven plugins -->
176+ <maven-compiler-plugin .version>3.6.0</maven-compiler-plugin .version>
177+ <maven-war-plugin .version>2.6</maven-war-plugin .version>
178+ <maven-surefire-plugin .version>2.19.1</maven-surefire-plugin .version>
179+ <maven-resources-plugin .version>2.7</maven-resources-plugin .version>
180+ <cargo-maven2-plugin .version>1.6.1</cargo-maven2-plugin .version>
181+
182+ </properties >
183+
184+ </project >
0 commit comments