Converted project into a Sonatype-Project
[facebook-errors] / pom.xml
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/maven-v4_0_0.xsd">
3
4   <modelVersion>4.0.0</modelVersion>
5
6   <parent>
7     <groupId>org.sonatype.oss</groupId>
8     <artifactId>oss-parent</artifactId>
9     <version>9</version>
10   </parent>
11
12
13   <groupId>de.juplo</groupId>
14   <artifactId>facebook-utils</artifactId>
15   <name>Juplo - Facebook Utils</name>
16   <description>Collection of usefull classes for communicating with the Facebook-Graph-API</description>
17   <version>1.0-SNAPSHOT</version>
18   <packaging>jar</packaging>
19   <url>http://www.juplo.de/facebook-utils</url>
20
21
22   <prerequisites>
23     <maven>2.0.6</maven>
24   </prerequisites>
25
26
27   <licenses>
28     <license>
29       <name>The Apache Software License, Version 2.0</name>
30       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
31       <distribution>repo</distribution>
32       <comments>A business-friendly OSS license</comments>
33     </license>
34   </licenses>
35
36   <scm>
37     <connection>scm:git:http://juplo.de/git/facebook-utils</connection>
38     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/facebook-utils</developerConnection>
39     <url>http://juplo.de/gitweb/?p=facebook-utils;a=summary</url>
40   </scm>
41
42
43   <developers>
44     <developer>
45       <id>kai</id>
46       <name>Kai Moritz</name>
47       <email>kai@juplo.de</email>
48     </developer>
49   </developers>
50
51   <contributors>
52   </contributors>
53
54
55   <properties>
56
57     <!-- character encoding -->
58     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59
60     <!-- used versions -->
61     <commons-codec.version>1.7</commons-codec.version>
62     <jackson.version>2.3.2</jackson.version>
63     <junit.version>4.11</junit.version>
64     <logback.version>1.1.2</logback.version>
65     <servlet-api.version>3.0.1</servlet-api.version>
66     <slf4j.version>1.7.6</slf4j.version>
67     <spring.version>3.2.4.RELEASE</spring.version>
68     <springframework.version>3.2.4.RELEASE</springframework.version>
69     <spring-security.version>3.1.3.RELEASE</spring-security.version>
70     <spring-security-oauth2.version>1.0.5.RELEASE</spring-security-oauth2.version>
71
72   </properties>
73
74
75   <dependencies>
76
77     <!-- Spring -->
78     <dependency>
79       <groupId>org.springframework.security.oauth</groupId>
80       <artifactId>spring-security-oauth2</artifactId>
81       <version>${spring-security-oauth2.version}</version>
82       <exclusions>
83         <exclusion>
84           <groupId>commons-codec</groupId>
85           <artifactId>commons-codec</artifactId>
86         </exclusion>
87         <exclusion>
88           <groupId>org.springframework</groupId>
89           <artifactId>spring-aop</artifactId>
90         </exclusion>
91         <exclusion>
92           <groupId>org.springframework</groupId>
93           <artifactId>spring-beans</artifactId>
94         </exclusion>
95         <exclusion>
96           <groupId>org.springframework</groupId>
97           <artifactId>spring-context</artifactId>
98         </exclusion>
99         <exclusion>
100           <groupId>org.springframework</groupId>
101           <artifactId>spring-core</artifactId>
102         </exclusion>
103         <exclusion>
104           <groupId>org.springframework</groupId>
105           <artifactId>spring-expression</artifactId>
106         </exclusion>
107         <exclusion>
108           <groupId>org.springframework</groupId>
109           <artifactId>spring-jdbc</artifactId>
110         </exclusion>
111         <exclusion>
112           <groupId>org.springframework</groupId>
113           <artifactId>spring-web</artifactId>
114         </exclusion>
115         <exclusion>
116           <groupId>org.springframework</groupId>
117           <artifactId>spring-webmvc</artifactId>
118         </exclusion>
119         <exclusion>
120           <groupId>org.springframework.security</groupId>
121           <artifactId>spring-security-config</artifactId>
122         </exclusion>
123         <exclusion>
124           <groupId>org.springframework.security</groupId>
125           <artifactId>spring-security-core</artifactId>
126         </exclusion>
127         <exclusion>
128           <groupId>org.springframework.security</groupId>
129           <artifactId>spring-security-web</artifactId>
130         </exclusion>
131       </exclusions>
132     </dependency>
133     <dependency>
134       <groupId>org.springframework</groupId>
135       <artifactId>spring-webmvc</artifactId>
136       <version>${spring.version}</version>
137       <exclusions>
138         <exclusion>
139             <groupId>commons-logging</groupId>
140             <artifactId>commons-logging</artifactId>
141         </exclusion>
142       </exclusions>
143       <scope>provided</scope>
144     </dependency>
145
146     <!-- Needed to compile agains spring-security-oauth2 -->
147     <dependency>
148       <groupId>com.fasterxml.jackson.core</groupId>
149       <artifactId>jackson-databind</artifactId>
150       <version>${jackson.version}</version>
151       <scope>provided</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.springframework.security</groupId>
155       <artifactId>spring-security-core</artifactId>
156       <version>${spring-security.version}</version>
157       <exclusions>
158         <exclusion>
159           <groupId>org.springframework</groupId>
160           <artifactId>spring-aop</artifactId>
161         </exclusion>
162         <exclusion>
163           <groupId>org.springframework</groupId>
164           <artifactId>spring-beans</artifactId>
165         </exclusion>
166         <exclusion>
167           <groupId>org.springframework</groupId>
168           <artifactId>spring-context</artifactId>
169         </exclusion>
170         <exclusion>
171           <groupId>org.springframework</groupId>
172           <artifactId>spring-core</artifactId>
173         </exclusion>
174         <exclusion>
175           <groupId>org.springframework</groupId>
176           <artifactId>spring-expression</artifactId>
177         </exclusion>
178       </exclusions>
179       <scope>provided</scope>
180     </dependency>
181
182     <!-- commons-codec -->
183     <dependency>
184       <groupId>commons-codec</groupId>
185       <artifactId>commons-codec</artifactId>
186       <version>${commons-codec.version}</version>
187     </dependency>
188
189     <!-- Servlet -->
190     <dependency>
191       <groupId>javax.servlet</groupId>
192       <artifactId>javax.servlet-api</artifactId>
193       <version>${servlet-api.version}</version>
194       <scope>provided</scope>
195     </dependency>
196
197     <!-- Logging -->
198     <dependency>
199       <groupId>org.slf4j</groupId>
200       <artifactId>slf4j-api</artifactId>
201       <version>${slf4j.version}</version>
202     </dependency>
203
204     <!-- Testing -->
205     <dependency>
206       <groupId>junit</groupId>
207       <artifactId>junit</artifactId>
208       <version>${junit.version}</version>
209       <scope>test</scope>
210     </dependency>
211     <dependency>
212       <groupId>org.springframework</groupId>
213       <artifactId>spring-test</artifactId>
214       <version>${springframework.version}</version>
215       <scope>test</scope>
216     </dependency>
217     <dependency>
218       <groupId>org.slf4j</groupId>
219       <artifactId>jcl-over-slf4j</artifactId>
220       <version>${slf4j.version}</version>
221       <scope>test</scope>
222     </dependency>
223     <dependency>
224       <groupId>ch.qos.logback</groupId>
225       <artifactId>logback-classic</artifactId>
226       <version>${logback.version}</version>
227       <scope>test</scope>
228     </dependency>
229
230   </dependencies>
231
232
233   <distributionManagement>
234     <site>
235       <id>www.juplo.de</id>
236       <url>scp://juplo.de/var/www/juplo/facebook-utils-${project.version}</url>
237     </site>
238   </distributionManagement>
239
240
241   <build>
242     <plugins>
243       <plugin>
244         <groupId>org.apache.maven.plugins</groupId>
245         <artifactId>maven-compiler-plugin</artifactId>
246         <version>3.3</version>
247         <configuration>
248           <source>1.7</source>
249           <target>1.7</target>
250           <encoding>utf8</encoding>
251           <showWarnings>true</showWarnings>
252         </configuration>
253       </plugin>
254       <plugin>
255         <groupId>org.apache.maven.plugins</groupId>
256         <artifactId>maven-source-plugin</artifactId>
257         <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
258         <executions>
259           <execution>
260             <id>attach-sources</id>
261             <phase>verify</phase>
262             <goals>
263               <goal>jar</goal>
264             </goals>
265           </execution>
266         </executions>
267       </plugin>
268     </plugins>
269   </build>
270
271
272   <reporting>
273     <plugins>
274       <plugin>
275         <groupId>org.apache.maven.plugins</groupId>
276         <artifactId>maven-changes-plugin</artifactId>
277         <version>2.11</version>
278       </plugin>
279       <plugin>
280         <groupId>org.apache.maven.plugins</groupId>
281         <artifactId>maven-javadoc-plugin</artifactId>
282         <version>2.10.3</version>
283       </plugin>
284       <plugin>
285         <groupId>org.apache.maven.plugins</groupId>
286         <artifactId>maven-jxr-plugin</artifactId>
287         <version>2.5</version>
288       </plugin>
289       <plugin>
290         <groupId>org.apache.maven.plugins</groupId>
291         <artifactId>maven-surefire-report-plugin</artifactId>
292         <version>2.18.1</version>
293       </plugin>
294       <plugin>
295         <groupId>org.apache.maven.plugins</groupId>
296         <artifactId>maven-scm-plugin</artifactId>
297         <version>1.9.4</version>
298         <configuration>
299           <goals>install</goals>
300         </configuration>
301       </plugin>
302       <plugin>
303         <groupId>org.apache.maven.plugins</groupId>
304         <artifactId>maven-pmd-plugin</artifactId>
305         <version>3.5</version>
306         <configuration>
307           <linkXref>true</linkXref>
308           <targetJdk>1.5</targetJdk>
309         </configuration>
310       </plugin>
311     </plugins>
312   </reporting>
313
314 </project>