Import ACTIVEMQ Source to eclipse

Source: Internet
Author: User

First, prepare

The Eclipse Luna version itself already supports Git and maven.

Apache-maven installed, I am using 3.1.1.

Have a GitHub account.

second, import the source code

1. Start eclipse, "File"-"Import", select "Git"-"Project from Git", click "Next" to continue.

2. Click the Clone URI, Click "Next" to continue.

3, enter Uri:https://github.com/apache/activemq.git,github user name and password, dot "Next" continues. If your company needs to configure a proxy on the Internet, you need to set up an eclipse proxy. dot "Next" continues.

4, select the version of the code you want to download, and click "Next" to continue.

5, select the local path where the code is saved, point to "Next" waits for the download code to end. For example, the code goes into eclipse.

third, compiling, packaging

Compile and package using the following command

Package, skip test phase MVN package-dskiptests//package, temporarily skip test code compilation MVN Package-dmaven.test.skip=true

Locate the activemq-5.11 project below Pom.xml, right--run as-maven bulid, enter goals or package-dskiptests in-dmaven.test.skip=true. Here we skipped the test for the time being because the first compilation of the download dependency package took too long.

After a long wait, you can see your own packaged apache-activemq in the Assembly\target directory.



Import ACTIVEMQ Source to eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.