Repository: incubator-ratis Updated Branches: refs/heads/master 9ed2652d2 -> 89e64f212
Ratis-99. Exclude shaded sources from the checkstyle check. Contributed by Elek, Marton. Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/89e64f21 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/89e64f21 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/89e64f21 Branch: refs/heads/master Commit: 89e64f2125eb2d1692b395df1f4ac6028d0ad266 Parents: 9ed2652 Author: Jing Zhao <[email protected]> Authored: Fri Jul 28 13:38:06 2017 -0700 Committer: Jing Zhao <[email protected]> Committed: Fri Jul 28 13:38:06 2017 -0700 ---------------------------------------------------------------------- ratis-hadoop-shaded/pom.xml | 7 +++++++ ratis-proto-shaded/pom.xml | 7 +++++++ 2 files changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/89e64f21/ratis-hadoop-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/ratis-hadoop-shaded/pom.xml b/ratis-hadoop-shaded/pom.xml index 40cfdd8..98016fa 100644 --- a/ratis-hadoop-shaded/pom.xml +++ b/ratis-hadoop-shaded/pom.xml @@ -40,6 +40,13 @@ <sourceDirectory>${shaded.sources.dir}</sourceDirectory> <outputDirectory>${classes.dir}</outputDirectory> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <excludes>org/apache/ratis/shaded/**/*</excludes> + </configuration> + </plugin> <!-- Make a jar and put the sources in the jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/89e64f21/ratis-proto-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/ratis-proto-shaded/pom.xml b/ratis-proto-shaded/pom.xml index 847ab67..7824500 100644 --- a/ratis-proto-shaded/pom.xml +++ b/ratis-proto-shaded/pom.xml @@ -51,6 +51,13 @@ <sourceDirectory>${shaded.sources.dir}</sourceDirectory> <outputDirectory>${classes.dir}</outputDirectory> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <configuration> + <excludes>org/apache/ratis/shaded/**/*</excludes> + </configuration> + </plugin> <!-- Make a jar and put the sources in the jar --> <plugin> <groupId>org.apache.maven.plugins</groupId>
