Converted project into a Sonatype-Project
authorKai Moritz <kai@juplo.de>
Tue, 6 Oct 2015 06:13:46 +0000 (08:13 +0200)
committerKai Moritz <kai@juplo.de>
Tue, 6 Oct 2015 07:59:36 +0000 (09:59 +0200)
pom.xml
src/main/java/de/juplo/facebook/SignedRequestAwareAuthorizationCodeAccessTokenProvider.java

diff --git a/pom.xml b/pom.xml
index 65f2569..c095602 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,6 +3,12 @@
 
   <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>
   </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 +48,9 @@
     </developer>
   </developers>
 
+  <contributors>
+  </contributors>
+
 
   <properties>
 
 
 
   <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>www.juplo.de</id>
+      <url>scp://juplo.de/var/www/juplo/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>
       <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>
 
index 5df98b7..fcae74a 100644 (file)
@@ -30,7 +30,7 @@ import org.springframework.security.oauth2.common.OAuth2AccessToken;
  * support for signed requests, which are issued by Facebook, if the Canvas-
  * or Tab-Page of a Facebook-App is accessed for the first time.
  *
- * @author Kai Moritz <kai@juplo.de>
+ * @author Kai Moritz
  */
 public class SignedRequestAwareAuthorizationCodeAccessTokenProvider
     extends AuthorizationCodeAccessTokenProvider