From 8cbee7caa6ba141110d16e0cfa51fb27cd6c19fb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 9 Jun 2017 20:06:22 +0100 Subject: [PATCH] plugin-sample: remove redundant module The regressions module performs the same function of exercising the plugin. --- plugin-sample/pom.xml | 22 ----------- .../net/kemitix/checkstyle/sample/Sample.java | 38 ------------------- pom.xml | 1 - 3 files changed, 61 deletions(-) delete mode 100644 plugin-sample/pom.xml delete mode 100644 plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java diff --git a/plugin-sample/pom.xml b/plugin-sample/pom.xml deleted file mode 100644 index 6d1ee67..0000000 --- a/plugin-sample/pom.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - 2-naming - - 4.0.0 - - - net.kemitix - kemitix-checkstyle-ruleset-parent - 3.2.0-SNAPSHOT - - - kemitix-checkstyle-ruleset-plugin-sample - 3.2.0-SNAPSHOT - - Kemitix Checkstyle :: Ruleset :: Plugin :: Sample Usage - Sample usage of the Kemitix Checkstyle Ruleset Maven Plugin - - 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 deleted file mode 100644 index d52ad1b..0000000 --- a/plugin-sample/src/main/java/net/kemitix/checkstyle/sample/Sample.java +++ /dev/null @@ -1,38 +0,0 @@ -/** - * The MIT License (MIT) - * - * Copyright (c) 2017 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. - * - *

This sample is deliberately only valid for level 1-layout and 2-naming. The plugin should report errors for levels - * 3-javadoc and above.

- * - * @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 fa1d6e1..ffb37ed 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,6 @@ builder ruleset plugin - plugin-sample regressions