OPENNLP-997: Exclude the generated stemmer code from the coverage report, this closes apache/opennlp#135
Project: http://git-wip-us.apache.org/repos/asf/opennlp/repo Commit: http://git-wip-us.apache.org/repos/asf/opennlp/commit/d77b5e2b Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/d77b5e2b Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/d77b5e2b Branch: refs/heads/parser_regression Commit: d77b5e2baea6d5a2f3edf613ea1346bf038b8f47 Parents: c6ecbf2 Author: smarthi <[email protected]> Authored: Tue Feb 28 08:28:05 2017 -0500 Committer: Jörn Kottmann <[email protected]> Committed: Thu Apr 20 12:40:22 2017 +0200 ---------------------------------------------------------------------- pom.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/opennlp/blob/d77b5e2b/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 45d3c37..12c9ee6 100644 --- a/pom.xml +++ b/pom.xml @@ -126,7 +126,7 @@ <checkstyle.plugin.version>2.17</checkstyle.plugin.version> <opennlp.forkCount>1.0C</opennlp.forkCount> <coveralls.maven.plugin>4.3.0</coveralls.maven.plugin> - <jacoco.maven.plugin>0.7.8</jacoco.maven.plugin> + <jacoco.maven.plugin>0.7.9</jacoco.maven.plugin> <maven.surefire.plugin>2.19.1</maven.surefire.plugin> </properties> @@ -185,7 +185,13 @@ <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.8</version> + <version>${jacoco.maven.plugin}</version> + <configuration> + <excludes> + <exclude>**/stemmer/*</exclude> + <exclude>**/stemmer/snowball/*</exclude> + </excludes> + </configuration> <executions> <execution> <id>jacoco-prepare-agent</id> @@ -222,6 +228,10 @@ <version>${maven.surefire.plugin}</version> <configuration> <forkCount>${opennlp.forkCount}</forkCount> + <excludes> + <exclude>**/stemmer/*</exclude> + <exclude>**/stemmer/snowball/*</exclude> + </excludes> </configuration> </plugin>
