Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> [5/7] git commit: DRILL-121 RPM and DEB packages


Copy link to this message
-
[5/7] git commit: DRILL-121 RPM and DEB packages
DRILL-121 RPM and DEB packages
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/2bcf0547
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/2bcf0547
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/2bcf0547

Branch: refs/heads/master
Commit: 2bcf0547a0d230e65d8a935c634e01608c19eb5d
Parents: 5232b0e
Author: Steven Phillips <[EMAIL PROTECTED]>
Authored: Wed Aug 21 19:23:28 2013 -0700
Committer: Jacques Nadeau <[EMAIL PROTECTED]>
Committed: Wed Aug 28 20:37:53 2013 -0700

----------------------------------------------------------------------
 sandbox/prototype/distribution/pom.xml          | 214 +++++++++++++++++
 .../prototype/distribution/src/assemble/bin.xml |  81 +++++++
 .../distribution/src/deb/control/conffiles      |   3 +
 .../distribution/src/deb/control/control        |   8 +
 .../distribution/src/resources/drill-config.sh  |  96 ++++++++
 .../distribution/src/resources/drill-env.sh     |   2 +
 .../src/resources/drill-override.conf           |  36 +++
 .../distribution/src/resources/drillbit         | 166 +++++++++++++
 .../distribution/src/resources/drillbit.sh      | 230 +++++++++++++++++++
 .../distribution/src/resources/logback.xml      |  36 +++
 .../prototype/distribution/src/resources/runbit |  30 +++
 .../distribution/src/resources/sqlline          |  30 +++
 .../src/main/resources/drill-module.conf        |   2 +-
 .../java-exec/src/main/resources/logback.xml    |  49 ++++
 .../exec/java-exec/src/main/sh/drill-config.sh  |  96 ++++++++
 .../exec/java-exec/src/main/sh/drillbit.sh      | 230 +++++++++++++++++++
 .../prototype/exec/java-exec/src/main/sh/runbit |  30 +++
 sandbox/prototype/pom.xml                       |  10 +
 18 files changed, 1348 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/2bcf0547/sandbox/prototype/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/prototype/distribution/pom.xml b/sandbox/prototype/distribution/pom.xml
new file mode 100644
index 0000000..934c81a
--- /dev/null
+++ b/sandbox/prototype/distribution/pom.xml
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>prototype-parent</artifactId>
+    <groupId>org.apache.drill</groupId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.drill</groupId>
+  <artifactId>distribution</artifactId>
+  <packaging>pom</packaging>
+  <name>Packaging</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.drill.exec</groupId>
+      <artifactId>java-exec</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+      <dependency>
+          <groupId>org.apache.drill.exec</groupId>
+          <artifactId>netty-bufferl</artifactId>
+          <version>4.0.7.Final</version>
+      </dependency>
+      <dependency>
+          <groupId>org.apache.drill.exec</groupId>
+          <artifactId>ref</artifactId>
+          <version>1.0-SNAPSHOT</version>
+      </dependency>
+    <dependency>
+      <groupId>org.apache.drill</groupId>
+      <artifactId>common</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.drill</groupId>
+      <artifactId>planner</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.drill</groupId>
+      <artifactId>sqlparser</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>distro-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/assemble/bin.xml</descriptor>
+              </descriptors>
+              <finalName>drill-1.0</finalName>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>rpm</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>rpm-maven-plugin</artifactId>
+            <version>2.1-alpha-3</version>
+            <executions>
+              <execution>
+                <id>generate-rpm</id>
+                <goals>
+                  <goal>rpm</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <copyright>2013 ASF</copyright>
+              <group>Apache Software Foundation</group>
+              <prefix>/opt</prefix>
+              <release>SNAPSHOT</release>
+              <version>1.0</version>
+              <name>drill</name>
+              <mappings>
+                <mapping>
+                  <directory>/opt/drill/bin</directory>
+                  <sources>
+                    <source>
+                      <location>target/drill-1.0-bin/drill-1.0/bin</location>
+                    </source>
+                  </sources>
+                </mapping>
+                <mapping>
+                  <directory>/opt/drill/lib</directory>
+                  <sources>
+                    <source>
+                      <location>target/drill-1.0-bin/drill-1.0/lib</location>
+                    </source>
+                  </sources>
+                </mapping>
+                <mapping>