checkout the lastest project source code with commands blow:
git clone https://github.com/apache/dubbo.git dubbo
We use master
as the major branch for new feature development, and use other branches for maintenance. Tags for all versions can be checked via https://github.com/apache/dubbo/tags.
Dubbo relies on maven as the building tool.
Requirements:
The following MAVEN_OPTS
should be configured before building:
export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512m
build with below command:
mvn clean install
skip testing using below building command:
mvn install -Dmaven.test.skip
build Dubbo source code jar package with below command.
mvn clean source:jar install -Dmaven.test.skip
and modify the dubbo dependency in your sample project to the SANPSHOT version of the local repository, and then use remote debugger to debug dubbo.
use below command to generate IDE.
mvn idea:idea
mvn eclipse:eclipse
Importing into eclipse
Firstly, a maven repository needs to be configured in eclipse. Define M2_REPO
and point it to the local maven repository by clicking Preferences -> Java -> Build Path -> Classpath
.
Use the following maven command as well:
mvn eclipse:configure-workspace -Declipse.workspace=/path/to/the/workspace/
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.