How to use eclipse to develop a MAVEN project using JAVA8 on GitHub

Source: Internet
Author: User

1. The version we are using is Eclipse4.4.2 for Java EE Web developers, supports JAVA8, installs JDK requires 1.8:


2, we first click on the menu of file, Import ..., and then choose Git---Projects from Git, import the project from a git data source:

3. Load data from a remote URI:

4, fork the project to your GitHub home page, how to fork refer to Here's Getting Started Guide link, then check out the code from your GitHub account and replace the following YSC with your GitHub account name:

 

5. Select Local Save path:


6. Select Import as General project:

7. Project Name:

8. Imported Items Htmlextractor has two sub-items that eclipse does not recognize after importing, but you can use Git's functionality.

project Htmlextractor root directory, Run command: mvn eclipse:eclipse

 

htmlextractor two sub-projects into eclipse, from where we can see that for MAVEN projects, Eclipse makes it cool without NetBeans and IntelliJ idea.

 

11. Select Htmlextractor Sub-project Html-extractor:

12. Find the class Defaulthtmlextractor in the Project Explorer window on the left, right-click in the Edit window on the right and select Run as-Java application:


How to use eclipse to develop a MAVEN project using JAVA8 on GitHub

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.