Bug 4321: Misconfigured input parameters in yang-maven-plugin (YangToSourcesMojo... 13/27113/2
authorMartin Ciglan <mciglan@cisco.com>
Thu, 17 Sep 2015 11:23:42 +0000 (13:23 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 24 Sep 2015 22:51:53 +0000 (22:51 +0000)
Use of default values for 'required' & 'readOnly' elements of inspectDependencies
annotation type Parameter to not to disturb pom.xml files.
This has been discovered in IntelliJ IDEA environment.

Change-Id: I440c62b692001971ee60145203d6931aff0e0db3
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesMojo.java

index b2c16ee6fea49e26326405479c44d9b1282a4fe5..b3612ca82c3e74ebcb6141b25bb35fbdca6fd4c9 100644 (file)
@@ -70,7 +70,7 @@ public final class YangToSourcesMojo extends AbstractMojo {
     @Parameter(property = "project", required = true, readonly = true)
     private MavenProject project;
 
-    @Parameter(property = "inspectDependencies", required = true, readonly = true)
+    @Parameter(property = "inspectDependencies")
     private boolean inspectDependencies;
 
     @Component