[YANGTOOLS-220] yang-maven-plugin-it hardcodes the version of the yang-maven-plugin to use, this break release process Created: 21/Jul/14  Updated: 10/Apr/22  Due: 01/Aug/14  Resolved: 05/Aug/14

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

Type: Bug
Reporter: Giovanni Meo Assignee: Martin Vitez
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: 1402

 Description   

In the file:
yang/yang-maven-plugin-it/src$ git log test/resources/test-parent/pom.xml

the it-project.version property hard code the version of the yang-maven-plugin to use to a -SNAPSHOT version. When the yangtools project is released that property is not updated because the POM file is part of a test resource not of the actual POM hierarchy. So release fails.
The appropriate approach would be to somehow retrieve the version of the yang-maven-plugin to be tested by yang-maven-plugin-it from the reactor.



 Comments   
Comment by Martin Vitez [ 31/Jul/14 ]

Proposed patch:

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

Comment by Giovanni Meo [ 05/Aug/14 ]

The fix in gerrit 9531 was not complete, so enhancing with https://git.opendaylight.org/gerrit/#/c/9694/

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