1+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <artifactId >spring-social-login</artifactId >
5+
6+ <name >spring-social-login</name >
7+ <packaging >war</packaging >
8+
9+ <parent >
10+ <groupId >org.springframework.boot</groupId >
11+ <artifactId >spring-boot-starter-parent</artifactId >
12+ <version >1.4.0.RELEASE</version >
13+ <relativePath ></relativePath >
14+ </parent >
15+
16+ <dependencies >
17+
18+ <dependency >
19+ <groupId >org.springframework.boot</groupId >
20+ <artifactId >spring-boot-starter-web</artifactId >
21+ </dependency >
22+
23+ <dependency >
24+ <groupId >org.springframework.boot</groupId >
25+ <artifactId >spring-boot-starter-thymeleaf</artifactId >
26+ </dependency >
27+
28+
29+ <dependency >
30+ <groupId >org.springframework.security</groupId >
31+ <artifactId >spring-security-web</artifactId >
32+ </dependency >
33+
34+ <dependency >
35+ <groupId >org.springframework.security</groupId >
36+ <artifactId >spring-security-config</artifactId >
37+ </dependency >
38+
39+ <dependency >
40+ <groupId >org.springframework.security</groupId >
41+ <artifactId >spring-security-taglibs</artifactId >
42+ </dependency >
43+
44+ <dependency >
45+ <groupId >org.thymeleaf.extras</groupId >
46+ <artifactId >thymeleaf-extras-springsecurity4</artifactId >
47+ </dependency >
48+
49+
50+ <dependency >
51+ <groupId >org.springframework.social</groupId >
52+ <artifactId >spring-social-facebook</artifactId >
53+ </dependency >
54+
55+ <dependency >
56+ <groupId >org.springframework.boot</groupId >
57+ <artifactId >spring-boot-starter-data-jpa</artifactId >
58+ </dependency >
59+
60+ <dependency >
61+ <groupId >com.h2database</groupId >
62+ <artifactId >h2</artifactId >
63+ </dependency >
64+
65+ <!-- test -->
66+ <dependency >
67+ <groupId >org.springframework.boot</groupId >
68+ <artifactId >spring-boot-starter-test</artifactId >
69+ </dependency >
70+
71+ <dependency >
72+ <groupId >org.springframework</groupId >
73+ <artifactId >spring-test</artifactId >
74+ <scope >test</scope >
75+ </dependency >
76+
77+ <dependency >
78+ <groupId >junit</groupId >
79+ <artifactId >junit</artifactId >
80+ <scope >test</scope >
81+ </dependency >
82+
83+ <dependency >
84+ <groupId >org.apache.commons</groupId >
85+ <artifactId >commons-lang3</artifactId >
86+ <version >${commons-lang3.version} </version >
87+ </dependency >
88+
89+ </dependencies >
90+
91+
92+ <build >
93+ <finalName >spring-social-login</finalName >
94+ <resources >
95+ <resource >
96+ <directory >src/main/resources</directory >
97+ <filtering >true</filtering >
98+ </resource >
99+ </resources >
100+
101+ <plugins >
102+ <plugin >
103+ <groupId >org.apache.maven.plugins</groupId >
104+ <artifactId >maven-compiler-plugin</artifactId >
105+ <configuration >
106+ <source >1.8</source >
107+ <target >1.8</target >
108+ </configuration >
109+ </plugin >
110+
111+ <plugin >
112+ <groupId >org.apache.maven.plugins</groupId >
113+ <artifactId >maven-war-plugin</artifactId >
114+ </plugin >
115+
116+ <plugin >
117+ <groupId >org.apache.maven.plugins</groupId >
118+ <artifactId >maven-surefire-plugin</artifactId >
119+ <configuration >
120+ <excludes >
121+ <exclude >**/*IntegrationTest.java</exclude >
122+ <exclude >**/*LiveTest.java</exclude >
123+ </excludes >
124+ </configuration >
125+ </plugin >
126+ </plugins >
127+ </build >
128+
129+ <profiles >
130+ <profile >
131+ <id >integration</id >
132+ <build >
133+ <plugins >
134+ <plugin >
135+ <groupId >org.apache.maven.plugins</groupId >
136+ <artifactId >maven-surefire-plugin</artifactId >
137+ <executions >
138+ <execution >
139+ <phase >integration-test</phase >
140+ <goals >
141+ <goal >test</goal >
142+ </goals >
143+ <configuration >
144+ <excludes >
145+ <exclude >**/*LiveTest.java</exclude >
146+ </excludes >
147+ <includes >
148+ <include >**/*IntegrationTest.java</include >
149+ </includes >
150+ </configuration >
151+ </execution >
152+ </executions >
153+ <configuration >
154+ <systemPropertyVariables >
155+ <test .mime>json</test .mime>
156+ </systemPropertyVariables >
157+ </configuration >
158+ </plugin >
159+ </plugins >
160+ </build >
161+ </profile >
162+ </profiles >
163+
164+ <properties >
165+ <java .version>1.8</java .version>
166+ <commons-lang3 .version>3.3.2</commons-lang3 .version>
167+ </properties >
168+
169+ </project >
0 commit comments