Merge pull request #882 from metamx/now_with_OPEN_SOURCE

Added src jar build to maven poms and re-formatted to conform to style guidelines.
This commit is contained in:
xvrl 2014-11-18 13:00:04 -08:00
commit a96eaeb036
16 changed files with 1391 additions and 1183 deletions

View File

@ -18,55 +18,68 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-cassandra-storage</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-cassandra-storage</name> <artifactId>druid-cassandra-storage</artifactId>
<description>druid-cassandra-storage</description> <name>druid-cassandra-storage</name>
<description>druid-cassandra-storage</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.netflix.astyanax</groupId> <groupId>com.netflix.astyanax</groupId>
<artifactId>astyanax</artifactId> <artifactId>astyanax</artifactId>
<version>1.0.1</version> <version>1.0.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,142 +18,155 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.druid</groupId>
<artifactId>druid-common</artifactId>
<name>druid-common</name>
<description>druid-common</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-common</artifactId> <artifactId>druid</artifactId>
<name>druid-common</name> <version>0.7.0-SNAPSHOT</version>
<description>druid-common</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>com.metamx</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>java-util</artifactId>
</parent> </dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-api</artifactId>
</dependency>
<dependencies> <dependency>
<dependency> <groupId>commons-codec</groupId>
<groupId>com.metamx</groupId> <artifactId>commons-codec</artifactId>
<artifactId>java-util</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.apache.commons</groupId>
<groupId>io.druid</groupId> <artifactId>commons-dbcp2</artifactId>
<artifactId>druid-api</artifactId> </dependency>
</dependency> <dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.skife.config</groupId>
<artifactId>config-magic</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-guava</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-smile</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency> <!-- Tests -->
<groupId>commons-codec</groupId> <dependency>
<artifactId>commons-codec</artifactId> <groupId>junit</groupId>
</dependency> <artifactId>junit</artifactId>
<dependency> <scope>test</scope>
<groupId>org.apache.commons</groupId> </dependency>
<artifactId>commons-dbcp2</artifactId> <dependency>
</dependency> <groupId>org.easymock</groupId>
<dependency> <artifactId>easymock</artifactId>
<groupId>commons-pool</groupId> <scope>test</scope>
<artifactId>commons-pool</artifactId> </dependency>
<version>1.6</version> <dependency>
</dependency> <groupId>com.metamx</groupId>
<dependency> <artifactId>java-util</artifactId>
<groupId>org.skife.config</groupId> <type>test-jar</type>
<artifactId>config-magic</artifactId> <scope>test</scope>
</dependency> </dependency>
<dependency> </dependencies>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-guava</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-smile</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<!-- Tests --> <build>
<dependency> <plugins>
<groupId>junit</groupId> <plugin>
<artifactId>junit</artifactId> <groupId>org.apache.maven.plugins</groupId>
<scope>test</scope> <artifactId>maven-source-plugin</artifactId>
</dependency> <executions>
<dependency> <execution>
<groupId>org.easymock</groupId> <id>attach-sources</id>
<artifactId>easymock</artifactId> <goals>
<scope>test</scope> <goal>jar</goal>
</dependency> </goals>
<dependency> </execution>
<groupId>com.metamx</groupId> </executions>
<artifactId>java-util</artifactId> </plugin>
<type>test-jar</type> <plugin>
<scope>test</scope> <artifactId>maven-jar-plugin</artifactId>
</dependency> <executions>
</dependencies> <execution>
<goals>
<build> <goal>test-jar</goal>
<plugins> </goals>
<plugin> </execution>
<artifactId>maven-jar-plugin</artifactId> </executions>
<executions> <configuration>
<execution> <archive>
<goals> <manifest>
<goal>test-jar</goal> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</goals> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</execution> </manifest>
</executions> </archive>
<configuration> </configuration>
<archive> </plugin>
<manifest> </plugins>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> </build>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,106 +18,119 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-examples</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-examples</name> <artifactId>druid-examples</artifactId>
<description>druid-examples</description> <name>druid-examples</name>
<description>druid-examples</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-server</artifactId> <artifactId>druid-server</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-common</artifactId> <artifactId>druid-common</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.twitter4j</groupId> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId> <artifactId>twitter4j-core</artifactId>
<version>3.0.3</version> <version>3.0.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.twitter4j</groupId> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-async</artifactId> <artifactId>twitter4j-async</artifactId>
<version>3.0.3</version> <version>3.0.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.twitter4j</groupId> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-stream</artifactId> <artifactId>twitter4j-stream</artifactId>
<version>3.0.3</version> <version>3.0.3</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-validator</groupId> <groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId> <artifactId>commons-validator</artifactId>
<version>1.4.0</version> <version>1.4.0</version>
</dependency> </dependency>
<!-- For tests! --> <!-- For tests! -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<outputFile> <outputFile>
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar ${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar
</outputFile> </outputFile>
<filters> <filters>
<filter> <filter>
<artifact>*:*</artifact> <artifact>*:*</artifact>
<excludes> <excludes>
<exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude> <exclude>META-INF/*.RSA</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<executions> <artifactId>maven-source-plugin</artifactId>
<execution> <executions>
<goals> <execution>
<goal>test-jar</goal> <id>attach-sources</id>
</goals> <goals>
</execution> <goal>jar</goal>
</executions> </goals>
<configuration> </execution>
<archive> </executions>
<manifest> </plugin>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <plugin>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <artifactId>maven-jar-plugin</artifactId>
</manifest> <executions>
</archive> <execution>
</configuration> <goals>
</plugin> <goal>test-jar</goal>
</plugins> </goals>
</build> </execution>
</executions>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,73 +18,86 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-hdfs-storage</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-hdfs-storage</name> <artifactId>druid-hdfs-storage</artifactId>
<description>druid-hdfs-storage</description> <name>druid-hdfs-storage</name>
<description>druid-hdfs-storage</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<!-- override jets3t from hadoop-core --> <!-- override jets3t from hadoop-core -->
<dependency> <dependency>
<groupId>net.java.dev.jets3t</groupId> <groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId> <artifactId>jets3t</artifactId>
</dependency> </dependency>
<!-- override httpclient / httpcore version from jets3t --> <!-- override httpclient / httpcore version from jets3t -->
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId> <artifactId>httpcore</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.hadoop</groupId> <groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId> <artifactId>hadoop-client</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.metamx</groupId> <groupId>com.metamx</groupId>
<artifactId>emitter</artifactId> <artifactId>emitter</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -17,54 +17,67 @@
~ along with this program; if not, write to the Free Software ~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-histogram</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-histogram</name> <artifactId>druid-histogram</artifactId>
<description>druid-histogram</description> <name>druid-histogram</name>
<description>druid-histogram</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-processing</artifactId> <artifactId>druid-processing</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-processing</artifactId> <artifactId>druid-processing</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
<scope>test</scope> <scope>test</scope>
<type>test-jar</type> <type>test-jar</type>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,116 +18,129 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.druid</groupId>
<artifactId>druid-indexing-hadoop</artifactId>
<name>druid-indexing-hadoop</name>
<description>Druid Indexing Hadoop</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-indexing-hadoop</artifactId> <artifactId>druid</artifactId>
<name>druid-indexing-hadoop</name> <version>0.7.0-SNAPSHOT</version>
<description>Druid Indexing Hadoop</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>io.druid</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>druid-server</artifactId>
</parent> <version>${project.parent.version}</version>
</dependency>
<dependencies> <dependency>
<dependency> <groupId>com.metamx</groupId>
<groupId>io.druid</groupId> <artifactId>java-util</artifactId>
<artifactId>druid-server</artifactId> </dependency>
<version>${project.parent.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.metamx</groupId> <groupId>commons-io</groupId>
<artifactId>java-util</artifactId> <artifactId>commons-io</artifactId>
</dependency> </dependency>
<dependency>
<dependency> <groupId>com.google.guava</groupId>
<groupId>commons-io</groupId> <artifactId>guava</artifactId>
<artifactId>commons-io</artifactId> </dependency>
</dependency> <!-- override jets3t from hadoop-core -->
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>net.java.dev.jets3t</groupId>
<artifactId>guava</artifactId> <artifactId>jets3t</artifactId>
</dependency> </dependency>
<!-- override jets3t from hadoop-core --> <!-- override httpclient / httpcore version from jets3t -->
<dependency> <dependency>
<groupId>net.java.dev.jets3t</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>jets3t</artifactId> <artifactId>httpclient</artifactId>
</dependency> </dependency>
<!-- override httpclient / httpcore version from jets3t --> <dependency>
<dependency> <groupId>org.apache.httpcomponents</groupId>
<groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId>
<artifactId>httpclient</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.apache.hadoop</groupId>
<groupId>org.apache.httpcomponents</groupId> <artifactId>hadoop-client</artifactId>
<artifactId>httpcore</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>com.fasterxml.jackson.core</groupId>
<groupId>org.apache.hadoop</groupId> <artifactId>jackson-core</artifactId>
<artifactId>hadoop-client</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>com.fasterxml.jackson.core</groupId>
<groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId>
<artifactId>jackson-core</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.jdbi</groupId>
<groupId>com.fasterxml.jackson.core</groupId> <artifactId>jdbi</artifactId>
<artifactId>jackson-databind</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>joda-time</groupId>
<groupId>org.jdbi</groupId> <artifactId>joda-time</artifactId>
<artifactId>jdbi</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>com.google.code.findbugs</groupId>
<groupId>joda-time</groupId> <artifactId>jsr305</artifactId>
<artifactId>joda-time</artifactId> </dependency>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-shade-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<executions> <artifactId>maven-source-plugin</artifactId>
<execution> <executions>
<phase>package</phase> <execution>
<goals> <id>attach-sources</id>
<goal>shade</goal> <goals>
</goals> <goal>jar</goal>
<configuration> </goals>
<outputFile> </execution>
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar </executions>
</outputFile> </plugin>
</configuration> <plugin>
</execution> <artifactId>maven-shade-plugin</artifactId>
</executions> <executions>
</plugin> <execution>
</plugins> <phase>package</phase>
</build> <goals>
<goal>shade</goal>
</goals>
<configuration>
<outputFile>
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar
</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,72 +18,85 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.druid</groupId>
<artifactId>druid-indexing-service</artifactId>
<name>druid-indexing-service</name>
<description>druid-indexing-service</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-indexing-service</artifactId> <artifactId>druid</artifactId>
<name>druid-indexing-service</name> <version>0.7.0-SNAPSHOT</version>
<description>druid-indexing-service</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>io.druid</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>druid-common</artifactId>
</parent> <version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-server</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-indexing-hadoop</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependencies> <!-- Tests -->
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>junit</groupId>
<artifactId>druid-common</artifactId> <artifactId>junit</artifactId>
<version>${project.parent.version}</version> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>org.easymock</groupId>
<artifactId>druid-server</artifactId> <artifactId>easymock</artifactId>
<version>${project.parent.version}</version> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>org.apache.curator</groupId>
<artifactId>druid-indexing-hadoop</artifactId> <artifactId>curator-test</artifactId>
<version>${project.parent.version}</version> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Tests --> <build>
<dependency> <plugins>
<groupId>junit</groupId> <plugin>
<artifactId>junit</artifactId> <groupId>org.apache.maven.plugins</groupId>
<scope>test</scope> <artifactId>maven-source-plugin</artifactId>
</dependency> <executions>
<dependency> <execution>
<groupId>org.easymock</groupId> <id>attach-sources</id>
<artifactId>easymock</artifactId> <goals>
<scope>test</scope> <goal>jar</goal>
</dependency> </goals>
<dependency> </execution>
<groupId>org.apache.curator</groupId> </executions>
<artifactId>curator-test</artifactId> </plugin>
<scope>test</scope> <plugin>
</dependency> <artifactId>maven-jar-plugin</artifactId>
<dependency> <configuration>
<groupId>org.apache.hadoop</groupId> <archive>
<artifactId>hadoop-client</artifactId> <manifest>
<scope>test</scope> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</dependency> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</dependencies> </manifest>
</archive>
<build> </configuration>
<plugins> </plugin>
<plugin> </plugins>
<artifactId>maven-jar-plugin</artifactId> </build>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,61 +18,74 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-kafka-eight</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-kafka-eight</name> <artifactId>druid-kafka-eight</artifactId>
<description>druid-kafka-eight</description> <name>druid-kafka-eight</name>
<description>druid-kafka-eight</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.9.2</artifactId> <artifactId>kafka_2.9.2</artifactId>
<version>0.8.0</version> <version>0.8.0</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>org.apache.zookeeper</groupId> <groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId> <artifactId>zookeeper</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,60 +18,73 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-kafka-seven</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-kafka-seven</name> <artifactId>druid-kafka-seven</artifactId>
<description>druid-kafka-seven</description> <name>druid-kafka-seven</name>
<description>druid-kafka-seven</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>kafka</groupId> <groupId>kafka</groupId>
<artifactId>core-kafka</artifactId> <artifactId>core-kafka</artifactId>
<version>0.7.2-mmx4</version> <version>0.7.2-mmx4</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId> <artifactId>log4j</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>org.jboss.netty</groupId> <groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId> <artifactId>netty</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -61,6 +61,18 @@
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<configuration> <configuration>

View File

@ -61,6 +61,18 @@
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<configuration> <configuration>

View File

@ -20,118 +20,130 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.druid</groupId>
<artifactId>druid-processing</artifactId>
<name>druid-processing</name>
<description>A module that is everything required to understands Druid Segments</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-processing</artifactId> <artifactId>druid</artifactId>
<name>druid-processing</name> <version>0.7.0-SNAPSHOT</version>
<description>A module that is everything required to understands Druid Segments</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>io.druid</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>druid-common</artifactId>
</parent> <version>${project.parent.version}</version>
</dependency>
<dependencies> <dependency>
<dependency> <groupId>com.metamx</groupId>
<groupId>io.druid</groupId> <artifactId>bytebuffer-collections</artifactId>
<artifactId>druid-common</artifactId> </dependency>
<version>${project.parent.version}</version> <dependency>
</dependency> <groupId>com.metamx</groupId>
<dependency> <artifactId>emitter</artifactId>
<groupId>com.metamx</groupId> </dependency>
<artifactId>bytebuffer-collections</artifactId> <dependency>
</dependency> <groupId>com.ning</groupId>
<dependency> <artifactId>compress-lzf</artifactId>
<groupId>com.metamx</groupId> </dependency>
<artifactId>emitter</artifactId> <dependency>
</dependency> <groupId>org.skife.config</groupId>
<dependency> <artifactId>config-magic</artifactId>
<groupId>com.ning</groupId> </dependency>
<artifactId>compress-lzf</artifactId> <dependency>
</dependency> <groupId>org.slf4j</groupId>
<dependency> <artifactId>slf4j-log4j12</artifactId>
<groupId>org.skife.config</groupId> </dependency>
<artifactId>config-magic</artifactId> <dependency>
</dependency> <groupId>com.google.protobuf</groupId>
<dependency> <artifactId>protobuf-java</artifactId>
<groupId>org.slf4j</groupId> </dependency>
<artifactId>slf4j-log4j12</artifactId> <dependency>
</dependency> <groupId>commons-io</groupId>
<dependency> <artifactId>commons-io</artifactId>
<groupId>com.google.protobuf</groupId> </dependency>
<artifactId>protobuf-java</artifactId> <dependency>
</dependency> <groupId>com.ibm.icu</groupId>
<dependency> <artifactId>icu4j</artifactId>
<groupId>commons-io</groupId> </dependency>
<artifactId>commons-io</artifactId> <dependency>
</dependency> <groupId>org.mozilla</groupId>
<dependency> <artifactId>rhino</artifactId>
<groupId>com.ibm.icu</groupId> <version>1.7R4</version>
<artifactId>icu4j</artifactId> </dependency>
</dependency> <dependency>
<dependency> <groupId>com.davekoelle</groupId>
<groupId>org.mozilla</groupId> <artifactId>alphanum</artifactId>
<artifactId>rhino</artifactId> </dependency>
<version>1.7R4</version> <dependency>
</dependency> <groupId>net.jpountz.lz4</groupId>
<dependency> <artifactId>lz4</artifactId>
<groupId>com.davekoelle</groupId> </dependency>
<artifactId>alphanum</artifactId> <dependency>
</dependency> <groupId>org.mapdb</groupId>
<dependency> <artifactId>mapdb</artifactId>
<groupId>net.jpountz.lz4</groupId> </dependency>
<artifactId>lz4</artifactId>
</dependency>
<dependency>
<groupId>org.mapdb</groupId>
<artifactId>mapdb</artifactId>
</dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.carrotsearch</groupId> <groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId> <artifactId>junit-benchmarks</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.easymock</groupId> <groupId>org.easymock</groupId>
<artifactId>easymock</artifactId> <artifactId>easymock</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google.caliper</groupId> <groupId>com.google.caliper</groupId>
<artifactId>caliper</artifactId> <artifactId>caliper</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<executions> <artifactId>maven-source-plugin</artifactId>
<execution> <executions>
<goals> <execution>
<goal>test-jar</goal> <id>attach-sources</id>
</goals> <goals>
</execution> <goal>jar</goal>
</executions> </goals>
<configuration> </execution>
<archive> </executions>
<manifest> </plugin>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <plugin>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <artifactId>maven-jar-plugin</artifactId>
</manifest> <executions>
</archive> <execution>
</configuration> <goals>
</plugin> <goal>test-jar</goal>
</plugins> </goals>
</build> </execution>
</executions>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -1,49 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-rabbitmq</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-rabbitmq</name> <artifactId>druid-rabbitmq</artifactId>
<description>druid-rabbitmq</description> <name>druid-rabbitmq</name>
<description>druid-rabbitmq</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.rabbitmq</groupId> <groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId> <artifactId>amqp-client</artifactId>
<version>3.2.1</version> <version>3.2.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>net.jodah</groupId> <groupId>net.jodah</groupId>
<artifactId>lyra</artifactId> <artifactId>lyra</artifactId>
<version>0.3.1</version> <version>0.3.1</version>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-cli</groupId> <groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId> <artifactId>commons-cli</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-processing</artifactId> <artifactId>druid-processing</artifactId>
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -18,76 +18,89 @@
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>io.druid.extensions</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>druid-s3-extensions</artifactId> <groupId>io.druid.extensions</groupId>
<name>druid-s3-extensions</name> <artifactId>druid-s3-extensions</artifactId>
<description>druid-s3-extensions</description> <name>druid-s3-extensions</name>
<description>druid-s3-extensions</description>
<parent> <parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>0.7.0-SNAPSHOT</version> <version>0.7.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-api</artifactId> <artifactId>druid-api</artifactId>
</dependency> </dependency>
<!-- override jets3t from hadoop-core --> <!-- override jets3t from hadoop-core -->
<dependency> <dependency>
<groupId>net.java.dev.jets3t</groupId> <groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId> <artifactId>jets3t</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.amazonaws</groupId> <groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId> <artifactId>aws-java-sdk</artifactId>
</dependency> </dependency>
<!-- override httpclient / httpcore version from jets3t --> <!-- override httpclient / httpcore version from jets3t -->
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId> <artifactId>httpcore</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.metamx</groupId> <groupId>com.metamx</groupId>
<artifactId>emitter</artifactId> <artifactId>emitter</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>
</dependency> </dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.easymock</groupId> <groupId>org.easymock</groupId>
<artifactId>easymock</artifactId> <artifactId>easymock</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-source-plugin</artifactId>
<archive> <executions>
<manifest> <execution>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <id>attach-sources</id>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <goals>
</manifest> <goal>jar</goal>
</archive> </goals>
</configuration> </execution>
</plugin> </executions>
</plugins> </plugin>
</build> <plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -20,211 +20,223 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.druid</groupId>
<artifactId>druid-server</artifactId>
<name>druid-server</name>
<description>Druid Server</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-server</artifactId> <artifactId>druid</artifactId>
<name>druid-server</name> <version>0.7.0-SNAPSHOT</version>
<description>Druid Server</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>io.druid</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>druid-processing</artifactId>
</parent> <version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>com.metamx</groupId>
<artifactId>http-client</artifactId>
</dependency>
<dependency>
<groupId>com.metamx</groupId>
<artifactId>server-metrics</artifactId>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-x-discovery</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-smile-provider</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-smile</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-servlet</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-guice</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-proxy</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>io.tesla.aether</groupId>
<artifactId>tesla-aether</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-api</artifactId>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>spymemcached</artifactId>
</dependency>
<dependency>
<groupId>net.jpountz.lz4</groupId>
<artifactId>lz4</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
</dependency>
<dependency>
<groupId>com.ircclouds.irc</groupId>
<artifactId>irc-api</artifactId>
</dependency>
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.11.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
</dependency>
<dependencies> <!-- Tests -->
<dependency> <dependency>
<groupId>io.druid</groupId> <groupId>junit</groupId>
<artifactId>druid-processing</artifactId> <artifactId>junit</artifactId>
<version>${project.parent.version}</version> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.metamx</groupId> <groupId>org.easymock</groupId>
<artifactId>http-client</artifactId> <artifactId>easymock</artifactId>
</dependency> <scope>test</scope>
<dependency> </dependency>
<groupId>com.metamx</groupId> <dependency>
<artifactId>server-metrics</artifactId> <groupId>io.druid</groupId>
</dependency> <artifactId>druid-processing</artifactId>
<dependency> <version>${project.parent.version}</version>
<groupId>commons-cli</groupId> <type>test-jar</type>
<artifactId>commons-cli</artifactId> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-lang</groupId> <groupId>org.apache.curator</groupId>
<artifactId>commons-lang</artifactId> <artifactId>curator-test</artifactId>
</dependency> <scope>test</scope>
<dependency> </dependency>
<groupId>javax.inject</groupId> <dependency>
<artifactId>javax.inject</artifactId> <groupId>com.google.caliper</groupId>
</dependency> <artifactId>caliper</artifactId>
<dependency> <scope>test</scope>
<groupId>org.glassfish</groupId> </dependency>
<artifactId>javax.el</artifactId> </dependencies>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-x-discovery</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-smile-provider</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-smile</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-servlet</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-guice</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-proxy</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>io.tesla.aether</groupId>
<artifactId>tesla-aether</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-api</artifactId>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.simple-spring-memcached</groupId>
<artifactId>spymemcached</artifactId>
</dependency>
<dependency>
<groupId>net.jpountz.lz4</groupId>
<artifactId>lz4</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
</dependency>
<dependency>
<groupId>com.ircclouds.irc</groupId>
<artifactId>irc-api</artifactId>
</dependency>
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<version>10.11.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
</dependency>
<!-- Tests --> <build>
<dependency> <plugins>
<groupId>junit</groupId> <plugin>
<artifactId>junit</artifactId> <groupId>org.apache.maven.plugins</groupId>
<scope>test</scope> <artifactId>maven-source-plugin</artifactId>
</dependency> <executions>
<dependency> <execution>
<groupId>org.easymock</groupId> <id>attach-sources</id>
<artifactId>easymock</artifactId> <goals>
<scope>test</scope> <goal>jar</goal>
</dependency> </goals>
<dependency> </execution>
<groupId>io.druid</groupId> </executions>
<artifactId>druid-processing</artifactId> </plugin>
<version>${project.parent.version}</version> <plugin>
<type>test-jar</type> <artifactId>maven-jar-plugin</artifactId>
<scope>test</scope> <executions>
</dependency> <execution>
<dependency> <goals>
<groupId>org.apache.curator</groupId> <goal>test-jar</goal>
<artifactId>curator-test</artifactId> </goals>
<scope>test</scope> </execution>
</dependency> </executions>
<dependency> <configuration>
<groupId>com.google.caliper</groupId> <archive>
<artifactId>caliper</artifactId> <manifest>
<scope>test</scope> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</dependency> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</dependencies> </manifest>
</archive>
<build> </configuration>
<plugins> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <groupId>org.antlr</groupId>
<executions> <artifactId>antlr4-maven-plugin</artifactId>
<execution> <executions>
<goals> <execution>
<goal>test-jar</goal> <goals>
</goals> <goal>antlr4</goal>
</execution> </goals>
</executions> </execution>
<configuration> </executions>
<archive> </plugin>
<manifest> </plugins>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> </build>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -17,102 +17,115 @@
~ along with this program; if not, write to the Free Software ~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--> -->
<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"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> 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>
<groupId>io.druid</groupId>
<artifactId>druid-services</artifactId>
<name>druid-services</name>
<description>druid-services</description>
<parent>
<groupId>io.druid</groupId> <groupId>io.druid</groupId>
<artifactId>druid-services</artifactId> <artifactId>druid</artifactId>
<name>druid-services</name> <version>0.7.0-SNAPSHOT</version>
<description>druid-services</description> </parent>
<parent> <dependencies>
<groupId>io.druid</groupId> <dependency>
<artifactId>druid</artifactId> <groupId>io.airlift</groupId>
<version>0.7.0-SNAPSHOT</version> <artifactId>airline</artifactId>
</parent> </dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-indexing-hadoop</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-indexing-service</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>io.druid</groupId>
<artifactId>druid-server</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
<dependencies> <build>
<dependency> <plugins>
<groupId>io.airlift</groupId> <plugin>
<artifactId>airline</artifactId> <artifactId>maven-jar-plugin</artifactId>
</dependency> <configuration>
<dependency> <archive>
<groupId>io.druid</groupId> <manifest>
<artifactId>druid-indexing-hadoop</artifactId> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<version>${project.parent.version}</version> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</dependency> </manifest>
<dependency> </archive>
<groupId>io.druid</groupId> </configuration>
<artifactId>druid-indexing-service</artifactId> </plugin>
<version>${project.parent.version}</version> <plugin>
</dependency> <groupId>org.apache.maven.plugins</groupId>
<dependency> <artifactId>maven-shade-plugin</artifactId>
<groupId>io.druid</groupId> <version>2.2</version>
<artifactId>druid-server</artifactId> <executions>
<version>${project.parent.version}</version> <execution>
</dependency> <phase>package</phase>
</dependencies> <goals>
<goal>shade</goal>
<build> </goals>
<plugins> <configuration>
<plugin> <outputFile>
<artifactId>maven-jar-plugin</artifactId> ${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar
<configuration> </outputFile>
<archive> <filters>
<manifest> <filter>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> <artifact>*:*</artifact>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> <excludes>
</manifest> <exclude>META-INF/*.SF</exclude>
</archive> <exclude>META-INF/*.DSA</exclude>
</configuration> <exclude>META-INF/*.RSA</exclude>
</plugin> </excludes>
<plugin> </filter>
<groupId>org.apache.maven.plugins</groupId> </filters>
<artifactId>maven-shade-plugin</artifactId> <transformers>
<version>2.2</version> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<executions> </transformers>
<execution> </configuration>
<phase>package</phase> </execution>
<goals> </executions>
<goal>shade</goal> </plugin>
</goals> <plugin>
<configuration> <groupId>org.apache.maven.plugins</groupId>
<outputFile> <artifactId>maven-source-plugin</artifactId>
${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar <executions>
</outputFile> <execution>
<filters> <id>attach-sources</id>
<filter> <goals>
<artifact>*:*</artifact> <goal>jar</goal>
<excludes> </goals>
<exclude>META-INF/*.SF</exclude> </execution>
<exclude>META-INF/*.DSA</exclude> </executions>
<exclude>META-INF/*.RSA</exclude> </plugin>
</excludes> <plugin>
</filter> <artifactId>maven-assembly-plugin</artifactId>
</filters> <executions>
<transformers> <execution>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> <id>distro-assembly</id>
</transformers> <phase>package</phase>
</configuration> <goals>
</execution> <goal>assembly</goal>
</executions> </goals>
</plugin> <configuration>
<plugin> <descriptors>
<artifactId>maven-assembly-plugin</artifactId> <descriptor>src/assembly/assembly.xml</descriptor>
<executions> </descriptors>
<execution> </configuration>
<id>distro-assembly</id> </execution>
<phase>package</phase> </executions>
<goals> </plugin>
<goal>assembly</goal> </plugins>
</goals> </build>
<configuration>
<descriptors>
<descriptor>src/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>