Java eclipse Maven version control

Which of the following files should be versioned? Why?

>Class files compiled from source code. > Other files generated during the build process, such as files in the target folder. > build. Property file, which contains information about the development environment, such as file path and database information. > Files created by eclipse, for example Project and classpath.

Solution

None of the above Not only can each file be recreated, but they are likely to be environment specific (development and runtime), and they will take up a lot of space in the repository

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>