From 104259291148b2cf5f0f3f7bc8795089cc1cb32c Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Mon, 10 Dec 2012 13:09:34 +0200 Subject: Checkstyle for Vaadin #9065 * Validates that all java files contains a license file and fails the build if a license is missing * For now runs a lot of checks with a severity less than error to avoid failing the build * Outputs test results to TeamCity for reporting Change-Id: I24ca9cd0646a4bc530ef3a183eef1bc4addc555d --- checkstyle/header | 15 +++ checkstyle/vaadin-checkstyle.xml | 257 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 272 insertions(+) create mode 100644 checkstyle/header create mode 100644 checkstyle/vaadin-checkstyle.xml (limited to 'checkstyle') diff --git a/checkstyle/header b/checkstyle/header new file mode 100644 index 0000000000..511f77e5ba --- /dev/null +++ b/checkstyle/header @@ -0,0 +1,15 @@ +/* + * Copyright 2000-2013 Vaadin Ltd. + * + * 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. + */ \ No newline at end of file diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml new file mode 100644 index 0000000000..3e23370a23 --- /dev/null +++ b/checkstyle/vaadin-checkstyle.xml @@ -0,0 +1,257 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3