WIP: site + wagon
[facebook-utils] / pom.xml
diff --git a/pom.xml b/pom.xml
index 37284fe..588e336 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,16 +1,21 @@
-<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">
+<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">
 
   <modelVersion>4.0.0</modelVersion>
 
+  <parent>
+    <groupId>org.sonatype.oss</groupId>
+    <artifactId>oss-parent</artifactId>
+    <version>9</version>
+  </parent>
+
 
   <groupId>de.juplo</groupId>
   <artifactId>facebook-utils</artifactId>
   <name>Juplo - Facebook Utils</name>
   <description>Collection of usefull classes for communicating with the Facebook-Graph-API</description>
-  <version>1.0-SNAPSHOT</version>
+  <version>2.5.1-SNAPSHOT</version>
   <packaging>jar</packaging>
-  <url>http://www.juplo.de/facebook-utils</url>
+  <url>http://juplo.de/facebook-utils</url>
 
 
   <prerequisites>
   </prerequisites>
 
 
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+      <comments>A business-friendly OSS license</comments>
+    </license>
+  </licenses>
+
   <scm>
     <connection>scm:git:http://juplo.de/git/facebook-utils</connection>
     <developerConnection>scm:git:ssh://juplo.de:/var/lib/git/juplo/facebook-utils</developerConnection>
@@ -33,6 +47,9 @@
     </developer>
   </developers>
 
+  <contributors>
+  </contributors>
+
 
   <properties>
 
 
     <!-- used versions -->
     <commons-codec.version>1.7</commons-codec.version>
-    <jackson.version>2.3.2</jackson.version>
+    <aspectj.version>1.8.5</aspectj.version>
+    <jackson.version>2.6.2</jackson.version>
+    <junit.version>4.12</junit.version>
+    <logback.version>1.1.3</logback.version>
     <servlet-api.version>3.0.1</servlet-api.version>
-    <slf4j.version>1.5.8</slf4j.version>
-    <spring.version>3.2.4.RELEASE</spring.version>
-    <spring-security.version>3.1.3.RELEASE</spring-security.version>
-    <spring-security-oauth2.version>1.0.5.RELEASE</spring-security-oauth2.version>
+    <slf4j.version>1.7.12</slf4j.version>
+    <springframework.version>4.2.1.RELEASE</springframework.version>
+    <spring-security.version>4.0.2.RELEASE</spring-security.version>
+    <spring-security-oauth2.version>2.0.8.RELEASE</spring-security-oauth2.version>
 
   </properties>
 
     <dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-webmvc</artifactId>
-      <version>${spring.version}</version>
+      <version>${springframework.version}</version>
       <exclusions>
         <exclusion>
             <groupId>commons-logging</groupId>
       <scope>provided</scope>
     </dependency>
 
-    <!-- Needed to compile agains spring-security-oauth2 -->
+    <!-- Needed for the mapping of error responses -->
+    <dependency>
+      <groupId>com.fasterxml.jackson.core</groupId>
+      <artifactId>jackson-core</artifactId>
+      <version>${jackson.version}</version>
+    </dependency>
     <dependency>
       <groupId>com.fasterxml.jackson.core</groupId>
       <artifactId>jackson-databind</artifactId>
       <version>${jackson.version}</version>
-      <scope>provided</scope>
     </dependency>
+
+    <!-- Needed to compile agains spring-security-oauth2 -->
     <dependency>
       <groupId>org.springframework.security</groupId>
       <artifactId>spring-security-core</artifactId>
           <artifactId>spring-expression</artifactId>
         </exclusion>
       </exclusions>
+    </dependency>
+
+    <!-- AspectJ -->
+    <dependency>
+      <groupId>org.aspectj</groupId>
+      <artifactId>aspectjrt</artifactId>
+      <version>${aspectj.version}</version>
       <scope>provided</scope>
     </dependency>
 
       <version>${slf4j.version}</version>
     </dependency>
 
+    <!-- Testing -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-test</artifactId>
+      <version>${springframework.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>jcl-over-slf4j</artifactId>
+      <version>${slf4j.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+      <version>${logback.version}</version>
+      <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+
   </dependencies>
 
 
   <distributionManagement>
-    <repository>
-      <id>juplo.internal</id>
-      <name>Internal Release Repository</name>
-      <url>http://juplo.de/archiva/repository/internal/</url>
-    </repository>
-    <snapshotRepository>
-      <id>juplo.snapshots</id>
-      <name>Internal Snapshot Repository</name>
-      <url>http://juplo.de/archiva/repository/snapshots/</url>
-    </snapshotRepository>
+    <site>
+      <id>juplo.de</id>
+      <url>scpexe://juplo.de/var/www/juplo.de/facebook-utils-${project.version}</url>
+    </site>
   </distributionManagement>
 
 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.3</version>
         <configuration>
           <source>1.7</source>
           <target>1.7</target>
           <showWarnings>true</showWarnings>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>aspectj-maven-plugin</artifactId>
+        <version>1.8</version>
+        <configuration>
+          <complianceLevel>1.7</complianceLevel>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>compile</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version><!-- Should be same version as in oss-parent-7 -->
         <executions>
           <execution>
             <id>attach-sources</id>
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-changes-plugin</artifactId>
+        <version>2.11</version>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.10.3</version>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
+        <version>2.5</version>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.18.1</version>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-scm-plugin</artifactId>
+        <version>1.9.4</version>
         <configuration>
           <goals>install</goals>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <version>3.5</version>
+        <configuration>
+          <linkXref>true</linkXref>
+          <targetJdk>1.5</targetJdk>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>