release 1.5.1 & 1.0.3

This commit is contained in:
jinyu
2015-07-04 22:15:45 +08:00
parent 82cc589640
commit ddf3d77041
16 changed files with 122 additions and 27 deletions
+5 -1
View File
@@ -52,4 +52,8 @@
* 2015-06-10
+ released 1.0.2
+ released 1.0.2
* 2015-07-04
+ released 1.0.3
+3 -3
View File
@@ -15,19 +15,19 @@ base on netty.
如何使用
-------
###maven依赖(1.0.2,2015-06-10 released)
###maven依赖(1.0.3,2015-07-04 released)
<dependency>
<groupId>com.foxinmy</groupId>
<artifactId>weixin4j-server</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</dependency>
###编写服务启动类
明文模式并总是调试输出微信请求信息的服务启动类.
public class MessageServerStartup{
public static void main(String[] args) {
new WeixinServerBootstrap("开发者token").addHandler(
new WeixinServerBootstrap("appid或微信原始ID","开发者token").addHandler(
DebugMessageHandler.global).startup();
}
}
+43 -1
View File
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.foxinmy</groupId>
<artifactId>weixin4j-server</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<name>weixin4j-server</name>
<url>https://github.com/foxinmy/weixin4j/tree/master/weixin4j-server</url>
<description>微信消息netty服务器</description>
@@ -235,6 +235,7 @@
</build>
</profile>
</profiles>
<!--
<distributionManagement>
<snapshotRepository>
<id>oss-snapshot</id>
@@ -245,4 +246,45 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
-->
<distributionManagement>
<repository>
<id>releases</id>
<name>Internal Releases</name>
<url>http://42.62.64.62:8081/nexus/content/repositories/releases/
</url>
</repository>
<snapshotRepository>
<id>snapshots</id>
<name>Internal Snapshots</name>
<url>http://42.62.64.62:8081/nexus/content/repositories/snapshots/
</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<id>public</id>
<name>Public Repositories</name>
<url>http://42.62.64.62:8081/nexus/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>public</id>
<name>Public Repositories</name>
<url>http://42.62.64.62:8081/nexus/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
</project>