-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: warnings-ng-plugin
-
Environment:Jenkins 2.150.2, warning-ng 2.1.1
-
warnings-ng 2.2.0 (and analysis model 2.1.1)
I started to use the Enforce Maven plugin and added the following rules:
<rules>
<dependencyConvergence/>
<banDuplicatePomDependencyVersions/>
</rules>
<fail>false</fail>
Now I can see a lot of warnings in the Jenkins console:
// 15:46:06 [WARNING] 15:46:06 Dependency convergence error for com.google.http-client:google-http-client-jackson2:1.22.0 paths to dependency are: 15:46:06 +-com.<org>:web:165.0-SNAPSHOT 15:46:06 +-com.<org>:notestore:165.0-SNAPSHOT 15:46:06 +-com.<org>.service:gcs-lib:2.1-SNAPSHOT 15:46:06 +-com.google.cloud:google-cloud-storage:1.3.1 15:46:06 +-com.google.cloud:google-cloud-core-http:1.3.1 15:46:06 +-com.google.http-client:google-http-client-jackson2:1.22.0 15:46:06 and 15:46:06 +-com.<org>:web:165.0-SNAPSHOT 15:46:06 +-com.<org>:notestore:165.0-SNAPSHOT 15:46:06 +-com.google.cloud:google-cloud-spanner:0.21.1-beta 15:46:06 +-com.google.api:gax-grpc:0.22.0 15:46:06 +-com.google.auth:google-auth-library-oauth2-http:0.7.0 15:46:06 +-com.google.http-client:google-http-client-jackson2:1.19.0 15:46:06 and 15:46:06 +-com.<org>:web:165.0-SNAPSHOT 15:46:06 +-com.google.api-client:google-api-client:1.22.0 15:46:06 +-com.google.http-client:google-http-client-jackson2:1.22.0 15:46:06 15:46:06 [WARNING] 15:46:06 Dependency convergence error for com.google.code.gson:gson:2.2.1 paths to dependency are: 15:46:06 +-com.<org>:web:165.0-SNAPSHOT 15:46:06 +-com.<org>:notestore:165.0-SNAPSHOT 15:46:06 +-com.<org>:telesign:1.1 15:46:06 +-com.google.code.gson:gson:2.2.1
but in the plugin report i can see:
Â
 It looks like the plugin reported just the 1st warning.
Could you, please, take a look at it?
Â
Â