dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

maven deploy 到 nexus私服不完全 #146

Open valleylord opened 8 years ago

valleylord commented 8 years ago

我修改了dubbox目录下的pom.xml,增加了,

    <distributionManagement>
        <repository>
            <id>releases</id>  
            <url>http://maven-private-server:8081/nexus/content/repositories/releases</url>
        </repository>       
    </distributionManagement>

然后使用 mvn deploy -DskipTests,应该要发布到 nexus 上,但是实际上,只有

dubbo
dubbo-admin
dubbo-demo-consumer
dubbo-demo-provider
dubbo-monitor-simple
dubbo-parent
dubbo-registry-simple
hessian-lite

这几个发布到了nexus上,其他的,比如 dubbo-rpc 系列等等,都没有deploy上去,还需要添加哪些才可以全部deploy?或者说我deploy的参数有什么不对?

求指导,谢谢

valleylord commented 8 years ago

我在 maven deploy 的时候参考了这篇文章

valleylord commented 8 years ago

我好像找到了,有一些pom.xml中配置了 <skip_maven_deploy>true</skip_maven_deploy>,改为false即可,为什么默认配置不一样呢?

wangjia2016 commented 8 years ago

这个项目的编译很搞人,浪费很多时间

wuwen5 commented 8 years ago
  1. mvn clean install -Dmaven.test.skip
  2. mvn deploy:deploy-file -DgroupId=com.alibaba -DartifactId=dubbo -Dversion=2.8.x -Dpackaging=jar -Dfile=dubbo/target/dubbo-2.8.x.jar -Durl=http://host/nexus/content/repositories/releases -DrepositoryId=releases