提交 b8dc2350 编写于 作者: shuzheng5201314's avatar shuzheng5201314

兼容SocketIO.js最新版本

上级 7f16a891
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);
}
}
......@@ -9,7 +9,7 @@
</parent>
<artifactId>zheng-message-server</artifactId>
<packaging>jar</packaging>
<packaging>war</packaging>
<name>zheng-message-server</name>
<url>http://www.zhangshuzheng.cn</url>
......@@ -25,6 +25,13 @@
<version>1.0.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.corundumstudio.socketio</groupId>
<artifactId>netty-socketio</artifactId>
<version>1.7.12.zheng</version>
<scope>system</scope>
<systemPath>${basedir}/lib/netty-socketio-1.7.12.zheng.jar</systemPath>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
......@@ -106,6 +113,24 @@
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>compile</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/lib</outputDirectory>
<includeScope>system</includeScope>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册