2015-08-18 14:28:30 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2018-07-11 12:55:18 -04:00
|
|
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
~ or more contributor license agreements. See the NOTICE file
|
|
|
|
~ distributed with this work for additional information
|
|
|
|
~ regarding copyright ownership. The ASF licenses this file
|
|
|
|
~ to you 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
|
2015-08-18 14:28:30 -04:00
|
|
|
~
|
2018-07-11 12:55:18 -04:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2015-08-18 14:28:30 -04:00
|
|
|
~
|
2018-07-11 12:55:18 -04:00
|
|
|
~ 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.
|
2015-08-18 14:28:30 -04:00
|
|
|
-->
|
|
|
|
|
|
|
|
<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>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2018-02-02 13:06:38 -05:00
|
|
|
<version>0.13.0-SNAPSHOT</version>
|
2015-08-18 14:28:30 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2018-08-30 12:56:26 -04:00
|
|
|
<groupId>org.apache.druid</groupId>
|
2015-08-18 14:28:30 -04:00
|
|
|
<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>
|
2016-07-06 18:42:54 -04:00
|
|
|
<profiles>
|
2017-02-06 16:13:01 -05:00
|
|
|
<profile>
|
2018-09-25 13:05:26 -04:00
|
|
|
<id>dist</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
<property>
|
|
|
|
<name>tar</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2017-02-06 16:13:01 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
2018-09-25 13:05:26 -04:00
|
|
|
<execution>
|
|
|
|
<id>pull-deps</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>org.apache.druid.cli.Main</argument>
|
|
|
|
<argument>tools</argument>
|
|
|
|
<argument>pull-deps</argument>
|
|
|
|
<argument>--clean</argument>
|
|
|
|
<argument>--defaultVersion</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
|
|
|
<argument>-l</argument>
|
|
|
|
<argument>${settings.localRepository}</argument>
|
|
|
|
<argument>-h</argument>
|
|
|
|
<argument>org.apache.hadoop:hadoop-client:${hadoop.compile.version}</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-avro-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-26 19:04:26 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-bloom-filter</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-25 13:05:26 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-datasketches</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-hdfs-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-histogram</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kafka-eight</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kafka-extraction-namespace</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kafka-indexing-service</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-lookups-cached-global</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-lookups-cached-single</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-protobuf-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:mysql-metadata-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:postgresql-metadata-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kerberos</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-s3-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-stats</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-examples</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:simple-client-sslcontext</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-basic-security</argument>
|
|
|
|
<argument>${druid.distribution.pulldeps.opts}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<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>
|
|
|
|
<argument>
|
|
|
|
${project.build.directory}/mysql-metadata-storage-${project.parent.version}.tar.gz
|
|
|
|
</argument>
|
|
|
|
<argument>mysql-metadata-storage</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2017-02-06 16:13:01 -05:00
|
|
|
<execution>
|
|
|
|
<id>pull-deps-contrib-exts</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>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.cli.Main</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>tools</argument>
|
|
|
|
<argument>pull-deps</argument>
|
|
|
|
<argument>--defaultVersion</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
|
|
|
<argument>-l</argument>
|
|
|
|
<argument>${settings.localRepository}</argument>
|
|
|
|
<argument>--no-default-hadoop</argument>
|
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:ambari-metrics-emitter</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-azure-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-cassandra-storage</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-cloudfiles-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-distinctcount</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-rocketmq</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-google-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-kafka-eight-simple-consumer</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:graphite-emitter</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-opentsdb-emitter</argument>
|
2018-02-13 16:10:22 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-orc-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-parquet-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-rabbitmq</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-redis-cache</argument>
|
2017-08-08 13:11:45 -04:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:sqlserver-metadata-storage</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:statsd-emitter</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-thrift-extensions</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-time-min-max</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-virtual-columns</argument>
|
2018-06-09 15:24:54 -04:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:materialized-view-maintenance</argument>
|
2018-06-09 15:24:54 -04:00
|
|
|
<argument>-c</argument>
|
2018-08-30 12:56:26 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:materialized-view-selection</argument>
|
2017-02-06 16:13:01 -05:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-09-25 13:05:26 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>distro-assembly</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.parent.artifactId}-${project.parent.version}</finalName>
|
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
|
|
<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>
|
2017-02-06 16:13:01 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-07-06 18:42:54 -04:00
|
|
|
</profiles>
|
2015-08-18 14:28:30 -04:00
|
|
|
</project>
|