springcloud进行maven打包时候出现警告

问题:

[WARNING]

[WARNING] Some problems were encountered while building the effective model for com.schoolmall.micro.server:cloud-monitor-center:jar:0.0.1-SNAPSHOT

[WARNING] 'dependencyManagement.dependencies.dependency.exclusions.exclusion.artifactId' for com.netflix.eureka:eureka-core:jar with value '*' does not match a valid id pattern. @ org.springframework.cloud:spring-cloud-netflix-dependencies:1.2.5.RELEASE

原因:使用的maven是3.0.9,低于我们要求的版本

解决:修改成maven3.3.0

 

【参考】https://github.com/spring-cloud/spring-cloud-netflix/issues/1715

关闭,因为这只是maven 3.2.1中的一个问题,低于我们要求的版本

你可能感兴趣的:(springcould)