spring-boot-maven-plugin报红

看了很多说加版本号和apache-maven-3.3.9\conf\settings.xml中配置阿里云镜像

<mirror>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
</mirror>

我都没用

直到配置了一个动态版本号就好了

<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${project.parent.version}</version>

posted @ 2021-12-26 21:33  Eveeee  阅读(129)  评论(0)    收藏  举报