From 14f51a7e33c1e29c70279fd0100c0253692c7025 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Fri, 12 Apr 2024 14:55:07 +0100 Subject: Removing ONAP O-Parent as parent to Policy Framework. - dependency management direct in integration/pom.xml - plugins for code-coverage, vulnerabilities scan are now configured on pom.xml Issue-ID: POLICY-4960 Change-Id: Ib5092f9baa51df60a8b9765b53a4fbbb3a61d60c Signed-off-by: adheli.tavares --- checkstyle/pom.xml | 30 ++ .../onap-checkstyle/apache-license-2.regexp.txt | 15 + .../resources/onap-checkstyle/check-license.xml | 35 +++ .../resources/onap-checkstyle/onap-java-style.xml | 338 +++++++++++++++++++++ 4 files changed, 418 insertions(+) create mode 100644 checkstyle/pom.xml create mode 100644 checkstyle/src/main/resources/onap-checkstyle/apache-license-2.regexp.txt create mode 100644 checkstyle/src/main/resources/onap-checkstyle/check-license.xml create mode 100644 checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml (limited to 'checkstyle') diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml new file mode 100644 index 00000000..3d8e11fd --- /dev/null +++ b/checkstyle/pom.xml @@ -0,0 +1,30 @@ + + + + 4.0.0 + + org.onap.policy.parent + policy-parent + 4.1.2-SNAPSHOT + + checkstyle + checkstyle + diff --git a/checkstyle/src/main/resources/onap-checkstyle/apache-license-2.regexp.txt b/checkstyle/src/main/resources/onap-checkstyle/apache-license-2.regexp.txt new file mode 100644 index 00000000..5b69f285 --- /dev/null +++ b/checkstyle/src/main/resources/onap-checkstyle/apache-license-2.regexp.txt @@ -0,0 +1,15 @@ +^/[*]+$ +^ \* Copyright .*$ +^ \*( )?$ +^ \* Licensed under the Apache License, Version 2.0 \(the "License"\);$ +^ \* you may not use this file except in compliance with the License.$ +^ \* You may obtain a copy of the License at$ +^ \*( )?$ +^ \*( )*http://www.apache.org/licenses/LICENSE-2.0$ +^ \*( )?$ +^ \* Unless required by applicable law or agreed to in writing, software +^ \* distributed under the License is distributed on an "AS IS" BASIS, +^ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +^ \* See the License for the specific language governing permissions and +^ \* limitations under the License. +^ [*]+/$ diff --git a/checkstyle/src/main/resources/onap-checkstyle/check-license.xml b/checkstyle/src/main/resources/onap-checkstyle/check-license.xml new file mode 100644 index 00000000..8421f520 --- /dev/null +++ b/checkstyle/src/main/resources/onap-checkstyle/check-license.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + diff --git a/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml new file mode 100644 index 00000000..3de8f610 --- /dev/null +++ b/checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg