Skip to content

Commit

Permalink
package contrib extensions as well in separate mvn profile (apache#3870)
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshug authored and fjy committed Feb 6, 2017
1 parent ddd8c9e commit 4c49a54
Showing 1 changed file with 84 additions and 8 deletions.
92 changes: 84 additions & 8 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@
<argument>-c</argument>
<argument>io.druid.extensions:druid-avro-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-examples</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-datasketches</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-hdfs-storage</argument>
Expand All @@ -97,17 +95,17 @@
<argument>-c</argument>
<argument>io.druid.extensions:druid-lookups-cached-single</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-s3-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-stats</argument>
<argument>-c</argument>
<argument>io.druid.extensions:mysql-metadata-storage</argument>
<argument>-c</argument>
<argument>io.druid.extensions:postgresql-metadata-storage</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:scan-query</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-kerberos</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-s3-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-stats</argument>
<argument>-c</argument>
<argument>io.druid.extensions:druid-examples</argument>
<argument>${druid.distribution.pulldeps.opts}</argument>
</arguments>
</configuration>
Expand Down Expand Up @@ -215,5 +213,83 @@
</plugins>
</build>
</profile>
<profile>
<id>bundle-contrib-exts</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<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>
<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>
<argument>--no-default-hadoop</argument>
<argument>${druid.distribution.pulldeps.opts}</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:ambari-metrics-emitter</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-azure-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-cassandra-storage</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-cloudfiles-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-distinctcount</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-rocketmq</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-google-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-kafka-eight-simple-consumer</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:graphite-emitter</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-orc-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-parquet-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-rabbitmq</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:scan-query</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:sqlserver-metadata-storage</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:statsd-emitter</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-thrift-extensions</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-time-min-max</argument>
<argument>-c</argument>
<argument>io.druid.extensions.contrib:druid-virtual-columns</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 4c49a54

Please sign in to comment.