WIP: Spring-Upgrade... TMP
[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-webmvc</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.springframework.boot</groupId>
77       <artifactId>spring-boot-autoconfigure</artifactId>
78       <optional>true</optional>
79     </dependency>
80
81     <!-- Needed for the mapping of error responses -->
82     <dependency>
83       <groupId>com.fasterxml.jackson.core</groupId>
84       <artifactId>jackson-core</artifactId>
85     </dependency>
86     <dependency>
87       <groupId>com.fasterxml.jackson.core</groupId>
88       <artifactId>jackson-databind</artifactId>
89     </dependency>
90
91     <!-- Logging -->
92     <dependency>
93       <groupId>org.slf4j</groupId>
94       <artifactId>slf4j-api</artifactId>
95     </dependency>
96
97     <!-- Testing -->
98     <dependency>
99       <groupId>org.springframework</groupId>
100       <artifactId>spring-test</artifactId>
101       <scope>test</scope>
102     </dependency>
103     <dependency>
104       <groupId>org.springframework.boot</groupId>
105       <artifactId>spring-boot-configuration-processor</artifactId>
106       <scope>test</scope>
107     </dependency>
108     <dependency>
109       <groupId>javax.servlet</groupId>
110       <artifactId>javax.servlet-api</artifactId>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>junit</groupId>
115       <artifactId>junit</artifactId>
116       <scope>test</scope>
117     </dependency>
118     <dependency>
119       <groupId>org.slf4j</groupId>
120       <artifactId>jcl-over-slf4j</artifactId>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>ch.qos.logback</groupId>
125       <artifactId>logback-classic</artifactId>
126       <scope>test</scope>
127     </dependency>
128
129   </dependencies>
130
131   <repositories>
132     <repository>
133       <snapshots>
134         <enabled>false</enabled>
135       </snapshots>
136       <id>juplo</id>
137       <name>Repository for internal artifacts on juplo.de</name>
138       <url>http://juplo.de/maven2</url>
139     </repository>
140   </repositories>
141
142   <distributionManagement>
143     <site>
144       <id>juplo.de</id>
145       <url>scpexe://juplo.de/var/www/juplo.de/facebook-errors-${project.version}</url>
146     </site>
147     <repository>
148       <id>juplo</id>
149       <name>Repository for internal artifacts on juplo.de</name>
150       <url>scpexe://juplo.de/var/www/juplo.de/maven2</url>
151     </repository>
152     <snapshotRepository>
153     </snapshotRepository>
154   </distributionManagement>
155
156   <build>
157     <pluginManagement>
158       <plugins>
159         <plugin>
160           <artifactId>maven-release-plugin</artifactId>
161           <version>2.1</version>
162           <configuration>
163             <mavenExecutorId>forked-path</mavenExecutorId>
164             <useReleaseProfile>false</useReleaseProfile>
165             <arguments>-Psonatype-oss-release</arguments>
166           </configuration>
167         </plugin>
168         <plugin>
169           <artifactId>maven-site-plugin</artifactId>
170           <version>3.4</version>
171           <configuration>
172             <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
173             <templateFile>src/site/template.vm</templateFile>
174           </configuration>
175         </plugin>
176       </plugins>
177     </pluginManagement>
178     <plugins>
179       <plugin>
180         <artifactId>maven-enforcer-plugin</artifactId>
181         <version>1.2</version>
182         <executions>
183           <execution>
184             <id>enforce-maven</id>
185             <goals>
186               <goal>enforce</goal>
187             </goals>
188             <configuration>
189               <rules>
190                 <requireMavenVersion>
191                   <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
192                   <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
193                 </requireMavenVersion>
194               </rules>
195             </configuration>
196           </execution>
197         </executions>
198       </plugin>
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-compiler-plugin</artifactId>
202         <version>3.3</version>
203         <configuration>
204           <showWarnings>true</showWarnings>
205         </configuration>
206       </plugin>
207       <plugin>
208         <groupId>org.apache.maven.plugins</groupId>
209         <artifactId>maven-source-plugin</artifactId>
210         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
211         <executions>
212           <execution>
213             <id>attach-sources</id>
214             <phase>verify</phase>
215             <goals>
216               <goal>jar</goal>
217             </goals>
218           </execution>
219         </executions>
220       </plugin>
221       <plugin>
222         <groupId>org.apache.maven.plugins</groupId>
223         <artifactId>maven-javadoc-plugin</artifactId>
224         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
225         <configuration>
226           <additionalparam>-Xdoclint:none</additionalparam>
227         </configuration>
228         <executions>
229           <execution>
230             <id>attach-javadoc</id>
231             <phase>verify</phase>
232             <goals>
233               <goal>jar</goal>
234             </goals>
235           </execution>
236         </executions>
237       </plugin>
238       <plugin>
239         <groupId>org.apache.maven.plugins</groupId>
240         <artifactId>maven-resources-plugin</artifactId>
241         <version>2.7</version>
242         <executions>
243           <execution>
244             <id>copy-resources</id>
245             <phase>pre-site</phase>
246             <goals>
247               <goal>copy-resources</goal>
248             </goals>
249             <configuration>
250               <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
251               <resources>
252                 <resource>
253                   <directory>src/site</directory>
254                   <filtering>true</filtering>
255                 </resource>
256               </resources>
257             </configuration>
258           </execution>
259         </executions>
260       </plugin>
261     </plugins>
262     <extensions>
263       <!-- Enabling the use of SSH -->
264       <extension>
265         <groupId>org.apache.maven.wagon</groupId>
266          <artifactId>wagon-ssh-external</artifactId>
267          <version>2.10</version>
268       </extension>
269     </extensions>
270   </build>
271
272
273   <reporting>
274     <plugins>
275       <plugin>
276         <groupId>org.apache.maven.plugins</groupId>
277         <artifactId>maven-changes-plugin</artifactId>
278         <version>2.11</version>
279       </plugin>
280       <plugin>
281         <groupId>org.apache.maven.plugins</groupId>
282         <artifactId>maven-javadoc-plugin</artifactId>
283         <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
284         <configuration>
285           <additionalparam>-Xdoclint:none</additionalparam>
286         </configuration>
287       </plugin>
288       <plugin>
289         <groupId>org.apache.maven.plugins</groupId>
290         <artifactId>maven-jxr-plugin</artifactId>
291         <version>2.5</version>
292       </plugin>
293       <plugin>
294         <groupId>org.apache.maven.plugins</groupId>
295         <artifactId>maven-surefire-report-plugin</artifactId>
296         <version>2.18.1</version>
297       </plugin>
298       <plugin>
299         <groupId>org.apache.maven.plugins</groupId>
300         <artifactId>maven-scm-plugin</artifactId>
301         <version>1.9.4</version>
302         <configuration>
303           <goals>install</goals>
304         </configuration>
305       </plugin>
306       <plugin>
307         <artifactId>maven-pmd-plugin</artifactId>
308         <version>3.5</version>
309         <configuration>
310           <linkXref>true</linkXref>
311           <targetJdk>1.6</targetJdk>
312         </configuration>
313       </plugin>
314     </plugins>
315   </reporting>
316
317 </project>