From 735766bcb647d1b2d39387903d9ae6514d218d9b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 2 Aug 2016 19:51:59 +0100 Subject: [PATCH] Initial commit --- .gitignore | 51 +++++ LICENSE.md | 22 ++ README.md | 16 ++ pom.xml | 121 +++++++++++ src/main/resources/net/kemitix/checkstyle.xml | 205 ++++++++++++++++++ 5 files changed, 415 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/main/resources/net/kemitix/checkstyle.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7933d63 --- /dev/null +++ b/.gitignore @@ -0,0 +1,51 @@ +# Package Files # +*.jar +*.war +*.ear +*.zip + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# maven build outputs +target/ + +# netbeans legacy +nbproject/ +nbactions.xml + +# eclipse legacy +.project + +# intellij +.idea/libraries/ +.idea/workspace.xml +.idea/uiDesigner.xml +.idea/compiler.xml +.idea/misc.xml +.idea/checkstyle.xml +.idea/artifacts/ +.idea/dataSources* +.idea/tasks.xml +.idea/dictionaries/ +.idea/shelf/ +.idea/dynamic.xml +.idea/sqlDataSources.xml +.idea/gradle.xml +.idea/mongoSettings.xml +.idea/checkstyle-idea.xml +.idea/findbugs-idea.xml + +# Spring +spring.log +logs/ +/application.properties +/bootstrap.properties + +# Composer-style +vendor + +# Git and temp files +*.orig +*.patch +*~ diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a012f4a --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ + +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/README.md b/README.md new file mode 100644 index 0000000..3cbcaef --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# kemitix-checkstyle-ruleset + +Provides an extensive Checkstyle ruleset for use with `kemitix-parent`. + +The ruleset includes rules from both the core Checkstyle 7.0 library and +from the Sevntu-Checkstyle 1.21.0 library. + +## Rules Enabled + +### Checkstyle + +TODO + +### Sevntu + +TODO diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..09c5488 --- /dev/null +++ b/pom.xml @@ -0,0 +1,121 @@ + + + 4.0.0 + + net.kemitix + kemitix-checkstyle-ruleset + 0.1.0-SNAPSHOT + jar + + Kemitix Checkstyle Ruleset + Checkstyle Ruleset for use by packages derived from kemitix-parent + + 2016 + + + 3.0.4 + + + + + The MIT License (MIT) + https://opensource.org/licenses/MIT + + + + + + Paul Campbell + pcampbell@kemitix.net + Kemitix + https://github.com/kemitix/ + + + + + 2.10.4 + 3.0.1 + 1.6 + 2.8.2 + + + + + release + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + attach-javadocs + verify + + jar + + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + verify + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + ${gpg.passphrase} + + + + sign-artifacts + verify + + sign + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + ${maven-deploy-plugin.version} + + + + + + + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + + + sonatype-nexus-staging + Nexus Release Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + \ No newline at end of file diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml new file mode 100644 index 0000000..2287f64 --- /dev/null +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +