From 7f1c152811dcc061e2a6609db204830bb4b75cc7 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 21 Jun 2017 15:03:17 -0700 Subject: Initial commit using OPEN-O seed code Change-Id: I74f6c92bcc2327ad41bc997c04091e2c01fdf1da Signed-off-by: Gary Wu --- checkstyle/pom.xml | 27 +++ .../src/main/resources/apache-license-2.regexp.txt | 15 ++ checkstyle/src/main/resources/check-license.xml | 19 ++ checkstyle/src/main/resources/onap-java-style.xml | 220 +++++++++++++++++++++ 4 files changed, 281 insertions(+) create mode 100644 checkstyle/pom.xml create mode 100644 checkstyle/src/main/resources/apache-license-2.regexp.txt create mode 100644 checkstyle/src/main/resources/check-license.xml create mode 100644 checkstyle/src/main/resources/onap-java-style.xml (limited to 'checkstyle') diff --git a/checkstyle/pom.xml b/checkstyle/pom.xml new file mode 100644 index 0000000..00f76d6 --- /dev/null +++ b/checkstyle/pom.xml @@ -0,0 +1,27 @@ + + + + 4.0.0 + + org.onap.oparent + version + 1.0.0-SNAPSHOT + ../version + + checkstyle + oparent/checkstyle + diff --git a/checkstyle/src/main/resources/apache-license-2.regexp.txt b/checkstyle/src/main/resources/apache-license-2.regexp.txt new file mode 100644 index 0000000..5b69f28 --- /dev/null +++ b/checkstyle/src/main/resources/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/check-license.xml b/checkstyle/src/main/resources/check-license.xml new file mode 100644 index 0000000..91ca948 --- /dev/null +++ b/checkstyle/src/main/resources/check-license.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + diff --git a/checkstyle/src/main/resources/onap-java-style.xml b/checkstyle/src/main/resources/onap-java-style.xml new file mode 100644 index 0000000..32439e2 --- /dev/null +++ b/checkstyle/src/main/resources/onap-java-style.xml @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg