springboot多module依赖
這里只提供部分pom內容,全手寫,請勿粘貼使用,僅供參考。主module:
<groupId>com.xxx.a</groupId>
<artifactId>Master</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Master</name>
<modules>
<module>aName</module>
<module>bName</module>
<module>cName</module>
<module>dName</module>
</modules>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.1.RELEASE</version>
</parent>
<properties>
<mybatis-spring-boot.version>1.1.1</mybatis-spring-boot.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis-spring-boot.version}</version>
<dependency>
<dependencies>
module a的pom內容如下(module b,module c,module d同理):
<parent>
<groupId>com.xxx.a</groupId>
<artifactId>Master</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>aName</artifactId>
<name>aName</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
?
總結
以上是生活随笔為你收集整理的springboot多module依赖的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 学计算机专业表情包,大学专业恶搞表情包,
- 下一篇: 一文了解人工智能神经网络的原理