2015-08-18 14:28:30 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Druid - a distributed column store.
|
|
|
|
~ Copyright 2012 - 2015 Metamarkets Group Inc.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<artifactId>distribution</artifactId>
|
|
|
|
<name>distribution</name>
|
|
|
|
<description>distribution</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
<groupId>io.druid</groupId>
|
2016-09-29 16:53:32 -04:00
|
|
|
<version>0.9.3-SNAPSHOT</version>
|
2015-08-18 14:28:30 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.druid</groupId>
|
|
|
|
<artifactId>druid-services</artifactId>
|
|
|
|
<version>${project.parent.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2017-01-03 14:44:35 -05:00
|
|
|
<properties>
|
|
|
|
<!-- the default value is a repeated flag from the command line, since blank value is not allowed -->
|
|
|
|
<druid.distribution.pulldeps.opts>--clean</druid.distribution.pulldeps.opts>
|
|
|
|
</properties>
|
2015-08-18 14:28:30 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2015-07-07 23:51:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2016-02-25 18:55:11 -05:00
|
|
|
<id>pull-deps</id>
|
2016-02-18 16:39:13 -05:00
|
|
|
<phase>package</phase>
|
2015-07-07 23:51:44 -04:00
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
|
|
|
<classpath/>
|
|
|
|
<argument>-Ddruid.extensions.loadList=[]</argument>
|
2015-11-02 18:29:48 -05:00
|
|
|
<argument>-Ddruid.extensions.directory=${project.build.directory}/extensions</argument>
|
2016-06-13 07:28:21 -04:00
|
|
|
<argument>
|
|
|
|
-Ddruid.extensions.hadoopDependenciesDir=${project.build.directory}/hadoop-dependencies
|
|
|
|
</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>io.druid.cli.Main</argument>
|
|
|
|
<argument>tools</argument>
|
|
|
|
<argument>pull-deps</argument>
|
|
|
|
<argument>--clean</argument>
|
|
|
|
<argument>--defaultVersion</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
2016-02-29 15:13:00 -05:00
|
|
|
<argument>-l</argument>
|
|
|
|
<argument>${settings.localRepository}</argument>
|
2016-07-18 12:39:15 -04:00
|
|
|
<argument>-h</argument>
|
|
|
|
<argument>org.apache.hadoop:hadoop-client:${hadoop.compile.version}</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>-c</argument>
|
2016-06-13 07:28:21 -04:00
|
|
|
<argument>io.druid.extensions:druid-avro-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>io.druid.extensions:druid-examples</argument>
|
|
|
|
<argument>-c</argument>
|
2015-12-18 18:34:43 -05:00
|
|
|
<argument>io.druid.extensions:druid-datasketches</argument>
|
|
|
|
<argument>-c</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>io.druid.extensions:druid-hdfs-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions:druid-histogram</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions:druid-kafka-eight</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions:druid-kafka-extraction-namespace</argument>
|
|
|
|
<argument>-c</argument>
|
2016-03-01 19:51:50 -05:00
|
|
|
<argument>io.druid.extensions:druid-kafka-indexing-service</argument>
|
|
|
|
<argument>-c</argument>
|
2016-05-24 13:56:40 -04:00
|
|
|
<argument>io.druid.extensions:druid-lookups-cached-global</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>-c</argument>
|
2016-10-15 11:11:04 -04:00
|
|
|
<argument>io.druid.extensions:druid-lookups-cached-single</argument>
|
|
|
|
<argument>-c</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
<argument>io.druid.extensions:druid-s3-extensions</argument>
|
2016-06-13 07:28:21 -04:00
|
|
|
<argument>-c</argument>
|
2016-08-04 20:32:58 -04:00
|
|
|
<argument>io.druid.extensions:druid-stats</argument>
|
|
|
|
<argument>-c</argument>
|
2016-06-13 07:28:21 -04:00
|
|
|
<argument>io.druid.extensions:mysql-metadata-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions:postgresql-metadata-storage</argument>
|
2017-01-19 17:09:53 -05:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions.contrib:scan-query</argument>
|
2017-01-03 14:44:35 -05:00
|
|
|
<argument>${druid.distribution.pulldeps.opts}</argument>
|
2015-07-07 23:51:44 -04:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2016-02-25 18:55:11 -05:00
|
|
|
<execution>
|
|
|
|
<id>mysql-tarball</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>tar</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-C</argument>
|
|
|
|
<argument>${project.build.directory}/extensions</argument>
|
|
|
|
<argument>-czvf</argument>
|
2016-06-13 07:28:21 -04:00
|
|
|
<argument>
|
|
|
|
${project.build.directory}/mysql-metadata-storage-${project.parent.version}.tar.gz
|
|
|
|
</argument>
|
2016-02-25 18:55:11 -05:00
|
|
|
<argument>mysql-metadata-storage</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-07-07 23:51:44 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-08-18 14:28:30 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>distro-assembly</id>
|
2016-02-18 16:39:13 -05:00
|
|
|
<phase>package</phase>
|
2015-08-18 14:28:30 -04:00
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
|
2015-08-19 13:13:16 -04:00
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
2015-08-18 14:28:30 -04:00
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/assembly/assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>download-licenses</id>
|
|
|
|
<goals>
|
|
|
|
<goal>download-licenses</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-07-06 18:42:54 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>java8</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>1.8</jdk>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>pull-deps-jdk8</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
|
|
|
<classpath/>
|
|
|
|
<argument>-Ddruid.extensions.loadList=[]</argument>
|
|
|
|
<argument>-Ddruid.extensions.directory=${project.build.directory}/extensions
|
|
|
|
</argument>
|
|
|
|
<argument>
|
|
|
|
-Ddruid.extensions.hadoopDependenciesDir=${project.build.directory}/hadoop-dependencies
|
|
|
|
</argument>
|
|
|
|
<argument>io.druid.cli.Main</argument>
|
|
|
|
<argument>tools</argument>
|
|
|
|
<argument>pull-deps</argument>
|
|
|
|
<argument>--defaultVersion</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
|
|
|
<argument>-l</argument>
|
|
|
|
<argument>${settings.localRepository}</argument>
|
|
|
|
<!-- Only need stuff here that is NOT included in the general release -->
|
|
|
|
<argument>--no-default-hadoop</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>io.druid.extensions:druid-caffeine-cache</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2015-08-18 14:28:30 -04:00
|
|
|
</project>
|