These are chat archives for alibaba/dubbo

26th
Dec 2017
wfd0807
@wfd0807
Dec 26 2017 02:13
合并dubbox的功能的版本什么时候发布?有具体的时间点吗?
Ian Luo
@beiwei30
Dec 26 2017 02:21
should be soon
zhangcong
@zhangcong001
Dec 26 2017 03:13
下载dubbo源码后,编译失败,说是下载不到jar包,我从哪里可以获取可以使用的mvn配置文件啊
Ian Luo
@beiwei30
Dec 26 2017 03:14
@jfxl post error message
zhangcong
@zhangcong001
Dec 26 2017 03:14
Error resolving version for plugin 'org.apache.maven.plugins:maven-source-plugin' from the repositories [local (D:\Program Files\apache-maven-3.3.3\rep), kafeitu (http://maven.kafeitu.me/nexus/content/repositories/public), ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2)]: Plugin not found in any plugin repository -> [Help 1]
@beiwei30 thankyou
tuser4198
@tuser4198
Dec 26 2017 03:16
提供者用2.5.7,消费者用dubbo低版本。这样会有问题吗
Ian Luo
@beiwei30
Dec 26 2017 03:16
@jfxl pls. remove your settings.xml and give it a retry, it looks like you configure the mirror repository but don’t configure the mavan central repo
@tuser4198 it should work in general, but you may experience unexpected compatibility issue
chenzp1
@chenzp1
Dec 26 2017 03:17
厉害
zhangcong
@zhangcong001
Dec 26 2017 03:45
@beiwei30 你好,我已经切换成中央仓库了,但是下载还是报错 Failed to execute goal on project dubbo: Could not resolve dependencies for project com.alibaba:dubbo:jar:2.5.8: The following artifacts could not be resolved: com.alibaba:dubbo-config-api:jar:2.5.8, com.alibaba:dubbo-config-spring:jar:2.5.8, com.alibaba:dubbo-remoting-netty:jar:2.5.8, com.alibaba:dubbo-remoting-netty4:jar:2.5.8, com.alibaba:dubbo-remoting-mina:jar:2.5.8, com.alibaba:dubbo-remoting-grizzly:jar:2.5.8, com.alibaba:dubbo-remoting-p2p:jar:2.5.8, com.alibaba:dubbo-remoting-http:jar:2.5.8, com.alibaba:dubbo-rpc-default:jar:2.5.8, com.alibaba:dubbo-rpc-injvm:jar:2.5.8, com.alibaba:dubbo-rpc-rmi:jar:2.5.8, com.alibaba:dubbo-rpc-hessian:jar:2.5.8, com.alibaba:dubbo-rpc-http:jar:2.5.8, com.alibaba:dubbo-rpc-webservice:jar:2.5.8, com.alibaba:dubbo-rpc-thrift:jar:2.5.8, com.alibaba:dubbo-rpc-memcached:jar:2.5.8, com.alibaba:dubbo-rpc-redis:jar:2.5.8, com.alibaba:dubbo-registry-default:jar:2.5.8, com.alibaba:dubbo-registry-multicast:jar:2.5.8, com.alibaba:dubbo-registry-zookeeper:jar:2.5.8, com.alibaba:dubbo-registry-redis:jar:2.5.8, com.alibaba:dubbo-monitor-default:jar:2.5.8, com.alibaba:dubbo-container-spring:jar:2.5.8, com.alibaba:dubbo-container-jetty:jar:2.5.8, com.alibaba:dubbo-container-log4j:jar:2.5.8, com.alibaba:dubbo-container-logback:jar:2.5.8, com.alibaba:dubbo-qos:jar:2.5.8: Could not find artifact com.alibaba:dubbo-config-api:jar:2.5.8 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
Ian Luo
@beiwei30
Dec 26 2017 03:48
@jfxl let me check
zhangcong
@zhangcong001
Dec 26 2017 03:57
@beiwei30 貌似中央仓库没有jar
Ian Luo
@beiwei30
Dec 26 2017 05:41
@jfxl pls. clean up your local repo, and retry. dubbo.jar is an all-in-one jar which includes everything, but I do find we didn’t deploy its source jar
zhangcong
@zhangcong001
Dec 26 2017 05:42
@beiwei30 ok
zhangcong
@zhangcong001
Dec 26 2017 09:38
@beiwei30 我知道这个jar,问题是在于,编译下载的dubbo源码的时候,会有报错,找不到jar包;我清空本地仓库之后,重新编译还是之前的报错
Ian Luo
@beiwei30
Dec 26 2017 09:38
@jfxl 你是编译 dubbo 本身?
zhangcong
@zhangcong001
Dec 26 2017 09:39
是的
编译dubbo-admin可以成功
编译其他的模块报错
Ian Luo
@beiwei30
Dec 26 2017 09:46
我这边没问题,你找你的同事也试试:
mvn -DskipTests=true clean package
[INFO] dubbo-simple ....................................... SUCCESS [  0.011 s]
[INFO] dubbo-registry-simple .............................. SUCCESS [  7.812 s]
[INFO] dubbo-monitor-simple ............................... SUCCESS [ 15.335 s]
[INFO] dubbo-admin ........................................ SUCCESS [ 16.769 s]
[INFO] dubbo-demo ......................................... SUCCESS [  0.022 s]
[INFO] dubbo-demo-api ..................................... SUCCESS [  0.943 s]
[INFO] dubbo-demo-provider ................................ SUCCESS [  1.487 s]
[INFO] dubbo-demo-consumer ................................ SUCCESS [  1.316 s]
[INFO] dubbo-test ......................................... SUCCESS [  0.004 s]
[INFO] dubbo-test-benchmark ............................... SUCCESS [  5.307 s]
[INFO] dubbo-test-compatibility ........................... SUCCESS [  0.004 s]
[INFO] dubbo-test-spring3 ................................. SUCCESS [  1.320 s]
[INFO] dubbo-test-integration ............................. SUCCESS [  0.041 s]
[INFO] dubbo-test-examples ................................ SUCCESS [  4.157 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:48 min
[INFO] Finished at: 2017-12-26T17:44:28+08:00
[INFO] Final Memory: 40M/485M
[INFO] ------------------------------------------------------------------------
zhangcong
@zhangcong001
Dec 26 2017 09:50
@beiwei30 使用命令可以成功 ;我之前是在idea中编译的
Ian Luo
@beiwei30
Dec 26 2017 09:51
@jfxl by using build -> build project in jetbrain idea?
zhangcong
@zhangcong001
Dec 26 2017 09:54
是的
Xin Wang
@lovepoem
Dec 26 2017 10:08
单元测试有跑不过的?
zhangcong
@zhangcong001
Dec 26 2017 10:11
郁闷,在idea命令行使用mvn clean isntall 没有问题;但是使用这个也报错
image.png
上面的profile一个一个都试了下,都不行
Xin Wang
@lovepoem
Dec 26 2017 10:12
报什么错?
zhangcong
@zhangcong001
Dec 26 2017 10:36
解决了,我编译的不是root,是dubbo那个模块,所以一直编译不通过