Convert dependency checking to aether 56/105956/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 15 May 2023 16:44:12 +0000 (18:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 15 May 2023 17:44:00 +0000 (19:44 +0200)
commit3873a00f5e83dd912df147d75ad600324b30c427
tree8a1fddb49ad84d2c1e1553a85e714018b23f2b75
parent0e7c0c09ddfec121a558b7d918eeffce7e33c86c
Convert dependency checking to aether

maven-3.9.1 warns when we are using the RepositorySystem. Convert type
checks and remove the mocked test. This allows us to hide the
checkClasspath() method and use injected values. Also inline
getPluginTransitiveDependencies(), as it is now a single-caller thing.

JIRA: YANGTOOLS-1505
Change-Id: I9585774047b99fac557b6b92f5d51eaacfdd0af3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojo.java
plugin/yang-maven-plugin/src/test/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojoTest.java [deleted file]