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/f60bfa2c Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/f60bfa2c Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/f60bfa2c Branch: refs/heads/OPENNLP-778 Commit: f60bfa2ca28251c841e39899e1714dd1af21f192 Parents: c17c551 Author: smarthi <[email protected]> Authored: Tue Feb 28 08:28:05 2017 -0500 Committer: smarthi <[email protected]> Committed: Tue Feb 28 08:28:05 2017 -0500 ---------------------------------------------------------------------- pom.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/opennlp/blob/f60bfa2c/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>
