Skip to content

Commit

Permalink
violations-lib 1.128
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Sep 20, 2020
1 parent 1771a60 commit 408b166
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog
Changelog of Violations Maven plugin.

## Unreleased
### No issue

**violations-lib 1.128**


[f3081fd9d5b7da0](https://github.com/tomasbjerre/violations-maven-plugin/commit/f3081fd9d5b7da0) Tomas Bjerre *2020-09-20 13:06:55*


## violations-maven-plugin-1.37
### No issue

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ A number of **parsers** have been implemented. Some **parsers** can parse output
| [_FxCop_](https://en.wikipedia.org/wiki/FxCop) | `FXCOP` |
| [_GCC_](https://gcc.gnu.org/) | `CLANG` |
| [_Gendarme_](http://www.mono-project.com/docs/tools+libraries/tools/gendarme/) | `GENDARME` |
| [_Generic reporter_]() | `GENERIC` | Will create one single violation with all the content as message.
| [_GoLint_](https://github.com/golang/lint) | `GOLINT` |
| [_GoVet_](https://golang.org/cmd/vet/) | `GOLINT` | Same format as GoLint.
| [_GolangCI-Lint_](https://github.com/golangci/golangci-lint/) | `CHECKSTYLE` | With `--out-format=checkstyle`.
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<changelog>1.61</changelog>
<violations>1.37</violations>
<violations-lib>1.120</violations-lib>
<changelog>1.62</changelog>
<violations>1.38</violations>
<violations-lib>1.128</violations-lib>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void testThatItIsCountingCorrectly() throws Exception {
+ "| | | | | |\n"
+ "+------------+------+------+-------+-------+\n"
+ "| | | | | |\n"
+ "| Checkstyle | 0 | 3 | 0 | 3 |\n"
+ "| Checkstyle | 0 | 5 | 0 | 5 |\n"
+ "| | | | | |\n"
+ "+------------+------+------+-------+-------+\n"
+ "| | | | | |\n"
Expand All @@ -56,15 +56,15 @@ public void testThatItIsCountingCorrectly() throws Exception {
+ "| | | | | |\n"
+ "+------------+------+------+-------+-------+\n"
+ "| | | | | |\n"
+ "| | 1 | 4 | 0 | 5 |\n"
+ "| | 1 | 6 | 0 | 7 |\n"
+ "| | | | | |\n"
+ "+------------+------+------+-------+-------+");
}

@Test
public void testThatItFails() throws Exception {
expectedEx.expect(MojoExecutionException.class);
expectedEx.expectMessage("Too many violations found, max is 0 but found 5");
expectedEx.expectMessage("Too many violations found, max is 0 but found 7");

ViolationCommentsMojo sut = new ViolationCommentsMojo();
sut.setMaxViolations(0);
Expand Down

0 comments on commit 408b166

Please sign in to comment.