pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <!--
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License. See accompanying LICENSE file.
  11. -->
  12. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  13. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  14. <parent>
  15. <artifactId>hadoop-yarn-applications-mawo</artifactId>
  16. <groupId>org.apache.hadoop.applications.mawo</groupId>
  17. <version>3.3.9-SNAPSHOT</version>
  18. </parent>
  19. <modelVersion>4.0.0</modelVersion>
  20. <!-- <groupId>org.apache.hadoop.applications.mawo</groupId> -->
  21. <artifactId>hadoop-yarn-applications-mawo-core</artifactId>
  22. <packaging>jar</packaging>
  23. <name>Apache Hadoop YARN Application MaWo Core</name>
  24. <url>https://maven.apache.org</url>
  25. <properties>
  26. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27. </properties>
  28. <dependencies>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.hadoop</groupId>
  36. <artifactId>hadoop-common</artifactId>
  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>com.google.inject</groupId>
  46. <artifactId>guice</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.curator</groupId>
  50. <artifactId>curator-framework</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.curator</groupId>
  54. <artifactId>curator-client</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.curator</groupId>
  58. <artifactId>curator-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>commons-io</groupId>
  63. <artifactId>commons-io</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-cli</groupId>
  67. <artifactId>commons-cli</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.zookeeper</groupId>
  71. <artifactId>zookeeper</artifactId>
  72. <exclusions>
  73. <exclusion>
  74. <!-- otherwise seems to drag in junit 3.8.1 via jline -->
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>com.sun.jdmk</groupId>
  80. <artifactId>jmxtools</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>com.sun.jmx</groupId>
  84. <artifactId>jmxri</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>org.jboss.netty</groupId>
  88. <artifactId>netty</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.dropwizard.metrics</groupId>
  94. <artifactId>metrics-core</artifactId>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.xerial.snappy</groupId>
  98. <artifactId>snappy-java</artifactId>
  99. <scope>provided</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.slf4j</groupId>
  103. <artifactId>slf4j-api</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.googlecode.json-simple</groupId>
  107. <artifactId>json-simple</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.httpcomponents</groupId>
  111. <artifactId>httpclient</artifactId>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.httpcomponents</groupId>
  115. <artifactId>httpcore</artifactId>
  116. </dependency>
  117. </dependencies>
  118. <build>
  119. <pluginManagement>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-assembly-plugin</artifactId>
  124. </plugin>
  125. </plugins>
  126. </pluginManagement>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-assembly-plugin</artifactId>
  131. <configuration>
  132. <descriptors>
  133. <descriptor>src/assembly/bin.xml</descriptor>
  134. </descriptors>
  135. <finalName>hadoop-applications-mawo-core-${project.version}</finalName>
  136. </configuration>
  137. <executions>
  138. <execution>
  139. <phase>package</phase>
  140. <goals>
  141. <goal>single</goal>
  142. </goals>
  143. </execution>
  144. </executions>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.rat</groupId>
  148. <artifactId>apache-rat-plugin</artifactId>
  149. <configuration>
  150. <excludes>
  151. <exclude>target/**/*</exclude>
  152. </excludes>
  153. </configuration>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>