Refined the test-cases and fixed a bug in GraphApiErrorResponseErrorHandler
[facebook-errors] / pom.xml
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/maven-v4_0_0.xsd">
2
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.springframework.boot</groupId>
7     <artifactId>spring-boot-starter-parent</artifactId>
8     <version>2.2.0.RELEASE</version>
9   </parent>
10
11
12   <groupId>de.juplo</groupId>
13   <artifactId>facebook-errors</artifactId>
14   <name>Juplo - Facebook-Errors</name>
15   <description>Helper-Classes to handle errors, thrown by the Graph-API from Facebook</description>
16   <version>4.0.0</version>
17   <packaging>jar</packaging>
18   <url>http://juplo.de/facebook-errors</url>
19
20
21
22   <licenses>
23     <license>
24       <name>The Apache Software License, Version 2.0</name>
25       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
26       <distribution>repo</distribution>
27       <comments>A business-friendly OSS license</comments>
28     </license>
29   </licenses>
30
31   <scm>
32     <connection>scm:git:http://juplo.de/git/facebook-errors</connection>
33     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/facebook-errors</developerConnection>
34     <url>http://juplo.de/gitweb/?p=facebook-errors;a=summary</url>
35   </scm>
36
37
38   <developers>
39     <developer>
40       <id>kai</id>
41       <name>Kai Moritz</name>
42       <email>kai@juplo.de</email>
43     </developer>
44   </developers>
45
46   <contributors>
47   </contributors>
48
49
50   <properties>
51
52     <encoding>UTF-8</encoding>
53     <maven.compiler.source>1.8</maven.compiler.source>
54     <maven.compiler.target>1.8</maven.compiler.target>
55
56     <!-- character encoding -->
57     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58
59     <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
60
61   </properties>
62
63
64   <dependencies>
65
66     <!-- Spring-Boot-Autoconfiguration -->
67     <dependency>
68       <groupId>org.springframework.security</groupId>
69       <artifactId>spring-security-oauth2-client</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.springframework</groupId>
73       <artifactId>spring-webflux</artifactId>
74       <optional>true</optional>
75     </dependency>
76     <dependency>
77       <groupId>org.springframework.boot</groupId>
78       <artifactId>spring-boot-autoconfigure</artifactId>
79       <optional>true</optional>
80     </dependency>
81
82     <!-- Needed for the mapping of error responses -->
83     <dependency>
84       <groupId>com.fasterxml.jackson.core</groupId>
85       <artifactId>jackson-core</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>com.fasterxml.jackson.core</groupId>
89       <artifactId>jackson-databind</artifactId>
90     </dependency>
91
92     <!-- Logging -->
93     <dependency>
94       <groupId>org.slf4j</groupId>
95       <artifactId>slf4j-api</artifactId>
96     </dependency>
97
98     <!-- Testing -->
99     <dependency>
100       <groupId>org.springframework</groupId>
101       <artifactId>spring-test</artifactId>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.springframework.boot</groupId>
106       <artifactId>spring-boot-configuration-processor</artifactId>
107       <scope>test</scope>
108     </dependency>
109     <dependency>
110       <groupId>javax.servlet</groupId>
111       <artifactId>javax.servlet-api</artifactId>
112       <scope>test</scope>
113     </dependency>
114     <dependency>
115       <groupId>junit</groupId>
116       <artifactId>junit</artifactId>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.slf4j</groupId>
121       <artifactId>jcl-over-slf4j</artifactId>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>ch.qos.logback</groupId>
126       <artifactId>logback-classic</artifactId>
127       <scope>test</scope>
128     </dependency>
129
130   </dependencies>
131
132   <repositories>
133     <repository>
134       <snapshots>
135         <enabled>false</enabled>
136       </snapshots>
137       <id>juplo</id>
138       <name>Repository for internal artifacts on juplo.de</name>
139       <url>http://juplo.de/maven2</url>
140     </repository>
141   </repositories>
142
143   <distributionManagement>
144     <site>
145       <id>juplo.de</id>
146       <url>scpexe://juplo.de/var/www/juplo.de/facebook-errors-${project.version}</url>
147     </site>
148     <repository>
149       <id>juplo</id>
150       <name>Repository for internal artifacts on juplo.de</name>
151       <url>scpexe://juplo.de/var/www/juplo.de/maven2</url>
152     </repository>
153     <snapshotRepository>
154     </snapshotRepository>
155   </distributionManagement>
156
157   <build>
158     <pluginManagement>
159       <plugins>
160         <plugin>
161           <artifactId>maven-release-plugin</artifactId>
162           <version>2.1</version>
163           <configuration>
164             <mavenExecutorId>forked-path</mavenExecutorId>
165             <useReleaseProfile>false</useReleaseProfile>
166             <arguments>-Psonatype-oss-release</arguments>
167           </configuration>
168         </plugin>
169         <plugin>
170           <artifactId>maven-site-plugin</artifactId>
171           <version>3.4</version>
172           <configuration>
173             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
174             <templateFile>src/site/template.vm</templateFile>
175           </configuration>
176         </plugin>
177       </plugins>
178     </pluginManagement>
179     <plugins>
180       <plugin>
181         <artifactId>maven-enforcer-plugin</artifactId>
182         <version>1.2</version>
183         <executions>
184           <execution>
185             <id>enforce-maven</id>
186             <goals>
187               <goal>enforce</goal>
188             </goals>
189             <configuration>
190               <rules>
191                 <requireMavenVersion>
192                   <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
193                   <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
194                 </requireMavenVersion>
195               </rules>
196             </configuration>
197           </execution>
198         </executions>
199       </plugin>
200       <plugin>
201         <groupId>org.apache.maven.plugins</groupId>
202         <artifactId>maven-compiler-plugin</artifactId>
203         <version>3.3</version>
204         <configuration>
205           <showWarnings>true</showWarnings>
206         </configuration>
207       </plugin>
208       <plugin>
209         <groupId>org.apache.maven.plugins</groupId>
210         <artifactId>maven-source-plugin</artifactId>
211         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
212         <executions>
213           <execution>
214             <id>attach-sources</id>
215             <phase>verify</phase>
216             <goals>
217               <goal>jar</goal>
218             </goals>
219           </execution>
220         </executions>
221       </plugin>
222       <plugin>
223         <groupId>org.apache.maven.plugins</groupId>
224         <artifactId>maven-javadoc-plugin</artifactId>
225         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
226         <configuration>
227           <additionalparam>-Xdoclint:none</additionalparam>
228         </configuration>
229         <executions>
230           <execution>
231             <id>attach-javadoc</id>
232             <phase>verify</phase>
233             <goals>
234               <goal>jar</goal>
235             </goals>
236           </execution>
237         </executions>
238       </plugin>
239       <plugin>
240         <groupId>org.apache.maven.plugins</groupId>
241         <artifactId>maven-resources-plugin</artifactId>
242         <version>2.7</version>
243         <executions>
244           <execution>
245             <id>copy-resources</id>
246             <phase>pre-site</phase>
247             <goals>
248               <goal>copy-resources</goal>
249             </goals>
250             <configuration>
251               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
252               <resources>
253                 <resource>
254                   <directory>src/site</directory>
255                   <filtering>true</filtering>
256                 </resource>
257               </resources>
258             </configuration>
259           </execution>
260         </executions>
261       </plugin>
262     </plugins>
263     <extensions>
264       <!-- Enabling the use of SSH -->
265       <extension>
266         <groupId>org.apache.maven.wagon</groupId>
267          <artifactId>wagon-ssh-external</artifactId>
268          <version>2.10</version>
269       </extension>
270     </extensions>
271   </build>
272
273
274   <reporting>
275     <plugins>
276       <plugin>
277         <groupId>org.apache.maven.plugins</groupId>
278         <artifactId>maven-changes-plugin</artifactId>
279         <version>2.11</version>
280       </plugin>
281       <plugin>
282         <groupId>org.apache.maven.plugins</groupId>
283         <artifactId>maven-javadoc-plugin</artifactId>
284         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
285         <configuration>
286           <additionalparam>-Xdoclint:none</additionalparam>
287         </configuration>
288       </plugin>
289       <plugin>
290         <groupId>org.apache.maven.plugins</groupId>
291         <artifactId>maven-jxr-plugin</artifactId>
292         <version>2.5</version>
293       </plugin>
294       <plugin>
295         <groupId>org.apache.maven.plugins</groupId>
296         <artifactId>maven-surefire-report-plugin</artifactId>
297         <version>2.18.1</version>
298       </plugin>
299       <plugin>
300         <groupId>org.apache.maven.plugins</groupId>
301         <artifactId>maven-scm-plugin</artifactId>
302         <version>1.9.4</version>
303         <configuration>
304           <goals>install</goals>
305         </configuration>
306       </plugin>
307       <plugin>
308         <artifactId>maven-pmd-plugin</artifactId>
309         <version>3.5</version>
310         <configuration>
311           <linkXref>true</linkXref>
312           <targetJdk>1.6</targetJdk>
313         </configuration>
314       </plugin>
315     </plugins>
316   </reporting>
317
318 </project>