兼容SocketIO.js最新版本
This commit is contained in:
parent
7f16a891b1
commit
b8dc235094
|
@ -1,21 +1,13 @@
|
||||||
package com.zheng.cms.rpc;
|
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.
|
* Created by ZhangShuzheng on 2017/2/3.
|
||||||
*/
|
*/
|
||||||
public class ZhengCmsRpcServiceApplication {
|
public class ZhengCmsRpcServiceApplication {
|
||||||
|
|
||||||
private static final Logger LOGGER = LoggerFactory.getLogger(ZhengCmsRpcServiceApplication.class);
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
LOGGER.info(">>>>> zheng-cms-rpc-service 正在启动 <<<<<");
|
com.alibaba.dubbo.container.Main.main(args);
|
||||||
new ClassPathXmlApplicationContext("classpath:META-INF/spring/*.xml");
|
|
||||||
LOGGER.info(">>>>> zheng-cms-rpc-service 启动完成 <<<<<");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -9,7 +9,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>zheng-message-server</artifactId>
|
<artifactId>zheng-message-server</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<name>zheng-message-server</name>
|
<name>zheng-message-server</name>
|
||||||
<url>http://www.zhangshuzheng.cn</url>
|
<url>http://www.zhangshuzheng.cn</url>
|
||||||
|
@ -25,6 +25,13 @@
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
</dependency>
|
</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>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
|
@ -106,6 +113,24 @@
|
||||||
<testFailureIgnore>true</testFailureIgnore>
|
<testFailureIgnore>true</testFailureIgnore>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue