Properly propagate BuildContext
[yangtools.git] / yang / yang-maven-plugin / src / main / java / org / opendaylight / yangtools / yang2sources / plugin / YangToSourcesMojo.java
index 7ad534a6de0f245052e568d1b44546bc54079e82..0cba5fe0ed5d3143ccdf0b6c2fff851a0214616f 100644 (file)
@@ -77,7 +77,8 @@ public final class YangToSourcesMojo extends AbstractMojo {
     private boolean inspectDependencies;
 
     @Component
-    private BuildContext buildContext;
+    @VisibleForTesting
+    BuildContext buildContext;
 
     private YangToSourcesProcessor yangToSourcesProcessor;