pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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</artifactId>
  21. <version>3.0.0-SNAPSHOT</version>
  22. <relativePath>../../hadoop-project</relativePath>
  23. </parent>
  24. <groupId>org.apache.hadoop</groupId>
  25. <artifactId>hadoop-hdfs-nfs</artifactId>
  26. <version>3.0.0-SNAPSHOT</version>
  27. <description>Apache Hadoop HDFS-NFS</description>
  28. <name>Apache Hadoop HDFS-NFS</name>
  29. <packaging>jar</packaging>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.apache.hadoop</groupId>
  33. <artifactId>hadoop-annotations</artifactId>
  34. <scope>provided</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.hadoop</groupId>
  38. <artifactId>hadoop-auth</artifactId>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.hadoop</groupId>
  43. <artifactId>hadoop-nfs</artifactId>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.netty</groupId>
  48. <artifactId>netty</artifactId>
  49. <version>3.6.2.Final</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.hadoop</groupId>
  54. <artifactId>hadoop-hdfs</artifactId>
  55. <scope>compile</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.hadoop</groupId>
  59. <artifactId>hadoop-hdfs</artifactId>
  60. <scope>test</scope>
  61. <type>test-jar</type>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.apache.hadoop</groupId>
  65. <artifactId>hadoop-common</artifactId>
  66. <scope>provided</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.hadoop</groupId>
  70. <artifactId>hadoop-common</artifactId>
  71. <scope>test</scope>
  72. <type>test-jar</type>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.apache.zookeeper</groupId>
  76. <artifactId>zookeeper</artifactId>
  77. <type>test-jar</type>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.google.guava</groupId>
  82. <artifactId>guava</artifactId>
  83. <scope>compile</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.mortbay.jetty</groupId>
  87. <artifactId>jetty</artifactId>
  88. <scope>compile</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mortbay.jetty</groupId>
  92. <artifactId>jetty-util</artifactId>
  93. <scope>compile</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.sun.jersey</groupId>
  97. <artifactId>jersey-core</artifactId>
  98. <scope>compile</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.sun.jersey</groupId>
  102. <artifactId>jersey-server</artifactId>
  103. <scope>compile</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>commons-cli</groupId>
  107. <artifactId>commons-cli</artifactId>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-codec</groupId>
  112. <artifactId>commons-codec</artifactId>
  113. <scope>compile</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>commons-io</groupId>
  117. <artifactId>commons-io</artifactId>
  118. <scope>compile</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>commons-lang</groupId>
  122. <artifactId>commons-lang</artifactId>
  123. <scope>compile</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>commons-logging</groupId>
  127. <artifactId>commons-logging</artifactId>
  128. <scope>compile</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>commons-daemon</groupId>
  132. <artifactId>commons-daemon</artifactId>
  133. <scope>compile</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>javax.servlet.jsp</groupId>
  137. <artifactId>jsp-api</artifactId>
  138. <scope>compile</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>log4j</groupId>
  142. <artifactId>log4j</artifactId>
  143. <scope>compile</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.google.protobuf</groupId>
  147. <artifactId>protobuf-java</artifactId>
  148. <scope>compile</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>javax.servlet</groupId>
  152. <artifactId>servlet-api</artifactId>
  153. <scope>compile</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>junit</groupId>
  157. <artifactId>junit</artifactId>
  158. <scope>test</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.mockito</groupId>
  162. <artifactId>mockito-all</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.slf4j</groupId>
  167. <artifactId>slf4j-log4j12</artifactId>
  168. <scope>provided</scope>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.codehaus.jackson</groupId>
  172. <artifactId>jackson-core-asl</artifactId>
  173. <scope>compile</scope>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.codehaus.jackson</groupId>
  177. <artifactId>jackson-mapper-asl</artifactId>
  178. <scope>compile</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>tomcat</groupId>
  182. <artifactId>jasper-runtime</artifactId>
  183. <scope>compile</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>xmlenc</groupId>
  187. <artifactId>xmlenc</artifactId>
  188. <scope>compile</scope>
  189. </dependency>
  190. </dependencies>
  191. <profiles>
  192. <profile>
  193. <id>dist</id>
  194. <activation>
  195. <activeByDefault>false</activeByDefault>
  196. </activation>
  197. <build>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-assembly-plugin</artifactId>
  202. <dependencies>
  203. <dependency>
  204. <groupId>org.apache.hadoop</groupId>
  205. <artifactId>hadoop-assemblies</artifactId>
  206. <version>${project.version}</version>
  207. </dependency>
  208. </dependencies>
  209. <executions>
  210. <execution>
  211. <id>dist</id>
  212. <phase>package</phase>
  213. <goals>
  214. <goal>single</goal>
  215. </goals>
  216. <configuration>
  217. <finalName>${project.artifactId}-${project.version}</finalName>
  218. <appendAssemblyId>false</appendAssemblyId>
  219. <attach>false</attach>
  220. <!--<descriptorRefs>
  221. <descriptorRef>hadoop-nfs-dist</descriptorRef>
  222. </descriptorRefs>-->
  223. <descriptors>
  224. <descriptor>../../hadoop-assemblies/src/main/resources/assemblies/hadoop-hdfs-nfs-dist.xml</descriptor>
  225. </descriptors>
  226. </configuration>
  227. </execution>
  228. </executions>
  229. </plugin>
  230. </plugins>
  231. </build>
  232. </profile>
  233. </profiles>
  234. </project>