Fix yang.skip implementation 19/104619/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Feb 2023 12:43:23 +0000 (13:43 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Feb 2023 12:43:23 +0000 (13:43 +0100)
commit8507cabb4acfc48a51e45eca9e01a0fa1aceb36e
treee5a64fe027401825ef5d40d6703209d62bb5ce9a
parent401e9c7b304d2a71d40ec1d494a7bc2facf6abb7
Fix yang.skip implementation

The documentation implies yang.skip disables execution completely, which
is in-line with other Maven plugins' skip function. Fix the
implementation to completely forgo execution.

Change-Id: I1cd58a73dd2c9e1f6f5c42a27de149079bb9175b
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/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesProcessor.java
plugin/yang-maven-plugin/src/test/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojoTest.java