spring-dubbo升级

框架部分

01.trunc\framework\ycgwl

 

<quartz-version>2.2.0</quartz-version>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz-version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz-oracle</artifactId>
<version>1.8.6</version>
</dependency>

<java-version>1.7</java-version> 
<spring-version>3.2.9.RELEASE</spring-version> =>

<java-version>1.8</java-version>
<spring-version>4.2.6.RELEASE</spring-version>
junit 换为
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>

jedis =>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
</dependency>


redisClient
public JedisPoolConfig getPoolConfig() {
if(poolConfig == null) {
poolConfig = new JedisPoolConfig();
poolConfig.setMaxTotal(1024);
poolConfig.setMaxIdle(200);
poolConfig.setMaxWaitMillis(1000);
poolConfig.setTestOnBorrow(false);
poolConfig.setTestOnReturn(false);
}
return poolConfig;
}
redis-spring.xml
<bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig">
<property name="maxTotal" value="${redis.pool.maxActive}"></property>
<property name="maxIdle" value="${redis.pool.maxIdle}"></property>
<property name="maxWaitMillis" value="${redis.pool.maxWait}"></property>
<property name="testOnBorrow" value="${redis.pool.testOnBorrow}"></property>
<property name="testOnReturn" value="${redis.pool.testOnReturn}"></property>
</bean>
 


01.trunc\framework\ycgwl-framework-support

ognl 换为
 <dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.1-GA</version>
</dependency>
<dependency>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
<exclusions>
<exclusion>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
<version>3.0.6</version>
</dependency>




子项目 parent pom.xml
<config_toolkit_version>3.2.2-RELEASE</config_toolkit_version>
<spring.version>4.2.6.RELEASE</spring.version>
<junit_version>4.9</junit_version>

<dubbo-version>2.8.4</dubbo-version>
<zookeeper_version>3.4.6</zookeeper_version>
<zkclient_version>0.1</zkclient_version>

<kryo_version>2.24.0</kryo_version>
<kryo-serializers_version>0.26</kryo-serializers_version>
<fst_version>1.55</fst_version>
<!--版本升级-->
<dependency>
<groupId>com.esotericsoftware.kryo</groupId>
<artifactId>kryo</artifactId>
<version>${kryo_version}</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>${kryo-serializers_version}</version>
</dependency>
<dependency>
<groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId>
<version>${fst_version}</version>
</dependency>
<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
<version>${zkclient_version}</version>
</dependency>



子项目 service-impl pom.xml
集成配置中心需要
<dependency>
<groupId>com.dangdang</groupId>
<artifactId>config-toolkit</artifactId>
<version>${config_toolkit_version}</version>
</dependency>

调用对方服务 
<dependency>
<groupId>com.ycg.rosefinch.mmstem.billinfoservice</groupId>
<artifactId>com-ycg-rosefinch-mmstem-billInfoservice-service</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>

zkclient 
<dependency>
<groupId>com.101tec</groupId>
<artifactId>zkclient</artifactId>
</dependency>
=>
<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
</dependency>

新增
<!--版本升级-->
<dependency>
<groupId>com.esotericsoftware.kryo</groupId>
<artifactId>kryo</artifactId>
<version>${kryo_version}</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>${kryo-serializers_version}</version>
</dependency>
<dependency>
<groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId>
<version>${fst_version}</version>
</dependency>

web dubbo
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.2.5.Final</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo-version}</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper_version}</version>
</dependency>

<dependency>
<groupId>com.github.sgroschupf</groupId>
<artifactId>zkclient</artifactId>
<version>${zkclient_version}</version>
</dependency>



javassist层级依赖 (额外应急)
 <dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.1-GA</version>
</dependency>




posted @ 2017-12-29 11:36  zfzf1  阅读(488)  评论(0编辑  收藏  举报