简体   繁体   English

带有SVN的Maven多模块项目

[英]Maven Multi-module projects with SVN

I have a Maven multi-module project (one parent project with three children). 我有一个Maven多模块项目(一个父项目和三个孩子)。 The parents packaging is set to POM. 父包装设置为POM。

The issue is SVN wont check in the source code of the child projects (only their pom.xml files). 问题是SVN不会签入子项目的源代码(仅检查其pom.xml文件)。 Is there a solution to this? 有针对这个的解决方法吗?

try this: first, checkout your parent project, which includes its several children project folders; 尝试以下操作:首先,签出您的父项目,其中包括其几个子项目文件夹; after checkout is finished, "File"->"Import"->"Existing Maven Projects", and select the parent project into "Root Directory", you'll see the children project in the "Projects" diagram, then just select the ones as you want! 签出完成后,单击“文件”->“导入”->“现有Maven项目”,然后将父项目选择到“根目录”中,您将在“项目”图中看到子项目,然后选择你想要的!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM