From 0f3578ade9d3acf0bdc767d8345c02c7b25eb496 Mon Sep 17 00:00:00 2001
From: moparisthebest <admin@moparisthebest.com>
Date: Wed, 1 Mar 2017 00:55:52 -0500
Subject: [PATCH] Update pom.xml in preparation for maven central

---
 pom.xml | 99 ++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 73 insertions(+), 26 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3271bed..f1a62a6 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1,18 +1,44 @@
 <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/xsd/maven-4.0.0.xsd">
+    <parent>
+        <groupId>org.sonatype.oss</groupId>
+        <artifactId>oss-parent</artifactId>
+        <version>9</version>
+    </parent>
     <modelVersion>4.0.0</modelVersion>
-
-    <groupId>org.moparscape</groupId>
+    <groupId>com.moparisthebest.sxf4j</groupId>
     <artifactId>sxf4j</artifactId>
-    <version>0.0.1</version>
+    <version>0.1-SNAPSHOT</version>
     <packaging>jar</packaging>
 
-    <name>sxf4j</name>
+    <name>${project.artifactId}</name>
     <description>
-        The Simple XML Facade for Java or (SXF4J) serves as a simple facade or abstraction for various xml frameworks, e.g. org.w3c.dom, dom4j, xpp, xpp3 and xom, allowing the end user to plug in the desired xml framework at deployment time.
+        The Simple XML Facade for Java or (SXF4J) serves as a simple facade or abstraction for various XML frameworks, e.g. org.w3c.dom, dom4j, xpp, xpp3 and xom, allowing the end user to plug in the desired XML framework at deployment time.
     </description>
     <url>https://github.com/moparisthebest/sxf4j</url>
-
+    <organization>
+        <name>moparisthebest.com</name>
+        <url>https://www.moparisthebest.com</url>
+    </organization>
+    <developers>
+        <developer>
+            <id>moparisthebest</id>
+            <name>Travis Burtrum</name>
+            <email>admin@moparisthebest.com</email>
+            <url>https://www.moparisthebest.com/</url>
+        </developer>
+    </developers>
+    <licenses>
+        <license>
+            <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
+            <url>http://www.gnu.org/licenses/lgpl.html</url>
+        </license>
+    </licenses>
+    <scm>
+        <developerConnection>scm:git:git@github.com:moparisthebest/sxf4j.git</developerConnection>
+        <connection>scm:git:git@github.com:moparisthebest/sxf4j.git</connection>
+        <url>git@github.com:moparisthebest/sxf4j.git</url>
+    </scm>
     <dependencies>
 
         <!-- for Xpp3XmlElement -->
@@ -20,6 +46,7 @@
             <groupId>org.codehaus.plexus</groupId>
             <artifactId>plexus-utils</artifactId>
             <version>3.0.1</version>
+            <scope>provided</scope>
         </dependency>
 
         <!-- for XppXmlElement -->
@@ -27,6 +54,7 @@
             <groupId>com.thoughtworks.xstream</groupId>
             <artifactId>xstream</artifactId>
             <version>1.4.2</version>
+            <scope>provided</scope>
         </dependency>
 
         <!-- for Dom4jXmlElement-->
@@ -34,6 +62,7 @@
             <groupId>dom4j</groupId>
             <artifactId>dom4j</artifactId>
             <version>1.6.1</version>
+            <scope>provided</scope>
         </dependency>
 
         <!-- for XomXmlElement-->
@@ -41,27 +70,45 @@
             <groupId>xom</groupId>
             <artifactId>xom</artifactId>
             <version>1.2.5</version>
+            <scope>provided</scope>
         </dependency>
 
     </dependencies>
-
-    <developers>
-        <developer>
-            <name>Travis Burtrum</name>
-            <url>http://www.moparisthebest.com/</url>
-        </developer>
-    </developers>
-
-    <licenses>
-        <license>
-            <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
-            <url>http://www.gnu.org/licenses/lgpl.html</url>
-        </license>
-    </licenses>
-
-    <scm>
-        <developerConnection>scm:git:git@github.com:moparisthebest/sxf4j.git</developerConnection>
-        <connection>scm:git:git@github.com:moparisthebest/sxf4j.git</connection>
-        <url>git@github.com:moparisthebest/sxf4j.git</url>
-    </scm>
+    <build>
+        <finalName>${project.artifactId}</finalName>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.1</version>
+                <configuration>
+                    <source>1.6</source>
+                    <target>1.6</target>
+                    <debug>false</debug>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.2</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <serverId>ossrh</serverId>
+                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
+                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
+                </configuration>
+            </plugin>
+        </plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>2.7</version>
+                    <configuration>
+                        <additionalparam>-Xdoclint:none</additionalparam>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
 </project>