<dependency>
<groupId>app.myoss.cloud</groupId>
<artifactId>spring-boot-build</artifactId>
<version>2022.0.3.RELEASE</version>
</dependency>
<dependency>
<groupId>app.myoss.cloud</groupId>
<artifactId>myoss-spring-boot-parent</artifactId>
<version>2022.0.3.RELEASE</version>
</dependency>
<dependency>
<groupId>app.myoss.cloud</groupId>
<artifactId>myoss-cloud-dependencies</artifactId>
<version>2022.0.3.RELEASE</version>
</dependency>
-
pom.xml
继承的方式<parent> <groupId>app.myoss.cloud</groupId> <artifactId>myoss-spring-boot-parent</artifactId> <version>2022.0.3.RELEASE</version> </parent>
-
pom.xml
使用import
的方式<dependencyManagement> <dependencies> <dependency> <groupId>app.myoss.cloud</groupId> <artifactId>myoss-cloud-dependencies</artifactId> <version>${myoss-cloud-dependencies.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>