aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/policy-yaml/pom.xml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-09-26 13:53:38 -0400
committerPamela Dragosh <pdragosh@research.att.com>2018-09-27 11:43:48 +0000
commit1c32e0c17febcbef90756f3eef4868542723cc81 (patch)
tree782ccd0d28a1489f347fff95d3034622e83261ff /controlloop/common/policy-yaml/pom.xml
parent4c9ff34878cdc955f30e337cc8c0a2d54aaca364 (diff)
Fix for checkstyle declarations
I found the problem with policy-yaml. An exception was occuring due to an extra line between an @return for javadoc vs. just printing a warning. See: https://github.com/checkstyle/checkstyle/issues/2398 I also messed up some of the other declarations in the sub-modules. Copyright Issue-ID: POLICY-1153 Change-Id: I848e0b19340d494775e161bab86ffb60a97d83ab Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop/common/policy-yaml/pom.xml')
-rw-r--r--controlloop/common/policy-yaml/pom.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/common/policy-yaml/pom.xml b/controlloop/common/policy-yaml/pom.xml
index b48e74d67..6594817ef 100644
--- a/controlloop/common/policy-yaml/pom.xml
+++ b/controlloop/common/policy-yaml/pom.xml
@@ -104,12 +104,13 @@
with minor changes -->
<configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
<!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
- <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
+ <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<includeResources>true</includeResources>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<includeTestResources>true</includeTestResources>
<excludes>
</excludes>
+ <suppressionsLocation>${project.basedir}/checkstyle-suppressions.xml</suppressionsLocation>
<consoleOutput>true</consoleOutput>
<failsOnViolation>true</failsOnViolation>
<violationSeverity>warning</violationSeverity>
@@ -127,5 +128,4 @@
</plugin>
</plugins>
</build>
-
</project>