From a67d23b90a5548aeb02747ff652d6a1142a5d702 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 13 Jan 2017 19:36:21 +0000 Subject: [PATCH] plugin-sample: added --- plugin-sample/LICENSE.txt | 23 +++++++++ plugin-sample/pom.xml | 49 +++++++++++++++++++ .../net/kemitix/checkstyle/sample/Sample.java | 38 ++++++++++++++ pom.xml | 1 + 4 files changed, 111 insertions(+) create mode 100644 plugin-sample/LICENSE.txt create mode 100644 plugin-sample/pom.xml create mode 100644 plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java diff --git a/plugin-sample/LICENSE.txt b/plugin-sample/LICENSE.txt new file mode 100644 index 0000000..00c515a --- /dev/null +++ b/plugin-sample/LICENSE.txt @@ -0,0 +1,23 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 Paul Campbell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ diff --git a/plugin-sample/pom.xml b/plugin-sample/pom.xml new file mode 100644 index 0000000..927b4d2 --- /dev/null +++ b/plugin-sample/pom.xml @@ -0,0 +1,49 @@ + + + + 4.0.0 + + + net.kemitix + kemitix-checkstyle-ruleset-plugin-sample + 2.0.0-SNAPSHOT + + + + UTF-8 + UTF-8 + + + + + + net.kemitix + kemitix-checkstyle-ruleset-maven-plugin + 2.0.0-SNAPSHOT + + 2 + + + + validate + + + check + + + + + + + + + + + sevntu-maven + sevntu-maven + http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2 + + + diff --git a/plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java b/plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java new file mode 100644 index 0000000..9f7eaba --- /dev/null +++ b/plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java @@ -0,0 +1,38 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 Paul Campbell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + +package net.kemitix.checkstyle.sample; + +/** + * Sample class to test the Kemitix Checkstyle Ruleset Maven Plugin against. + * + * @author Paul Campbell (paul.campbell@hubio.com) + */ +public class Sample { + + + public static void main(String[] args) { + System.out.println("Sample!"); + } +} diff --git a/pom.xml b/pom.xml index 9bb1965..f759f57 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,7 @@ builder ruleset plugin + plugin-sample