().put(getOutputFile(RuleLevel.DISABLED))
+ .put(getOutputFile(RuleLevel.LAYOUT))
.put(getOutputFile(RuleLevel.NAMING))
.put(getOutputFile(RuleLevel.JAVADOC))
.put(getOutputFile(RuleLevel.TWEAKS))
@@ -221,8 +222,8 @@ public class CheckstyleWriterTest {
final ThrowableAssert.ThrowingCallable action = () -> checkstyleWriter.run();
//then
assertThatThrownBy(action).isInstanceOf(CheckstyleWriterException.class)
- .hasMessage(
- String.format("java.nio.file.NoSuchFileException: %scheckstyle-LAYOUT.xml",
+ .hasMessageStartingWith(
+ String.format("java.nio.file.NoSuchFileException: %scheckstyle-",
imaginary + FILE_SEPARATOR
));
}
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 0000000..280d970
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,3 @@
+test:
+ override:
+ - ./mvnw clean install
diff --git a/plugin-sample/pom.xml b/plugin-sample/pom.xml
deleted file mode 100644
index b49f4a4..0000000
--- a/plugin-sample/pom.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- 2-naming
-
- 4.0.0
-
-
- net.kemitix
- kemitix-checkstyle-ruleset-sample-parent
- 3.1.0
- ../sample-parent
-
-
- kemitix-checkstyle-ruleset-plugin-sample
- 3.1.0
-
- Kemitix Checkstyle Ruleset Plugin Sample
- Sample usage of the Kemitix Checkstyle Ruleset 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/plugin/pom.xml b/plugin/pom.xml
index 033cd51..f16240c 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -7,33 +7,20 @@
net.kemitix
kemitix-checkstyle-ruleset-parent
- 3.1.0
+ 3.2.0
kemitix-checkstyle-ruleset-maven-plugin
maven-plugin
- Kemitix Checkstyle Ruleset Maven Plugin
+ Kemitix Checkstyle :: Ruleset :: Plugin
Checkstyle configuration using the Kemitix Checkstyle Ruleset
- 1.8
- UTF-8
- UTF-8
3.5.0
- 3.6.1
3.5
3.5
- 2.10.4
- 3.0.1
- 1.6
- 2.8.2
2.3.0
- 1.16.16
1.0.0
- 0.7.9
- 0.50
- 0.80
- 0
@@ -58,12 +45,6 @@
mojo-executor
${mojo-executor.version}