pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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.3.1-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. </dependency>
  44. <dependency>
  45. <groupId>junit</groupId>
  46. <artifactId>junit</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mockito</groupId>
  51. <artifactId>mockito-core</artifactId>
  52. <version>2.8.9</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.powermock</groupId>
  57. <artifactId>powermock-api-mockito2</artifactId>
  58. <version>1.7.1</version>
  59. <scope>test</scope>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.mockito</groupId>
  63. <artifactId>mockito-core</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.powermock</groupId>
  69. <artifactId>powermock-module-junit4</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>io.reactivex</groupId>
  81. <artifactId>rxjava</artifactId>
  82. <version>${rxjava.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.microsoft.azure</groupId>
  86. <artifactId>azure-cosmosdb</artifactId>
  87. <version>${azure.documentdb.version}</version>
  88. <exclusions>
  89. <exclusion>
  90. <groupId>io.netty</groupId>
  91. <artifactId>netty-handler</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>io.netty</groupId>
  95. <artifactId>netty-codec-http</artifactId>
  96. </exclusion>
  97. <exclusion>
  98. <groupId>io.reactivex</groupId>
  99. <artifactId>rxjava</artifactId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>io.netty</groupId>
  103. <artifactId>netty-transport</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>io.netty</groupId>
  107. <artifactId>netty-handler-proxy</artifactId>
  108. </exclusion>
  109. </exclusions>
  110. </dependency>
  111. </dependencies>
  112. <build>
  113. <plugins>
  114. <!-- Apache RAT -->
  115. <plugin>
  116. <groupId>org.apache.rat</groupId>
  117. <artifactId>apache-rat-plugin</artifactId>
  118. <configuration>
  119. <excludes>
  120. <exclude>src/test/resources/documents/flowactivity-doc.json</exclude>
  121. <exclude>src/test/resources/documents/flowrun-doc.json</exclude>
  122. <exclude>src/test/resources/documents/test-timeline-entities-doc.json</exclude>
  123. <exclude>src/test/resources/documents/timeline-app-doc.json</exclude>
  124. <exclude>src/test/resources/documents/timeline-entities.json</exclude>
  125. </excludes>
  126. </configuration>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-jar-plugin</artifactId>
  130. <executions>
  131. <execution>
  132. <goals>
  133. <goal>test-jar</goal>
  134. </goals>
  135. <phase>test-compile</phase>
  136. </execution>
  137. </executions>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-javadoc-plugin</artifactId>
  142. <configuration>
  143. <additionalDependencies>
  144. <additionnalDependency>
  145. <groupId>junit</groupId>
  146. <artifactId>junit</artifactId>
  147. <version>4.11</version>
  148. </additionnalDependency>
  149. </additionalDependencies>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-dependency-plugin</artifactId>
  155. <executions>
  156. <execution>
  157. <phase>package</phase>
  158. <goals>
  159. <goal>copy-dependencies</goal>
  160. </goals>
  161. <configuration>
  162. <includeScope>runtime</includeScope>
  163. <excludeGroupIds>org.slf4j,org.apache.hadoop,com.github.stephenc.findbugs</excludeGroupIds>
  164. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  165. </configuration>
  166. </execution>
  167. </executions>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </project>