Move yang.skip property 33/105933/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 13 May 2023 18:33:20 +0000 (20:33 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 13 May 2023 18:33:20 +0000 (20:33 +0200)
Clean up order of user-visible properties vs. components.

Change-Id: I73f019f98a669b65b411af26681dc98390dc2c40
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojo.java

index 09838faebcb9421993c888e4791dccd6fecb9eee..23f915868a7d821220ab8f21c3620ff83954ac84 100644 (file)
@@ -86,6 +86,10 @@ public final class YangToSourcesMojo extends AbstractMojo {
     @Parameter(property = "inspectDependencies")
     private boolean inspectDependencies;
 
+    // When set to "true", then the execution of the plugin is disabled
+    @Parameter(property = "yang.skip", defaultValue = "false")
+    private boolean yangSkip;
+
     @Component
     private BuildContext buildContext;
 
@@ -98,10 +102,6 @@ public final class YangToSourcesMojo extends AbstractMojo {
     @Parameter(readonly = true, defaultValue = "${project.remoteArtifactRepositories}")
     private List<ArtifactRepository> remoteRepos;
 
-    // When set to "true", then the execution of the plugin is disabled
-    @Parameter(property = "yang.skip", defaultValue = "false")
-    private boolean yangSkip;
-
     public YangToSourcesMojo() {
 
     }