pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <project xmlns="http://maven.apache.org/POM/4.0.0"
  14. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  15. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  16. https://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <parent>
  18. <artifactId>hadoop-yarn-server</artifactId>
  19. <groupId>org.apache.hadoop</groupId>
  20. <version>3.4.0-SNAPSHOT</version>
  21. </parent>
  22. <modelVersion>4.0.0</modelVersion>
  23. <artifactId>hadoop-yarn-server-timelineservice-documentstore</artifactId>
  24. <name>Apache Hadoop YARN TimelineService DocumentStore</name>
  25. <properties>
  26. <!-- Needed for generating FindBugs warnings using parent pom -->
  27. <yarn.basedir>${project.parent.parent.basedir}</yarn.basedir>
  28. <azure.documentdb.version>2.4.5</azure.documentdb.version>
  29. <rxjava.version>1.3.8</rxjava.version>
  30. </properties>
  31. <dependencies>
  32. <dependency>
  33. <groupId>org.apache.hadoop</groupId>
  34. <artifactId>hadoop-yarn-server-timelineservice</artifactId>
  35. <version>${project.version}</version>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.hadoop</groupId>
  40. <artifactId>hadoop-common</artifactId>
  41. <type>test-jar</type>
  42. <scope>test</scope>
  43. <exclusions>
  44. <exclusion>
  45. <groupId>org.javassist</groupId>
  46. <artifactId>javassist</artifactId>
  47. </exclusion>
  48. </exclusions>
  49. </dependency>
  50. <dependency>
  51. <groupId>junit</groupId>
  52. <artifactId>junit</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.mockito</groupId>
  57. <artifactId>mockito-core</artifactId>
  58. <version>2.8.9</version>
  59. <scope>test</scope>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.powermock</groupId>
  69. <artifactId>powermock-api-mockito2</artifactId>
  70. <version>1.7.1</version>
  71. <scope>test</scope>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.mockito</groupId>
  75. <artifactId>mockito-core</artifactId>
  76. </exclusion>
  77. </exclusions>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.powermock</groupId>
  81. <artifactId>powermock-module-junit4</artifactId>
  82. <version>1.7.1</version>
  83. <scope>test</scope>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>org.mockito</groupId>
  87. <artifactId>mockito-core</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <dependency>
  92. <groupId>io.reactivex</groupId>
  93. <artifactId>rxjava</artifactId>
  94. <version>${rxjava.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.microsoft.azure</groupId>
  98. <artifactId>azure-cosmosdb</artifactId>
  99. <version>${azure.documentdb.version}</version>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>io.netty</groupId>
  103. <artifactId>netty-handler</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>io.netty</groupId>
  107. <artifactId>netty-codec-http</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>io.reactivex</groupId>
  111. <artifactId>rxjava</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>io.netty</groupId>
  115. <artifactId>netty-transport</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>io.netty</groupId>
  119. <artifactId>netty-handler-proxy</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>xml-apis</groupId>
  123. <artifactId>xml-apis</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <plugins>
  130. <!-- Apache RAT -->
  131. <plugin>
  132. <groupId>org.apache.rat</groupId>
  133. <artifactId>apache-rat-plugin</artifactId>
  134. <configuration>
  135. <excludes>
  136. <exclude>src/test/resources/documents/flowactivity-doc.json</exclude>
  137. <exclude>src/test/resources/documents/flowrun-doc.json</exclude>
  138. <exclude>src/test/resources/documents/test-timeline-entities-doc.json</exclude>
  139. <exclude>src/test/resources/documents/timeline-app-doc.json</exclude>
  140. <exclude>src/test/resources/documents/timeline-entities.json</exclude>
  141. </excludes>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-jar-plugin</artifactId>
  146. <executions>
  147. <execution>
  148. <goals>
  149. <goal>test-jar</goal>
  150. </goals>
  151. <phase>test-compile</phase>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. <plugin>
  156. <groupId>org.apache.maven.plugins</groupId>
  157. <artifactId>maven-dependency-plugin</artifactId>
  158. <executions>
  159. <execution>
  160. <phase>package</phase>
  161. <goals>
  162. <goal>copy-dependencies</goal>
  163. </goals>
  164. <configuration>
  165. <includeScope>runtime</includeScope>
  166. <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds>
  167. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  168. </configuration>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. </project>