You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ag...@apache.org on 2019/03/21 20:54:43 UTC

[drill] branch master updated: DRILL-7126: Contrib format-ltsv is not being included in distribution (#1709)

This is an automated email from the ASF dual-hosted git repository.

agirish pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git


The following commit(s) were added to refs/heads/master by this push:
     new 582da5f  DRILL-7126: Contrib format-ltsv is not being included in distribution (#1709)
582da5f is described below

commit 582da5f24e9cac6e41b8bd9b34f27358bf6cf8f6
Author: Abhishek Girish <ag...@apache.org>
AuthorDate: Thu Mar 21 13:54:39 2019 -0700

    DRILL-7126: Contrib format-ltsv is not being included in distribution (#1709)
---
 contrib/format-ltsv/pom.xml             | 27 ++++++++++++++++++++++++++-
 distribution/pom.xml                    |  5 +++++
 distribution/src/assemble/component.xml |  1 +
 3 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/contrib/format-ltsv/pom.xml b/contrib/format-ltsv/pom.xml
index 9031d71..4110a1c 100644
--- a/contrib/format-ltsv/pom.xml
+++ b/contrib/format-ltsv/pom.xml
@@ -52,5 +52,30 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-java-sources</id>
+            <phase>process-sources</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/target/classes/org/apache/drill/exec/store/ltsv
+              </outputDirectory>
+              <resources>
+                <resource>
+                  <directory>src/main/java/org/apache/drill/exec/store/ltsv</directory>
+                  <filtering>true</filtering>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 3826991..f723142 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -289,6 +289,11 @@
           <artifactId>drill-format-syslog</artifactId>
           <version>${project.version}</version>
         </dependency>
+        <dependency>
+          <groupId>org.apache.drill.contrib</groupId>
+          <artifactId>drill-format-ltsv</artifactId>
+          <version>${project.version}</version>
+        </dependency>
       </dependencies>
     </profile>
 
diff --git a/distribution/src/assemble/component.xml b/distribution/src/assemble/component.xml
index 7174ba2..8c59484 100644
--- a/distribution/src/assemble/component.xml
+++ b/distribution/src/assemble/component.xml
@@ -41,6 +41,7 @@
         <include>org.apache.drill.contrib:drill-storage-hbase:jar</include>
         <include>org.apache.drill.contrib:drill-format-mapr:jar</include>
         <include>org.apache.drill.contrib:drill-format-syslog:jar</include>
+        <include>org.apache.drill.contrib:drill-format-ltsv:jar</include>
         <include>org.apache.drill.contrib:drill-jdbc-storage:jar</include>
         <include>org.apache.drill.contrib:drill-kudu-storage:jar</include>
         <include>org.apache.drill.contrib:drill-storage-kafka:jar</include>