Repository: sentry Updated Branches: refs/heads/master c4226f649 -> f1b8bf783
SENTRY-2123: Specify code path of auth-generated thrift files for Javadoc and exclude them from Javadoc generation (Na Li, reviewed by Sergio Pena) Project: http://git-wip-us.apache.org/repos/asf/sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/f1b8bf78 Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/f1b8bf78 Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/f1b8bf78 Branch: refs/heads/master Commit: f1b8bf783626038a58c7bd31a9d7e25dab3e86d5 Parents: c4226f6 Author: Sergio Pena <[email protected]> Authored: Fri Jan 19 15:36:58 2018 -0600 Committer: Sergio Pena <[email protected]> Committed: Fri Jan 19 15:36:58 2018 -0600 ---------------------------------------------------------------------- sentry-hdfs/sentry-hdfs-common/pom.xml | 14 ++++++++++++++ sentry-provider/sentry-provider-db/pom.xml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/f1b8bf78/sentry-hdfs/sentry-hdfs-common/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-hdfs/sentry-hdfs-common/pom.xml b/sentry-hdfs/sentry-hdfs-common/pom.xml index 58719c3..5c6c96c 100644 --- a/sentry-hdfs/sentry-hdfs-common/pom.xml +++ b/sentry-hdfs/sentry-hdfs-common/pom.xml @@ -105,6 +105,20 @@ limitations under the License. </executions> </plugin> </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <sourcepath>${project.build.sourceDirectory}:${basedir}/src/gen/thrift/gen-javabean</sourcepath> + <sourceFileExcludes> + <exclude>${project.build.sourceDirectory}:${basedir}/src/gen/thrift/gen-javabean</exclude> + </sourceFileExcludes> + </configuration> + </plugin> + </plugins> + </pluginManagement> </build> <profiles> <profile> http://git-wip-us.apache.org/repos/asf/sentry/blob/f1b8bf78/sentry-provider/sentry-provider-db/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-provider/sentry-provider-db/pom.xml b/sentry-provider/sentry-provider-db/pom.xml index db4808d..5733445 100644 --- a/sentry-provider/sentry-provider-db/pom.xml +++ b/sentry-provider/sentry-provider-db/pom.xml @@ -399,6 +399,20 @@ limitations under the License. </executions> </plugin> </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <sourcepath>${project.build.sourceDirectory}:${basedir}/src/gen/thrift/gen-javabean</sourcepath> + <sourceFileExcludes> + <exclude>${project.build.sourceDirectory}:${basedir}/src/gen/thrift/gen-javabean</exclude> + </sourceFileExcludes> + </configuration> + </plugin> + </plugins> + </pluginManagement> </build> <profiles> <profile>
