[YANGTOOLS-657] Execution binding of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed Created: 31/Aug/16  Updated: 10/Apr/22  Resolved: 31/Aug/16

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

Type: Bug
Reporter: Anil Vishnoi Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6588

 Description   

After merging following patch in yangtools

https://git.opendaylight.org/gerrit/#/c/44614/2

OVSDB project's verify job is failing with following error

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources (binding) on project hwvtepsouthbound-api: Execution binding of goal org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources failed: An API incompatibility was encountered while executing org.opendaylight.yangtools:yang-maven-plugin:1.0.0-SNAPSHOT:generate-sources: java.lang.NoSuchMethodError: org.opendaylight.yangtools.yang.model.api.type.EnumTypeDefinition$EnumPair.getValue()Ljava/lang/Integer;

I think verify job will fail for all the project that are using bit and enums in their yang models.

I opened this bug with Blocker severity as of now, but feel free to change it as appropriate.



 Comments   
Comment by Igor Foltin [ 31/Aug/16 ]

Hello Anil, the same problem came up in GBP project and as you can see in the links below, after a few rechecks, both verify and distribution-check jobs got built successfully.
https://git.opendaylight.org/gerrit/#/c/43520/
https://git.opendaylight.org/gerrit/#/c/43642/

Comment by Robert Varga [ 31/Aug/16 ]

Fixed after mdsal remerge.

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