在<dependencyManagement>
-<dependencies>
标签下添加<dependency>
块,并声明<type>
为pom
、<scope>
为import
,如下示例:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.finalframework.auto</groupId>
<artifactId>final-auto</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
网友评论