diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/java/com/zheng/cms/rpc/ZhengCmsRpcServiceApplication.java b/zheng-cms/zheng-cms-rpc-service/src/main/java/com/zheng/cms/rpc/ZhengCmsRpcServiceApplication.java
index 6ecceb13..815a53d9 100644
--- a/zheng-cms/zheng-cms-rpc-service/src/main/java/com/zheng/cms/rpc/ZhengCmsRpcServiceApplication.java
+++ b/zheng-cms/zheng-cms-rpc-service/src/main/java/com/zheng/cms/rpc/ZhengCmsRpcServiceApplication.java
@@ -1,21 +1,13 @@
package com.zheng.cms.rpc;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-
/**
* 服务启动类
* Created by ZhangShuzheng on 2017/2/3.
*/
public class ZhengCmsRpcServiceApplication {
- private static final Logger LOGGER = LoggerFactory.getLogger(ZhengCmsRpcServiceApplication.class);
-
public static void main(String[] args) {
- LOGGER.info(">>>>> zheng-cms-rpc-service 正在启动 <<<<<");
- new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
- LOGGER.info(">>>>> zheng-cms-rpc-service 启动完成 <<<<<");
+ com.alibaba.dubbo.container.Main.main(args);
}
}
diff --git a/zheng-message/zheng-message-server/lib/netty-socketio-1.7.12.zheng.jar b/zheng-message/zheng-message-server/lib/netty-socketio-1.7.12.zheng.jar
new file mode 100644
index 00000000..36b2040c
Binary files /dev/null and b/zheng-message/zheng-message-server/lib/netty-socketio-1.7.12.zheng.jar differ
diff --git a/zheng-message/zheng-message-server/pom.xml b/zheng-message/zheng-message-server/pom.xml
index b0ed9edf..7e5586d5 100644
--- a/zheng-message/zheng-message-server/pom.xml
+++ b/zheng-message/zheng-message-server/pom.xml
@@ -9,7 +9,7 @@
zheng-message-server
- jar
+ war
zheng-message-server
http://www.zhangshuzheng.cn
@@ -25,6 +25,13 @@
1.0.0
jar
+
+ com.corundumstudio.socketio
+ netty-socketio
+ 1.7.12.zheng
+ system
+ ${basedir}/lib/netty-socketio-1.7.12.zheng.jar
+
junit
junit
@@ -106,6 +113,24 @@
true
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 2.10
+
+
+ copy-dependencies
+ compile
+
+ copy-dependencies
+
+
+ ${project.build.directory}/${project.build.finalName}/WEB-INF/lib
+ system
+
+
+
+