我正在尋找一種方法讓 spring boot 管理一些插件版本而不使用 spring boot pom 作為我的父 pom?;旧衔也幌胍粋€(gè)父 pom(長(zhǎng)話短說(shuō),但我不想要一個(gè))。但是我仍然想要對(duì)正派和插件的版本管理。我從 spring 文檔中找到了以下解決方案來(lái)管理依賴項(xiàng)版本,但我找不到如何管理插件版本。是否有類似于以下邏輯的東西來(lái)管理我的插件版本?<dependencyManagement> <dependencies> <dependency> <!-- Import dependency management from Spring Boot --> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>2.0.4.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency></dependencies></dependencyManagement>以下是我希望管理的示例。在以前的項(xiàng)目中,我的父 pom 會(huì)處理我的一些插件的版本。<plugin> <groupId>some group<groupId> <artifactId>some artifact</artifactId> <version>I want this managed without a parent pom</version>謝謝!
添加回答
舉報(bào)
0/150
提交
取消