Eclipse Basic Environment Configuration and SVN, MAVEN configuration, and Maven installation

Source: Internet
Author: User
Tags svn

Install Eclipse and Basic configuration

The first step: Unzip the Eclipse installation package, directly decompression can be, green version of the installation

Step two: Start Eclipse, note that eclipse here needs to rely on the JDK, and the version needs to match, otherwise the startup will be problematic.

Step three: Set the font, according to personal preferences, into the editor window-->preferences-->general-->appearance-->colors and fonts-->basic-- >text Font-->edit

After setting, remember to click Apply Application, then click OK, so you can finish, if you feel that the default font does not need to change, you can omit this step.

Fourth step: Modify the JDK for yourself in the computer installation version

Add and select it later. Creating a project By default uses the selected JDK.

Installing the SVN plugin

The first step: to have SVN plug-in package, online can download, unzip the SVN plugin package, the directory structure is as follows

Step two: Copy the SVN plugin package into the Dropins directory under the Eclipse installation directory

The third step: Restart Eclipse, open the view mode, select the SVN repository study, and then you can connect to the remote SVN repository operation.

Configuring the MAVEN Environment

Step one: Follow the steps below to get into MAVEN's configuration, which is similar to the configuration of the JDK. Window-->preferences

Enter MAVEN in the search box, then go to the following interface, select Installations, then click Add to add your own locally installed Maven

Choose your own maven after you've configured it.

Step Two: Configure the MAVEN local repository

Fourth step: Check the warehouse and build the index

First pull up maven view Window-->perferences-->show view-->other ... Enter MAVEN in the search box to open the Maven view

At this point, click the previously expanded arrow in the local repository, if there is no content, the index has not been completed, you need to right-click Local Repository, and then rebuild index re-indexed, it takes a little time to establish the effect of the index

Additional part: MAVEN Warehouse Building

First step: Download Maven's installation package, unzip it

Second step: Need to have a local warehouse repository

Note: The location of the repository local repository is not required to be placed in the MAVEN installation directory and can be placed in any directory.

Step Three: Configure the local warehouse repository in MAVEN

Copy repository directory path, here I am D:\apache-maven-3.3.3\repository, this path is determined by the actual path of repository, see where you are placed

Locate the settings.xml file under the Conf directory in the MAVEN installation directory

Open the location where the local warehouse configuration is found

Fourth step: Configure the MAVEN environment variables, and configure the JDK as a step, just replace the java_home with Maven_home,path in the configuration%maven_home%/bin,

There is an error in the following figure, the contents of the red box are actually%maven_home%\bin

Fifth step: Open the DOS command window, check if MAVEN is installed successfully, display the following content indicates that the installation is successful

Eclipse Basic Environment Configuration and SVN, MAVEN configuration, and Maven installation

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.