项目场景:
springboot项目 使用maven进行打包操作
问题描述:
Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.5.0:repackage (default) on project lsmy-bi-web: Execution default of goal org.springframework.boot:spring-boot-maven-plugin:2.5.0:repackage failed: Plugin org.springframework.boot:spring-boot-maven-plugin:2.5.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.springframework.boot:spring-boot-buildpack-platform:jar:2.5.0, org.springframework.boot:spring-boot-loader-tools:jar:2.5.0, org.apache.maven.shared:maven-common-artifact-filters:jar:3.2.0, org.apache.maven:maven-model:jar:3.6.3, org.apache.maven:maven-artifact:jar:3.6.3: Cannot access nexus-snapshots (http://repository.liej.com:8081/nexus/content/groups/public) in offline mode and the artifact org.springframework.boot:spring-boot-buildpack-platform:jar:2.5.0 has not been downloaded from it before.