Why there are 2 root moudules in my project while I only set one in my pom.xml?

Answered

 

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?

 

 

 

0
2 comments

> 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/

0
Avatar
Permanently deleted user

That is clear. Thanks.

0

Please sign in to leave a comment.