From af5e28cc353456a28204ce8ebe792a218607d8c9 Mon Sep 17 00:00:00 2001
From: Pamela Dragosh
Date: Fri, 21 Sep 2018 12:48:29 -0400
Subject: Fix policy/common checkstyle issues
The root pom.xml had a syntax error in a declaration. The suppressions
xml was not being found by the sub-modules. It was better to create a
copy in each of the sub-modules where we will not be fixing
abbreviations or the interface declarations in own java file.
Added specific checkstyle files for each submodule.
One interesting note for the InheritDoc tag. It seems that the mvn
compile has a bug that interprets these as missing a period after
the tag. Even though the parent interface has it correctly. It was
easier to just remove it than duplicate.
There are new JIRA's for that work to be done in Dublin.
Fixed some spacing in pom's.
Issue-ID: POLICY-1131
Change-Id: I5f845958ccefd50a3b7290662da43c994870f1f7
Signed-off-by: Pamela Dragosh
---
common-logging/pom.xml | 203 +++++++++++++++++++++++++++++--------------------
1 file changed, 121 insertions(+), 82 deletions(-)
(limited to 'common-logging/pom.xml')
diff --git a/common-logging/pom.xml b/common-logging/pom.xml
index 143ae6b8..2d3186b9 100644
--- a/common-logging/pom.xml
+++ b/common-logging/pom.xml
@@ -18,92 +18,131 @@
============LICENSE_END=========================================================
-->
-
- 4.0.0
+
+ 4.0.0
-
- org.onap.policy.common
- common-modules
- 1.3.0-SNAPSHOT
-
+
+ org.onap.policy.common
+ common-modules
+ 1.3.0-SNAPSHOT
+
- ONAP-Logging
- ONAP Logging Framework
- jar
-
-
- 1.6.6
-
+ ONAP-Logging
+ ONAP Logging Framework
+ jar
+
+
+ 1.6.6
+
+
+
+
+ log4j
+ log4j
+ provided
+
+
+ javax.servlet
+ javax.servlet-api
+ compile
+
+
+ org.slf4j
+ slf4j-api
+
+
+ com.att.eelf
+ eelf-core
+ 1.0.1-oss
+
+
+ org.powermock
+ powermock-api-mockito
+ ${powermock.version}
+ test
+
+
-
-
- log4j
- log4j
- provided
-
-
- javax.servlet
- javax.servlet-api
- compile
-
-
- org.slf4j
- slf4j-api
-
-
- com.att.eelf
- eelf-core
- 1.0.1-oss
-
-
- org.powermock
- powermock-api-mockito
- ${powermock.version}
- test
-
-
-
-
-
-
- com.att.eelf
- eelf-maven-plugin
- 0.0.1
-
-
- install
-
- WikiMsgGenerator
-
-
-
-
-
-
- org.onap.policy.common
- ONAP-Logging
- ${project.version}
-
-
-
- target/messages
- messages.html
-
-
- org.onap.policy.common.logging.eelf.MessageCodes
- This needs to be replaced with your Enum class name .which
- implements EELFResolvableErrorEnum and have your defined error
- codes.
-
+
+
+
+ maven-checkstyle-plugin
+
+
+ onap-java-style
+
+ check
+
+ process-sources
+
+
+ onap-checkstyle/onap-java-style.xml
+
+ ${project.build.sourceDirectory}
+ true
+ true
+ true
+
+
+ ${project.basedir}/checkstyle-suppressions.xml
+ true
+ true
+ warning
+
+
+
+
+
+ org.onap.oparent
+ checkstyle
+ ${oparent.version}
+ compile
+
+
+
+
+ com.att.eelf
+ eelf-maven-plugin
+ 0.0.1
+
+
+ install
+
+ WikiMsgGenerator
+
+
+
+
+
+
+ org.onap.policy.common
+ ONAP-Logging
+ ${project.version}
+
+
+
+ target/messages
+ messages.html
+
+
+ org.onap.policy.common.logging.eelf.MessageCodes
+ This needs to be replaced with your Enum
+ class name .which
+ implements EELFResolvableErrorEnum and have your defined error
+ codes.
+
Application Messages
Application Messages
]]>
-
+
-
-
-
-
-
+
+
+
+
+
--
cgit 1.2.3-korg