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
|
|
|
-->
|
|
|
|
|
2020-10-03 19:08:34 -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">
|
2015-08-18 14:28:30 -04:00
|
|
|
<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>
|
2021-09-08 18:56:04 -04:00
|
|
|
<version>0.23.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>
|
2018-10-17 21:37:01 -04:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.nicoulaj.maven.plugins</groupId>
|
|
|
|
<artifactId>checksum-maven-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>dist-checksum</id>
|
|
|
|
<goals>
|
|
|
|
<goal>files</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<algorithms>
|
|
|
|
<algorithm>SHA-512</algorithm>
|
|
|
|
</algorithms>
|
|
|
|
<csvSummary>false</csvSummary>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>*-src.tar.gz</include>
|
|
|
|
<include>*-bin.tar.gz</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<failIfNoFiles>false</failIfNoFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-03-04 21:45:22 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2021-06-08 11:28:11 -04:00
|
|
|
<version>3.0.0</version>
|
2019-03-04 21:45:22 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<concat destfile="${project.build.directory}/../../README.BINARY">
|
2019-05-10 00:29:26 -04:00
|
|
|
<fileset file="${project.build.directory}/../../README" />
|
|
|
|
<fileset file="${project.build.directory}/../../LABELS" />
|
2019-03-04 21:45:22 -05:00
|
|
|
</concat>
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-12-05 17:34:35 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.owasp</groupId>
|
|
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-10-17 21:37:01 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
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>
|
2019-05-10 00:29:26 -04:00
|
|
|
<execution>
|
2019-08-30 02:27:43 -04:00
|
|
|
<id>generate-readme</id>
|
2019-05-10 00:29:26 -04:00
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-08-30 02:27:43 -04:00
|
|
|
<executable>${project.basedir}/bin/build-textfile-readme.sh</executable>
|
2019-05-10 00:29:26 -04:00
|
|
|
<arguments>
|
|
|
|
<argument>${project.basedir}/../</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-07-08 15:24:51 -04:00
|
|
|
<execution>
|
2019-08-30 02:27:43 -04:00
|
|
|
<id>generate-binary-license</id>
|
2019-07-08 15:24:51 -04:00
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-08-30 02:27:43 -04:00
|
|
|
<executable>${project.basedir}/bin/generate-binary-license.py</executable>
|
2019-07-08 15:24:51 -04:00
|
|
|
<arguments>
|
2019-08-30 02:27:43 -04:00
|
|
|
<argument>${project.parent.basedir}/licenses/APACHE2</argument>
|
|
|
|
<argument>${project.parent.basedir}/licenses.yaml</argument>
|
|
|
|
<argument>${project.parent.basedir}/LICENSE.BINARY</argument>
|
2019-07-08 15:24:51 -04:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2019-08-21 15:46:27 -04:00
|
|
|
<execution>
|
|
|
|
<id>generate-binary-notice</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-08-30 02:27:43 -04:00
|
|
|
<executable>${project.basedir}/bin/generate-binary-notice.py</executable>
|
2019-08-21 15:46:27 -04:00
|
|
|
<arguments>
|
2019-08-30 02:27:43 -04:00
|
|
|
<argument>${project.parent.basedir}/NOTICE</argument>
|
|
|
|
<argument>${project.parent.basedir}/licenses.yaml</argument>
|
|
|
|
<argument>${project.parent.basedir}/NOTICE.BINARY</argument>
|
2019-08-21 15:46:27 -04:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
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>
|
2020-10-03 19:08:34 -04:00
|
|
|
<classpath />
|
2018-09-25 13:05:26 -04:00
|
|
|
<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>
|
2020-02-25 20:49:16 -05:00
|
|
|
<argument>org.apache.druid.extensions:druid-azure-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-26 19:04:26 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-bloom-filter</argument>
|
2021-10-30 13:16:24 -04:00
|
|
|
<argument>-c</argument>
|
|
|
|
<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-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-kinesis-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:druid-orc-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-parquet-extensions</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-aws-rds-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-ec2-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-google-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-stats</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>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-pac4j</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-ranger-security</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kubernetes-extensions</argument>
|
|
|
|
<argument>${druid.distribution.pulldeps.opts}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<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>apache-druid-${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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>dist-hadoop3</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-readme</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/bin/build-textfile-readme.sh</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.basedir}/../</argument>
|
|
|
|
<argument>${project.parent.version}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate-binary-license</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/bin/generate-binary-license.py</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.parent.basedir}/licenses/APACHE2</argument>
|
|
|
|
<argument>${project.parent.basedir}/licenses.yaml</argument>
|
|
|
|
<argument>${project.parent.basedir}/LICENSE.BINARY</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>generate-binary-notice</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/bin/generate-binary-notice.py</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.parent.basedir}/NOTICE</argument>
|
|
|
|
<argument>${project.parent.basedir}/licenses.yaml</argument>
|
|
|
|
<argument>${project.parent.basedir}/NOTICE.BINARY</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<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>-Dhadoop3.enabled=true</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-api:${hadoop.compile.version}</argument>
|
|
|
|
<argument>-h</argument>
|
|
|
|
<argument>org.apache.hadoop:hadoop-client-runtime:${hadoop.compile.version}</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-avro-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-azure-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-bloom-filter</argument>
|
2018-09-26 19:04:26 -04:00
|
|
|
<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-extraction-namespace</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kafka-indexing-service</argument>
|
|
|
|
<argument>-c</argument>
|
2018-12-21 14:49:24 -05:00
|
|
|
<argument>org.apache.druid.extensions:druid-kinesis-indexing-service</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-25 13:05:26 -04:00
|
|
|
<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>
|
2019-04-09 12:03:26 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-orc-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2018-11-06 00:33:42 -05:00
|
|
|
<argument>org.apache.druid.extensions:druid-parquet-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-25 13:05:26 -04:00
|
|
|
<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>
|
2021-01-07 00:15:29 -05:00
|
|
|
<argument>org.apache.druid.extensions:druid-aws-rds-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2019-03-27 12:00:43 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-ec2-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-google-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2018-09-25 13:05:26 -04:00
|
|
|
<argument>org.apache.druid.extensions:druid-stats</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>
|
2020-03-23 21:15:45 -04:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-pac4j</argument>
|
2020-04-04 12:02:24 -04:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-ranger-security</argument>
|
2020-12-15 00:10:31 -05:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kubernetes-extensions</argument>
|
2018-09-25 13:05:26 -04:00
|
|
|
<argument>${druid.distribution.pulldeps.opts}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-10-19 16:50:05 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<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>apache-druid-${project.parent.version}</finalName>
|
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/assembly/assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2018-11-13 12:38:37 -05:00
|
|
|
</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>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>apache-release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-08-30 02:27:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>generate-licenses-report</id>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/bin/generate-license-dependency-reports.py</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.basedir}/../</argument>
|
|
|
|
<argument>${project.basedir}/target</argument>
|
|
|
|
<argument>--clean-maven-artifact-transfer</argument>
|
|
|
|
<argument>--parallel</argument>
|
|
|
|
<argument>2</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>check-licenses</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>${project.basedir}/bin/check-licenses.py</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.parent.basedir}/licenses.yaml</argument>
|
|
|
|
<argument>${project.basedir}/target/license-reports</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-11-13 12:38:37 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
2018-10-19 16:50:05 -04:00
|
|
|
<execution>
|
|
|
|
<id>source-release-assembly-druid</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<finalName>apache-druid-${project.version}-src</finalName>
|
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/assembly/source-assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>bundle-contrib-exts</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
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>
|
2020-10-03 19:08:34 -04:00
|
|
|
<classpath />
|
2017-02-06 16:13:01 -05:00
|
|
|
<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>
|
2019-10-01 17:59:30 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:dropwizard-emitter</argument>
|
|
|
|
<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-12-10 20:56:32 -05:00
|
|
|
<argument>org.apache.druid.extensions.contrib:graphite-emitter</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-influx-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
2019-05-23 14:11:48 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-influxdb-emitter</argument>
|
|
|
|
<argument>-c</argument>
|
2018-12-10 20:56:32 -05:00
|
|
|
<argument>org.apache.druid.extensions.contrib:kafka-emitter</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:materialized-view-maintenance</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:materialized-view-selection</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-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>
|
2021-10-26 00:16:17 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:prometheus-emitter</argument>
|
|
|
|
<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>
|
2019-04-26 20:07:48 -04:00
|
|
|
<argument>-c</argument>
|
2019-05-09 20:22:55 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-moving-average-query</argument>
|
2019-07-01 15:46:35 -04:00
|
|
|
<argument>-c</argument>
|
2021-10-26 00:16:17 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-momentsketch</argument>
|
|
|
|
<argument>-c</argument>
|
2019-05-09 20:22:55 -04:00
|
|
|
<argument>org.apache.druid.extensions.contrib:druid-tdigestsketch</argument>
|
2020-04-28 06:13:39 -04:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:gce-extensions</argument>
|
2020-07-02 01:20:53 -04:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:aliyun-oss-extensions</argument>
|
2022-01-14 23:18:04 -05:00
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions.contrib:opentelemetry-emitter</argument>
|
2019-05-09 20:22:55 -04:00
|
|
|
</arguments>
|
2017-02-06 16:13:01 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2022-01-06 02:33:04 -05:00
|
|
|
<profile>
|
|
|
|
<id>integration-test</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<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>
|
|
|
|
<argument>org.apache.druid.extensions:druid-azure-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<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-indexing-service</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-kinesis-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-protobuf-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:mysql-metadata-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-orc-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-parquet-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:postgresql-metadata-storage</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-s3-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-ec2-extensions</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-google-extensions</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>-c</argument>
|
|
|
|
<argument>org.apache.druid:druid-integration-tests</argument>
|
|
|
|
<argument>-c</argument>
|
|
|
|
<argument>org.apache.druid.extensions:druid-testing-tools</argument>
|
|
|
|
<argument>${druid.distribution.pulldeps.opts}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<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>apache-druid-${project.version}-integration-test</finalName>
|
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/assembly/integration-test-assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2016-07-06 18:42:54 -04:00
|
|
|
</profiles>
|
2019-12-05 17:34:35 -05:00
|
|
|
</project>
|