[ODLPARENT-5] Maven plugin: fix dependency convergence Created: 13/Oct/14  Updated: 24/Jan/18

Status: Confirmed
Project: odlparent
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-361 Milestone: Decrease Technical Debt fr... Resolved

 Description   

For incremental builds, we use plexus-build-api. This is not really good with maven 3.1.1, causing:

Dependency convergence error for org.codehaus.plexus:plexus-utils:1.5.8 paths to dependency are:
+-org.opendaylight.yangtools:binding-java-api-generator:0.7.0-SNAPSHOT
+-org.sonatype.plexus:plexus-build-api:0.0.7
+-org.codehaus.plexus:plexus-utils:1.5.8
and
+-org.opendaylight.yangtools:binding-java-api-generator:0.7.0-SNAPSHOT
+-org.codehaus.plexus:plexus-slf4j-logging:1.1
+-org.codehaus.plexus:plexus-container-default:1.5.4
+-org.codehaus.plexus:plexus-utils:1.4.5

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for org.codehaus.plexus:plexus-utils:1.5.8 paths to dependency are:
+-org.opendaylight.yangtools:binding-java-api-generator:0.7.0-SNAPSHOT
+-org.sonatype.plexus:plexus-build-api:0.0.7
+-org.codehaus.plexus:plexus-utils:1.5.8
and
+-org.opendaylight.yangtools:binding-java-api-generator:0.7.0-SNAPSHOT
+-org.codehaus.plexus:plexus-slf4j-logging:1.1
+-org.codehaus.plexus:plexus-container-default:1.5.4
+-org.codehaus.plexus:plexus-utils:1.4.5

Clean this up as soon as the maven story for incremental build stabilizes (maven 3.2.2+?)



 Comments   
Comment by Robert Varga [ 08/Jan/15 ]

https://git.opendaylight.org/gerrit/#/c/13963/ shows the failure.

Comment by Robert Varga [ 23/Mar/15 ]

This probably needs another revision bump on required maven versions, as right now we get bitten by inconsistencies between maven-core and maven-plugin-api.

Comment by Robert Varga [ 17/Oct/16 ]

This should become a global. Since enforcer configuration is no longer present in yangtools, we should probably address this in odlparent.

Generated at Wed Feb 07 20:27:21 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.