pom.xml 4.8 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Druid - a distributed column store.
4
  ~ Copyright (C) 2012, 2013  Metamarkets Group Inc.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  ~
  ~ This program is free software; you can redistribute it and/or
  ~ modify it under the terms of the GNU General Public License
  ~ as published by the Free Software Foundation; either version 2
  ~ of the License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program; if not, write to the Free Software
  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  -->
20 21
<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">
22
    <modelVersion>4.0.0</modelVersion>
23
    <groupId>io.druid</groupId>
24 25 26
    <artifactId>druid-services</artifactId>
    <name>druid-services</name>
    <description>druid-services</description>
27
    <version>0.6.2-SNAPSHOT</version>
28
    <parent>
29
        <groupId>io.druid</groupId>
30
        <artifactId>druid</artifactId>
31
        <version>0.6.2-SNAPSHOT</version>
32 33 34
    </parent>

    <dependencies>
F
fjy 已提交
35
        <dependency>
36
            <groupId>io.druid</groupId>
F
fjy 已提交
37 38 39 40
            <artifactId>druid-examples</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
41
            <groupId>io.druid</groupId>
F
fjy 已提交
42 43 44 45
            <artifactId>druid-indexing-hadoop</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
46
            <groupId>io.druid</groupId>
F
fjy 已提交
47 48 49
            <artifactId>druid-indexing-service</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
50
        <dependency>
51
            <groupId>io.druid</groupId>
52 53 54
            <artifactId>druid-server</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
F
fjy 已提交
55
        <dependency>
56
            <groupId>io.druid</groupId>
F
fjy 已提交
57 58 59
            <artifactId>druid-examples</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
60
        <dependency>
61
            <groupId>io.druid</groupId>
62 63 64
            <artifactId>druid-indexing-service</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
65 66 67 68
        <dependency>
            <groupId>io.airlift</groupId>
            <artifactId>airline</artifactId>
        </dependency>
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>1.6</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <outputFile>
                                ${project.build.directory}/${project.artifactId}-${project.version}-selfcontained.jar
                            </outputFile>
86 87 88 89 90 91 92 93 94 95
                            <filters>
                                <filter>
                                    <artifact>*:*</artifact>
                                    <excludes>
                                        <exclude>META-INF/*.SF</exclude>
                                        <exclude>META-INF/*.DSA</exclude>
                                        <exclude>META-INF/*.RSA</exclude>
                                    </excludes>
                                </filter>
                            </filters>
96 97 98 99
                        </configuration>
                    </execution>
                </executions>
            </plugin>
C
cheddar 已提交
100 101 102 103 104 105 106
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>distro-assembly</id>
                        <phase>package</phase>
                        <goals>
107
                            <goal>assembly</goal>
C
cheddar 已提交
108 109 110 111 112 113 114 115 116
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
117 118
        </plugins>
    </build>
X
xvrl 已提交
119
</project>