在子模块(danyu-web)pom.xml中添加该子模块的依赖

<dependencies>

        <!-- 通用工具-->
        <dependency>
            <groupId>com.danyu</groupId>
            <artifactId>danyu-common</artifactId>
            <version>0.0.1</version>
            <!-- 该模块的packaging为war,所以下面两项必须设置,否则打包会出出错  -->
            <type>jar</type>
            <!--            <classifier>classes</classifier>-->
        </dependency>

        <!-- 数据管理-->
        <dependency>
            <groupId>com.danyu</groupId>
            <artifactId>danyu-manage</artifactId>
            <version>0.0.1</version>
        </dependency>


    </dependencies>

 

相关文章:

  • 2022-12-23
  • 2021-09-10
  • 2021-04-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2021-10-09
  • 2021-05-22
  • 2022-12-23
  • 2021-06-14
  • 2021-08-25
  • 2021-10-16
相关资源
相似解决方案