pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  17. <modelVersion>4.0.0</modelVersion>
  18. <parent>
  19. <groupId>org.apache.hadoop</groupId>
  20. <artifactId>hadoop-project-dist</artifactId>
  21. <version>3.2.0-SNAPSHOT</version>
  22. <relativePath>../hadoop-project-dist</relativePath>
  23. </parent>
  24. <artifactId>hadoop-ozone</artifactId>
  25. <version>0.2.1-SNAPSHOT</version>
  26. <description>Apache Hadoop Ozone Project</description>
  27. <name>Apache Hadoop Ozone</name>
  28. <packaging>pom</packaging>
  29. <properties>
  30. <ozone.version>0.2.1-SNAPSHOT</ozone.version>
  31. <ozone.release>Acadia</ozone.release>
  32. <declared.ozone.version>${ozone.version}</declared.ozone.version>
  33. </properties>
  34. <modules>
  35. <module>common</module>
  36. <module>client</module>
  37. <module>ozone-manager</module>
  38. <module>tools</module>
  39. <module>ozonefs</module>
  40. <module>integration-test</module>
  41. <module>objectstore-service</module>
  42. <module>docs</module>
  43. </modules>
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.apache.hadoop</groupId>
  47. <artifactId>hadoop-common</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.hadoop</groupId>
  51. <artifactId>hadoop-hdfs</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.hadoop</groupId>
  55. <artifactId>hadoop-hdfs-client</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.hadoop</groupId>
  59. <artifactId>hadoop-hdds-common</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.hadoop</groupId>
  63. <artifactId>hadoop-hdds-server-framework</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.hadoop</groupId>
  67. <artifactId>hadoop-hdds-server-scm</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.hadoop</groupId>
  71. <artifactId>hadoop-hdds-container-service</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.hadoop</groupId>
  75. <artifactId>hadoop-hdds-client</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.hadoop</groupId>
  79. <artifactId>hadoop-hdds-tools</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.hadoop</groupId>
  83. <artifactId>hadoop-common</artifactId>
  84. <scope>test</scope>
  85. <type>test-jar</type>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.apache.hadoop</groupId>
  89. <artifactId>hadoop-hdfs</artifactId>
  90. <scope>test</scope>
  91. <type>test-jar</type>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.hadoop</groupId>
  95. <artifactId>hadoop-hdds-server-scm</artifactId>
  96. <scope>test</scope>
  97. <type>test-jar</type>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.hadoop</groupId>
  101. <artifactId>hadoop-hdds-container-service</artifactId>
  102. <scope>test</scope>
  103. <type>test-jar</type>
  104. </dependency>
  105. <dependency>
  106. <groupId>junit</groupId>
  107. <artifactId>junit</artifactId>
  108. <scope>test</scope>
  109. </dependency>
  110. </dependencies>
  111. <build>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.rat</groupId>
  115. <artifactId>apache-rat-plugin</artifactId>
  116. <configuration>
  117. <excludes>
  118. <exclude>**/*.json</exclude>
  119. <exclude>**/hs_err*.log</exclude>
  120. <exclude>**/target/**</exclude>
  121. <exclude>.gitattributes</exclude>
  122. <exclude>.idea/**</exclude>
  123. <exclude>dev-support/*tests</exclude>
  124. <exclude>dev-support/checkstyle*</exclude>
  125. <exclude>dev-support/jdiff/**</exclude>
  126. <exclude>src/contrib/**</exclude>
  127. <exclude>src/main/webapps/datanode/robots.txt</exclude>
  128. <exclude>src/main/webapps/hdfs/robots.txt</exclude>
  129. <exclude>src/main/webapps/journal/robots.txt</exclude>
  130. <exclude>src/main/webapps/router/robots.txt</exclude>
  131. <exclude>src/main/webapps/secondary/robots.txt</exclude>
  132. <exclude>src/site/resources/images/*</exclude>
  133. <exclude>src/test/all-tests</exclude>
  134. <exclude>src/test/empty-file</exclude>
  135. <exclude>src/test/resources/*.tgz</exclude>
  136. <exclude>src/test/resources/data*</exclude>
  137. <exclude>src/test/resources/empty-file</exclude>
  138. <exclude>webapps/static/angular-1.6.4.min.js</exclude>
  139. <exclude>webapps/static/angular-nvd3-1.0.9.min.js</exclude>
  140. <exclude>webapps/static/angular-route-1.6.4.min.js</exclude>
  141. <exclude>webapps/static/bootstrap-3.3.7/**</exclude>
  142. <exclude>webapps/static/d3-3.5.17.min.js</exclude>
  143. <exclude>webapps/static/jquery-3.3.1.min.js</exclude>
  144. <exclude>webapps/static/jquery.dataTables.min.js</exclude>
  145. <exclude>webapps/static/nvd3-1.8.5.min.css.map</exclude>
  146. <exclude>webapps/static/nvd3-1.8.5.min.css</exclude>
  147. <exclude>webapps/static/nvd3-1.8.5.min.js.map</exclude>
  148. <exclude>webapps/static/nvd3-1.8.5.min.js</exclude>
  149. </excludes>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.codehaus.mojo</groupId>
  154. <artifactId>findbugs-maven-plugin</artifactId>
  155. <configuration>
  156. <excludeFilterFile combine.self="override"></excludeFilterFile>
  157. </configuration>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. <profiles>
  162. <profile>
  163. <id>parallel-tests</id>
  164. <build>
  165. <plugins>
  166. <plugin>
  167. <groupId>org.apache.hadoop</groupId>
  168. <artifactId>hadoop-maven-plugins</artifactId>
  169. <executions>
  170. <execution>
  171. <id>parallel-tests-createdir</id>
  172. <goals>
  173. <goal>parallel-tests-createdir</goal>
  174. </goals>
  175. </execution>
  176. </executions>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-surefire-plugin</artifactId>
  181. <configuration>
  182. <forkCount>${testsThreadCount}</forkCount>
  183. <reuseForks>false</reuseForks>
  184. <argLine>${maven-surefire-plugin.argLine} -DminiClusterDedicatedDirs=true</argLine>
  185. <systemPropertyVariables>
  186. <testsThreadCount>${testsThreadCount}</testsThreadCount>
  187. <test.build.data>${test.build.data}/${surefire.forkNumber}</test.build.data>
  188. <test.build.dir>${test.build.dir}/${surefire.forkNumber}</test.build.dir>
  189. <hadoop.tmp.dir>${hadoop.tmp.dir}/${surefire.forkNumber}</hadoop.tmp.dir>
  190. <!-- This is intentionally the same directory for all JUnit -->
  191. <!-- forks, for use in the very rare situation that -->
  192. <!-- concurrent tests need to coordinate, such as using lock -->
  193. <!-- files. -->
  194. <test.build.shared.data>${test.build.data}</test.build.shared.data>
  195. <!-- Due to a Maven quirk, setting this to just -->
  196. <!-- surefire.forkNumber won't do the parameter substitution. -->
  197. <!-- Putting a prefix in front of it like "fork-" makes it -->
  198. <!-- work. -->
  199. <test.unique.fork.id>fork-${surefire.forkNumber}</test.unique.fork.id>
  200. </systemPropertyVariables>
  201. </configuration>
  202. </plugin>
  203. </plugins>
  204. </build>
  205. </profile>
  206. </profiles>
  207. </project>