pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Licensed to the Apache Software Foundation (ASF) under one
  5. ~ or more contributor license agreements. See the NOTICE file
  6. ~ distributed with this work for additional information
  7. ~ regarding copyright ownership. The ASF licenses this file
  8. ~ to you under the Apache License, Version 2.0 (the
  9. ~ "License"); you may not use this file except in compliance
  10. ~ with the License. You may obtain a copy of the License at
  11. ~
  12. ~ http://www.apache.org/licenses/LICENSE-2.0
  13. ~
  14. ~ Unless required by applicable law or agreed to in writing, software
  15. ~ distributed under the License is distributed on an "AS IS" BASIS,
  16. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. ~ See the License for the specific language governing permissions and
  18. ~ limitations under the License.
  19. ~
  20. -->
  21. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xmlns="http://maven.apache.org/POM/4.0.0"
  23. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  24. <modelVersion>4.0.0</modelVersion>
  25. <parent>
  26. <groupId>org.apache.hadoop</groupId>
  27. <artifactId>hadoop-project</artifactId>
  28. <version>3.5.0-SNAPSHOT</version>
  29. <relativePath>../../hadoop-project</relativePath>
  30. </parent>
  31. <artifactId>hadoop-resourceestimator</artifactId>
  32. <name>Apache Hadoop Resource Estimator Service</name>
  33. <packaging>jar</packaging>
  34. <dependencies>
  35. <dependency>
  36. <groupId>com.google.code.gson</groupId>
  37. <artifactId>gson</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.ojalgo</groupId>
  41. <artifactId>ojalgo</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.hadoop</groupId>
  45. <artifactId>hadoop-common</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.hadoop</groupId>
  49. <artifactId>hadoop-yarn-common</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.hadoop</groupId>
  53. <artifactId>hadoop-yarn-api</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.hadoop</groupId>
  57. <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.slf4j</groupId>
  61. <artifactId>slf4j-api</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.glassfish.jersey.test-framework</groupId>
  65. <artifactId>jersey-test-framework-core</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.glassfish.jersey.test-framework.providers</groupId>
  70. <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>jakarta.servlet</groupId>
  75. <artifactId>jakarta.servlet-api</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.glassfish.jersey.core</groupId>
  79. <artifactId>jersey-server</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>junit</groupId>
  83. <artifactId>junit</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.junit.jupiter</groupId>
  88. <artifactId>junit-jupiter-api</artifactId>
  89. <scope>test</scope>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.junit.jupiter</groupId>
  93. <artifactId>junit-jupiter-engine</artifactId>
  94. <scope>test</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.junit.platform</groupId>
  98. <artifactId>junit-platform-launcher</artifactId>
  99. <scope>test</scope>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.rat</groupId>
  106. <artifactId>apache-rat-plugin</artifactId>
  107. <configuration>
  108. <excludes>
  109. <exclude>README.md</exclude>
  110. <exclude>**/*.txt</exclude>
  111. </excludes>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-checkstyle-plugin</artifactId>
  117. <configuration>
  118. <configLocation>src/config/checkstyle.xml</configLocation>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. <profiles>
  124. <profile>
  125. <id>dist</id>
  126. <activation>
  127. <activeByDefault>false</activeByDefault>
  128. </activation>
  129. <build>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-assembly-plugin</artifactId>
  134. <configuration>
  135. <appendAssemblyId>false</appendAssemblyId>
  136. <attach>false</attach>
  137. <finalName>
  138. ${project.artifactId}-${project.version}
  139. </finalName>
  140. <descriptorRefs>
  141. <descriptorRef>hadoop-resourceestimator
  142. </descriptorRef>
  143. </descriptorRefs>
  144. </configuration>
  145. <dependencies>
  146. <dependency>
  147. <groupId>org.apache.hadoop</groupId>
  148. <artifactId>hadoop-assemblies</artifactId>
  149. <version>${project.version}</version>
  150. </dependency>
  151. </dependencies>
  152. <executions>
  153. <execution>
  154. <id>dist</id>
  155. <phase>prepare-package</phase>
  156. <goals>
  157. <goal>single</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-dependency-plugin</artifactId>
  165. <executions>
  166. <execution>
  167. <id>deplist</id>
  168. <phase>compile</phase>
  169. <goals>
  170. <goal>list</goal>
  171. </goals>
  172. <configuration>
  173. <outputFile>
  174. ${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt
  175. </outputFile>
  176. </configuration>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </profile>
  183. </profiles>
  184. </project>