In Eclipse, Maven projects deliver SVN to ignore configuration files

Source: Internet
Author: User

In Eclipse, Maven projects deliver SVN to ignore configuration files

The combination of eclipse and maven plug-ins provides convenient conditions for us to quickly build a development environment. However, the class files, configuration files, and packaging files compiled by maven do not actually require version control, the development environment of each person in the team may be different. settings directory and. project and other files synchronized to svn may even cause conflicts and inconvenience, so it is best to ignore them to maintain a clean svn environment.

First, open Window> preferences in the eclipse menu.

Select Team> Ignored Resources from the list on the left, and click Add Pattern on the right...

Add the following Pattern one by one:

. Settings
. Project
. Classpath
. Class
Target
. DS_Store

Among them,. DS_Store is unique in the Mac system, and the system will automatically create the storage index file in the directory.

Click Apply, OK, and the settings are complete. These annoying additional information will not be synchronized when you submit a new project again.

See Maven practice (translated by Xu xiaobin) for a complete hd pdf file.

Maven 3.1.0 release, Project Build Tool

Install Maven in Linux

Maven3.0 configuration and simple use

Set up sun-jdk and Maven2 in Ubuntu

Get started with Maven

Maven details: click here
Maven: click here

This article permanently updates the link address:

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.