相关文章推荐

2、配置子模块之间的依赖关系

在对应子模块的pom.xml中进行依赖,子模块与子模之间是通过打包后的jar包引用来进行依赖的


示例:
   <dependencies>
       <!--配置service依赖的dao模块-->
       <dependency>
           <groupId>cn.woniu</groupId>
           <artifactId>book-dao</artifactId>
           <version>1.0-SNAPSHOT</version>
       </dependency>
   </dependencies>
 
推荐文章