idea踩坑记录'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique

idea的maven中运行clean是提示
是因为依赖有重复的…

[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.xxx.health:health_mobile_backend:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.aliyun:aliyun-java-sdk-core:jar -> version (?) vs 3.3.1 @ com.xxx.health:health_mobile_backend:[unknown-version], C:\Users\ShenLB\Desktop\xxx\health_mobile_backend\pom.xml, line 106, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.aliyun:aliyun-java-sdk-dysmsapi:jar -> version (?) vs 1.0.0 @ com.xxx.health:health_mobile_backend:[unknown-version], C:\Users\ShenLB\Desktop\xxx\health_mobile_backend\pom.xml, line 111, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 

你可能感兴趣的:(踩坑记录)