Changes needed for sonatype deploy
diff --git a/pom.xml b/pom.xml
index 03b4483..f755b82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,12 @@
<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>7</version>
+ </parent>
+
<groupId>com.alibaba</groupId>
<artifactId>hessian-lite</artifactId>
<packaging>jar</packaging>
@@ -64,6 +70,108 @@
<target>1.7</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>3.0.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>attach-javadoc</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <doclint>none</doclint>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <show>public</show>
+ <charset>UTF-8</charset>
+ <encoding>UTF-8</encoding>
+ <docencoding>UTF-8</docencoding>
+ <links>
+ <link>http://docs.oracle.com/javase/7/docs/api</link>
+ </links>
+ </configuration>
+ </plugin>
</plugins>
</build>
+
+ <url>https://github.com/dubbo/hessian-lite</url>
+ <inceptionYear>2011</inceptionYear>
+ <licenses>
+ <license>
+ <name>Apache License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <url>https://github.com/dubbo/hessian-lite</url>
+ <connection>scm:git:https://github.com/dubbo/hessian-lite.git</connection>
+ <developerConnection>scm:git:https://github.com/dubbo/hessian-lite.git</developerConnection>
+ </scm>
+ <mailingLists>
+ <mailingList>
+ <name>Development List</name>
+ <subscribe>dev-subscribe@dubbo.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@dubbo.apache.org</unsubscribe>
+ <post>dev@dubbo.apache.org</post>
+ </mailingList>
+ <mailingList>
+ <name>Commits List</name>
+ <subscribe>commits-subscribe@dubbo.apache.org</subscribe>
+ <unsubscribe>commits-unsubscribe@dubbo.apache.org</unsubscribe>
+ <post>commits@dubbo.apache.org</post>
+ </mailingList>
+ <mailingList>
+ <name>Issues List</name>
+ <subscribe>issues-subscribe@dubbo.apache.org</subscribe>
+ <unsubscribe>issues-unsubscribe@dubbo.apache.org</unsubscribe>
+ <post>issues@dubbo.apache.org</post>
+ </mailingList>
+ </mailingLists>
+ <developers>
+ <developer>
+ <id>dubbo.io</id>
+ <name>The Dubbo Project Contributors</name>
+ <email>dev-subscribe@dubbo.apache.org</email>
+ <url>http://dubbo.apache.org/</url>
+ </developer>
+ </developers>
+
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://www.apache.org/</url>
+ </organization>
+
+ <issueManagement>
+ <system>Github Issues</system>
+ <url>https://github.com/dubbo/hessian-lite/issues</url>
+ </issueManagement>
</project>