From 8bee184280cb0090ba5d1b40ddfe29553b41f39a Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Fri, 28 Nov 2014 22:20:57 -0500
Subject: [PATCH] Cleaning up the poms to use the official repo.

Change-Id: Ia9ad6cfba47768ec1fe0a47e0425405e55a56c95
---
 pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 55 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5c01c9bc..22ba77bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,11 +4,12 @@
 	<groupId>com.syncleus.ferma</groupId>
 	<artifactId>ferma</artifactId>
 	<packaging>jar</packaging>
-	<version>2.0-SNAPSHOT</version>
+	<version>2.0.0-SNAPSHOT</version>
 
 
 	<name>Ferma</name>
 	<description>An ORM for the Tinkerpop2 graph stack.</description>
+	<url>http://wiki.syncleus.com/index.php/Ferma</url>
 
 	<licenses>
 		<license>
@@ -26,6 +27,7 @@
 	<scm>
 		<connection>scm:git:http://gerrit.syncleus.com/Ferma</connection>
 		<developerConnection>scm:git:ssh://gerrit.syncleus.com:29418/Ferma</developerConnection>
+		<url>http://gerrit.syncleus.com/Ferma</url>
 	</scm>
 
 	<ciManagement>
@@ -68,21 +70,19 @@
 
 	<properties>
 		<project.build.encoding>UTF-8</project.build.encoding>
-		<project.build.sourceEncoding>${project.build.encoding}</project.build.sourceEncoding>
-		<project.reporting.outputEncoding>${project.build.encoding}</project.reporting.outputEncoding>
-		<project.build.resourceEncoding>${project.build.encoding}</project.build.resourceEncoding>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+		<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
 	</properties>
 
 	<distributionManagement>
 		<repository>
-			<id>syncleus.releases</id>
-			<name>Release Repository</name>
-			<url>http://repo.syncleus.com/repository/releases/</url>
+			<id>ossrh.releases</id>
+			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
 		</repository>
 		<snapshotRepository>
-			<id>syncleus.snapshots</id>
-			<name>Snapshot Repository</name>
-			<url>http://repo.syncleus.com/repository/snapshots/</url>
+			<id>ossrh.snapshots</id>
+			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
 		</snapshotRepository>
 	</distributionManagement>
 
@@ -137,6 +137,51 @@
 					<encoding>${project.build.sourceEncoding}</encoding>
 				</configuration>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-source-plugin</artifactId>
+				<version>2.2.1</version>
+				<executions>
+					<execution>
+						<id>attach-sources</id>
+						<goals>
+							<goal>jar-no-fork</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<version>2.9.1</version>
+				<configuration>
+					<!-- This is temporary until we get the javadocs to compile -->
+					<sourcepath>src/test/java/</sourcepath>
+					<show>public</show>
+				</configuration>
+				<executions>
+					<execution>
+						<id>attach-javadocs</id>
+						<goals>
+							<goal>jar</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-gpg-plugin</artifactId>
+				<version>1.5</version>
+				<executions>
+					<execution>
+						<id>sign-artifacts</id>
+						<phase>verify</phase>
+						<goals>
+							<goal>sign</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-surefire-plugin</artifactId>
-- 
GitLab