Eclipse in Maven project delivery svn ignore config file

Source: Internet
Author: User

The source of this article: http://blog.csdn.net/chaijunkun/article/details/34805385, reprint please specify. Because I do not regularly collate the relevant blog posts, the corresponding content will be improved. It is therefore highly recommended to view this article in the original source.

The combination of Eclipse and MAVEN plug-ins provides a convenient way for us to quickly build a development environment, but maven-compiled class files, configuration files, and packaged files don't really need to be versioned, and everyone on the team may not have the same development environment, synchronizing files such as. settings directories and. Project to SVN can even cause conflicts and inconvenience, so it's best to ignore them and keep a clean SVN environment.

First open the Eclipse menu in Window->preferences

Select Team->ignored Resources in the list on the left, then right-click on the Add Pattern ...

Add the following pattern individually:

. settings

. Project

. classpath

. class

Target

. Ds_store

Among them,. Ds_store is unique to the MAC system, and the storage index file is automatically created in the directory.

Once you've added it, click on Apply,ok to finish setting up. This annoying additional information will not be synced when submitting a new project again.

Some of the content is quoted from: http://www.myexception.cn/cvs-svn/472249.html

Eclipse in Maven project delivery svn ignore config file

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.