Why there are 2 root moudules in my project while I only set one in my pom.xml?
已回答
HI,
I set only one root moudule in my pom.xml.
<groupId>cn.homecredit</groupId>
<artifactId>sms.helpdesk.message</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>sms.helpdesk.message-conf</module>
<module>sms.helpdesk.message-sql</module>
<module>sms.helpdesk.message-web</module>
</modules>
But as you can see as below, in Project Structure, there are two root moudules, one is sms, and the other one is trunk. How does this come?

请先登录再写评论。
> one is sms, and the other one is trunk.
sms is not a module but a module goup. IntelliJ IDEA allows you to logically group modules, based on their names. See https://blog.jetbrains.com/idea/2017/09/intellij-idea-2017-3-eap-grouping-modules-according-to-their-qualified-names-and-more/
That is clear. Thanks.