YARN-7919. Refactor timelineservice-hbase module into submodules. Contributed by...
[hadoop.git] / hadoop-yarn-project / hadoop-yarn / hadoop-yarn-server / hadoop-yarn-server-timelineservice-hbase / hadoop-yarn-server-timelineservice-hbase-common / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 -->
18 <project xmlns="http://maven.apache.org/POM/4.0.0"
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
21 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <parent>
23 <artifactId>hadoop-yarn-server-timelineservice-hbase</artifactId>
24 <groupId>org.apache.hadoop</groupId>
25 <version>3.2.0-SNAPSHOT</version>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28
29 <artifactId>hadoop-yarn-server-timelineservice-hbase-common</artifactId>
30 <name>Apache Hadoop YARN TimelineService HBase Common</name>
31 <version>3.2.0-SNAPSHOT</version>
32
33 <properties>
34 <!-- Needed for generating FindBugs warnings using parent pom -->
35 <yarn.basedir>${project.parent.parent.parent.basedir}</yarn.basedir>
36 </properties>
37
38 <dependencies>
39 <dependency>
40 <groupId>org.apache.hadoop</groupId>
41 <artifactId>hadoop-annotations</artifactId>
42 <scope>provided</scope>
43 </dependency>
44
45 <dependency>
46 <groupId>org.apache.hadoop</groupId>
47 <artifactId>hadoop-yarn-api</artifactId>
48 <scope>provided</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>org.apache.hadoop</groupId>
53 <artifactId>hadoop-yarn-server-timelineservice</artifactId>
54 </dependency>
55
56 <!-- This is needed for GenericObjectMapper in GenericConverter -->
57 <dependency>
58 <groupId>org.apache.hadoop</groupId>
59 <artifactId>hadoop-yarn-server-applicationhistoryservice</artifactId>
60 <scope>provided</scope>
61 </dependency>
62
63 <!-- 'mvn dependency:analyze' fails to detect use of this direct
64 dependency -->
65 <dependency>
66 <groupId>org.apache.hadoop</groupId>
67 <artifactId>hadoop-common</artifactId>
68 <type>test-jar</type>
69 <scope>test</scope>
70 </dependency>
71
72 <dependency>
73 <groupId>org.apache.hbase</groupId>
74 <artifactId>hbase-common</artifactId>
75 <exclusions>
76 <exclusion>
77 <groupId>org.apache.hadoop</groupId>
78 <artifactId>hadoop-mapreduce-client-core</artifactId>
79 </exclusion>
80 <exclusion>
81 <groupId>org.mortbay.jetty</groupId>
82 <artifactId>jetty-util</artifactId>
83 </exclusion>
84 </exclusions>
85 </dependency>
86
87 <dependency>
88 <groupId>com.google.guava</groupId>
89 <artifactId>guava</artifactId>
90 <scope>test</scope>
91 </dependency>
92
93 <dependency>
94 <groupId>junit</groupId>
95 <artifactId>junit</artifactId>
96 <scope>test</scope>
97 </dependency>
98 </dependencies>
99
100 <build>
101 <plugins>
102 <plugin>
103 <artifactId>maven-jar-plugin</artifactId>
104 <executions>
105 <execution>
106 <goals>
107 <goal>test-jar</goal>
108 </goals>
109 <phase>test-compile</phase>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-dependency-plugin</artifactId>
116 <executions>
117 <execution>
118 <phase>package</phase>
119 <goals>
120 <goal>copy-dependencies</goal>
121 </goals>
122 <configuration>
123 <includeScope>runtime</includeScope>
124 <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds>
125 <outputDirectory>${project.build.directory}/lib</outputDirectory>
126 </configuration>
127 </execution>
128 </executions>
129 </plugin>
130 </plugins>
131 </build>
132 </project>