In IntelliJ idea, the use of Maven alone and the use of SVN alone, we may all, but how to use both at the same time, today toss the next, contribute to everyone:
If you create a new SVN project through idea, the MAVEN profile will not work, the project cannot be compiled, and if you create a new MAVEN project that cannot be synchronized with SVN, the test is effective:
1, first through the SVN tool, is generally small turtle (TortoiseSVN), the project will be downloaded to the local, the project needs to include Pom.xml files;
2, the Idea tool, the new MAVEN project, Select the Pom.xml that has been downloaded, all the way next, this will automatically download the jar package that Maven contains, note: The process of downloading MAVEN project will let you choose whether to introduce SVN information (idea will detect the. svn file), must choose Yes;
3, after the download is complete, configure some JDK, jar package and other environment variables introduced, compiled through;
4, can use the SVN function normally;
Intellij idea, how to use MAVEN+SVN