You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2015/09/14 07:28:59 UTC

[12/15] drill git commit: DRILL-3160: Make JDBC Javadoc documentation available to users

DRILL-3160: Make JDBC Javadoc documentation available to users


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/e43155d8
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/e43155d8
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/e43155d8

Branch: refs/heads/master
Commit: e43155d8eabb6fc2d0fa4c68c25d6e7c59bf4521
Parents: 26477cf
Author: Aditya Kishore <ad...@apache.org>
Authored: Sun Sep 13 19:44:48 2015 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Sun Sep 13 21:58:34 2015 -0700

----------------------------------------------------------------------
 exec/jdbc-all/pom.xml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/e43155d8/exec/jdbc-all/pom.xml
----------------------------------------------------------------------
diff --git a/exec/jdbc-all/pom.xml b/exec/jdbc-all/pom.xml
index 5ef6e07..d2cff3f 100644
--- a/exec/jdbc-all/pom.xml
+++ b/exec/jdbc-all/pom.xml
@@ -447,6 +447,36 @@
   </pluginRepositories>
 
   <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>aggregate-jar</goal>
+                </goals>
+                <inherited>false</inherited>
+                <configuration>
+                  <!-- Only inlcude the published interface in the java-doc. Unfortunately,
+                       the javadoc tool and in turn, the plugin does not support inclusion
+                       pattern and hence we have to rely on exclusion pattern. -->
+                  <excludePackageNames>org.apache.drill.jdbc.impl</excludePackageNames>
+                  <includeDependencySources>true</includeDependencySources>
+                  <dependencySourceIncludes>
+                    <dependencySourceInclude>org.apache.drill.exec:drill-jdbc</dependencySourceInclude>
+                  </dependencySourceIncludes>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <!-- mondrian data includes 10s of MBs of JSON file if you want to include 
       them run maven with -Pwith-mondrian-data -->
     <profile>