How to download, compile dubbox, and added to the local maven repository

 Since dubbo team has been disbanded, but the extended version dubbox Dangdang continues to grow, but dubbox not yet been issued to the central warehouse, so the need to manually compile our own local warehouse before they can be used, otherwise the central warehouse not download dubbox related jar files or configuration.

First, tell us about the characteristics of dubbox:

(1) support REST-style remote call (HTTP_JSON / XML);

(2) supports the FST Kryo and efficient Java serialization achieved;

(3) supports Jackson JSON serialization;

(4) support HTTP remoting system based on the embedded Tomcat;

(5) to upgrade spring 3.x;

(6) Upgrade zookeeper client;

(7) supports a fully configured based Dubbo Java code.

Here are download and compilation process:

(1) git clone dubbox down on github, address  https://github.com/dangdangdotcom/dubbox

 

 

(2) performed at mvn install the downloaded -Dmaven.test.skip = true local path to compile dubbo.

If I install the D: \ java_lib \ directory under dubbox, then enter the path under cmd, executing the command to compile

(3) the words and see build success found in each folder are showing a target folder, then compile successfully.

Run under (4) cmd

mvn install: install-file -Dfile = D: \ java_lib \ dubbox \ dubbo \ target \ dubbo-2.8.4.jar -DgroupId = com.alibaba -DartifactId = dubbo -Dversion = 2.8.4 -Dpackaging = jar -DgeneratePom = true to the compiled dubbox added to the local repository. Note the Dfile in the paths with their path dubbo-2.8.4.jar

See build success words expressed successfully added to your maven repository view, you can see dubbo been added on at com / alibaba.

 

git clone download dubbox

Guess you like

Origin www.cnblogs.com/mengjie88/p/11995217.html