兼容SocketIO.js最新版本
This commit is contained in:
parent
7f16a891b1
commit
b8dc235094
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue