[YANGTOOLS-42] Codegen plugin needs to detect classpath versioning problems Created: 11/Oct/13  Updated: 13/May/23  Resolved: 28/Apr/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

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

Operating System: All
Platform: All


Issue Links:
Relates
relates to YANGTOOLS-1505 yang-maven-plugin elicits deprecation... Resolved

 Description   

The plugin and artifact classpaths are independent, but if the artifact classpath pulls in a wrong version of yang-binding, the compilation will fail.

The plugin should detect this, e.g. it needs to make sure that the artifact dependencies pull in the correct artifacts with correct versions before generating any code. If that is not the case, a very clear error message needs to be genenerated.



 Comments   
Comment by Robert Varga [ 21/Jan/14 ]

This will need to be address post-hydrogen.

Comment by Martin Vitez [ 13/Mar/14 ]

Proposed patch:

https://git.opendaylight.org/gerrit/#/c/5287/

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