pom.xml 4.6 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
<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">
21
    <modelVersion>4.0.0</modelVersion>
22
    <groupId>io.druid</groupId>
23 24 25
    <artifactId>druid-services</artifactId>
    <name>druid-services</name>
    <description>druid-services</description>
F
fix pom  
fjy 已提交
26

27
    <parent>
28
        <groupId>io.druid</groupId>
29
        <artifactId>druid</artifactId>
30
        <version>0.6.24-SNAPSHOT</version>
31 32 33
    </parent>

    <dependencies>
F
fjy 已提交
34 35 36 37
        <dependency>
            <groupId>io.airlift</groupId>
            <artifactId>airline</artifactId>
        </dependency>
F
fjy 已提交
38
        <dependency>
39
            <groupId>io.druid</groupId>
F
fjy 已提交
40 41 42 43
            <artifactId>druid-indexing-hadoop</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
        <dependency>
44
            <groupId>io.druid</groupId>
F
fjy 已提交
45 46 47
            <artifactId>druid-indexing-service</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
48
        <dependency>
49
            <groupId>io.druid</groupId>
50 51 52 53
            <artifactId>druid-server</artifactId>
            <version>${project.parent.version}</version>
        </dependency>
    </dependencies>
54

55 56
    <build>
        <plugins>
57 58 59 60 61 62 63 64 65 66 67
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                            <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
68 69 70 71 72 73 74 75 76 77 78 79 80 81
            <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>
82 83 84 85 86 87 88 89 90 91
                            <filters>
                                <filter>
                                    <artifact>*:*</artifact>
                                    <excludes>
                                        <exclude>META-INF/*.SF</exclude>
                                        <exclude>META-INF/*.DSA</exclude>
                                        <exclude>META-INF/*.RSA</exclude>
                                    </excludes>
                                </filter>
                            </filters>
92 93 94 95
                        </configuration>
                    </execution>
                </executions>
            </plugin>
C
cheddar 已提交
96 97 98 99 100 101 102
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>distro-assembly</id>
                        <phase>package</phase>
                        <goals>
103
                            <goal>assembly</goal>
C
cheddar 已提交
104 105 106 107 108 109 110 111 112
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
113 114
        </plugins>
    </build>
X
xvrl 已提交
115
</project>