[YANGTOOLS-1505] yang-maven-plugin elicits deprecation warning with maven-3.9.1 Created: 12/Apr/23  Updated: 15/May/23  Resolved: 15/May/23

Status: Resolved
Project: yangtools
Component/s: maven plugin
Affects Version/s: 8.0.10, 9.0.7, 10.0.5
Fix Version/s: 11.0.0, 9.0.8, 10.0.7

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to YANGTOOLS-42 Codegen plugin needs to detect classp... Resolved
External issue ID: https://issues.apache.org/jira/browse/MNG-7706

 Description   

During build with maven-3.9.1, the following warning is displayed:

[INFO] --- yang:9.0.7:generate-sources (binding) @ sal-distributed-datastore ---
[WARN] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.

This is caused by MNG-7706 and we need to migrate. We can use the surefire patch to navigate what needs to be done.


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