ivy.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?xml version="1.0" ?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <ivy-module version="1.0">
  17. <info organisation="org.apache.hadoop" module="${ant.project.name}">
  18. <license name="Apache 2.0"/>
  19. <ivyauthor name="Apache Hadoop Team" url="http://hadoop.apache.org"/>
  20. <description>
  21. Hadoop Core
  22. </description>
  23. </info>
  24. <configurations defaultconfmapping="default">
  25. <!--these match the Maven configurations-->
  26. <conf name="default" extends="master,runtime"/>
  27. <conf name="master" description="contains the artifact but no dependencies"/>
  28. <conf name="runtime" description="runtime but not the artifact"
  29. extends="client,server,s3-server,kfs"/>
  30. <conf name="mandatory" description="contains the critical dependencies"
  31. extends="commons-logging,log4j"/>
  32. <!--
  33. These public configurations contain the core dependencies for running hadoop client or server.
  34. The server is effectively a superset of the client.
  35. -->
  36. <conf name="client" description="client-side dependencies"
  37. extends="mandatory,httpclient"/>
  38. <conf name="server" description="server-side dependencies"
  39. extends="client"/>
  40. <conf name="s3-client" description="dependencies for working with S3/EC2 infrastructure"
  41. extends="client"/>
  42. <conf name="s3-server" description="dependencies for running on S3/EC2 infrastructure"
  43. extends="s3-client,server"/>
  44. <conf name="kfs" description="dependencies for KFS file system support"/>
  45. <conf name="ftp" description="dependencies for workign with FTP filesytems"
  46. extends="mandatory"/>
  47. <conf name="jetty" description="Jetty provides the in-VM HTTP daemon" extends="commons-logging"/>
  48. <!--Private configurations. -->
  49. <conf name="common" visibility="private" extends="runtime,mandatory,httpclient,ftp,jetty"
  50. description="common artifacts"/>
  51. <conf name="javadoc" visibility="private" description="artiracts required while performing doc generation"
  52. extends="common,mandatory,jetty,lucene"/>
  53. <!--Testing pulls in everything-->
  54. <conf name="test" extends="common,default,s3-server,kfs" visibility="private"
  55. description="the classpath needed to run tests"/>
  56. <conf name="releaseaudit" visibility="private"
  57. description="Artifacts required for releaseaudit target"/>
  58. <conf name="commons-logging" visibility="private"/>
  59. <conf name="httpclient" visibility="private" extends="commons-logging"/>
  60. <conf name="log4j" visibility="private"/>
  61. <conf name="lucene" visibility="private"/>
  62. <conf name="jdiff" visibility="private" extends="log4j,s3-client,jetty,server"/>
  63. <conf name="checkstyle" visibility="private"/>
  64. </configurations>
  65. <publications>
  66. <!--get the artifact from our module name-->
  67. <artifact conf="master"/>
  68. </publications>
  69. <dependencies>
  70. <!--used client side-->
  71. <dependency org="commons-cli"
  72. name="commons-cli"
  73. rev="${commons-cli.version}"
  74. conf="client->default"/>
  75. <dependency org="checkstyle"
  76. name="checkstyle"
  77. rev="${checkstyle.version}"
  78. conf="checkstyle->default"/>
  79. <dependency org="jdiff"
  80. name="jdiff"
  81. rev="${jdiff.version}"
  82. conf="jdiff->default"/>
  83. <dependency org="xerces"
  84. name="xerces"
  85. rev="${xerces.version}"
  86. conf="jdiff->default">
  87. </dependency>
  88. <dependency org="xmlenc"
  89. name="xmlenc"
  90. rev="${xmlenc.version}"
  91. conf="server->default"/>
  92. <!--Configuration: httpclient-->
  93. <!--
  94. commons-httpclient asks for too many files.
  95. All it needs is commons-codec and commons-logging JARs
  96. -->
  97. <dependency org="commons-httpclient"
  98. name="commons-httpclient"
  99. rev="${commons-httpclient.version}"
  100. conf="httpclient->master">
  101. </dependency>
  102. <dependency org="commons-codec"
  103. name="commons-codec"
  104. rev="${commons-codec.version}"
  105. conf="httpclient->default"/>
  106. <dependency org="commons-net"
  107. name="commons-net"
  108. rev="${commons-net.version}"
  109. conf="ftp->default"/>
  110. <dependency org="commons-configuration"
  111. name="commons-configuration"
  112. rev="${commons-configuration.version}"
  113. conf="common->default"/>
  114. <dependency org="org.apache.commons"
  115. name="commons-math"
  116. rev="${commons-math.version}"
  117. conf="common->default"/>
  118. <!--Configuration: Jetty -->
  119. <!-- <dependency org="javax.servlet"
  120. name="servlet-api"
  121. rev="${servlet-api.version}"
  122. conf="jetty->master"/> -->
  123. <dependency org="org.mortbay.jetty"
  124. name="jetty"
  125. rev="${jetty.version}"
  126. conf="jetty->default"/>
  127. <dependency org="org.mortbay.jetty"
  128. name="jetty-util"
  129. rev="${jetty-util.version}"
  130. conf="jetty->master"/>
  131. <dependency org="tomcat"
  132. name="jasper-runtime"
  133. rev="${jasper.version}"
  134. conf="jetty->master"/>
  135. <dependency org="tomcat"
  136. name="jasper-compiler"
  137. rev="${jasper.version}"
  138. conf="jetty->master"/>
  139. <!-- this is resolved locally from the lib folder
  140. <dependency org="tomcat"
  141. name="jsp-api"
  142. rev="${jsp-api.version}"
  143. conf="jetty->master"/> -->
  144. <dependency org="commons-el"
  145. name="commons-el"
  146. rev="${commons-el.version}"
  147. conf="jetty->master"/>
  148. <!--Configuration: secure datanode -->
  149. <dependency org="commons-daemon"
  150. name="commons-daemon"
  151. rev="${commons-daemon.version}"
  152. conf="server->default" />
  153. <!--Configuration: commons-logging -->
  154. <!--it is essential that only the master JAR of commons logging
  155. is pulled in, as its dependencies are usually a mess, including things
  156. like out of date servlet APIs, bits of Avalon, etc.
  157. -->
  158. <dependency org="commons-logging"
  159. name="commons-logging"
  160. rev="${commons-logging.version}"
  161. conf="commons-logging->master"/>
  162. <!--Configuration: commons-logging -->
  163. <!--log4J is not optional until commons-logging.properties is stripped out of the JAR -->
  164. <dependency org="log4j"
  165. name="log4j"
  166. rev="${log4j.version}"
  167. conf="log4j->master"/>
  168. <!--Configuration: s3-client -->
  169. <!--there are two jets3t projects in the repository; this one goes up to 0.6 and
  170. is assumed to be the live one-->
  171. <dependency org="net.java.dev.jets3t"
  172. name="jets3t"
  173. rev="${jets3t.version}"
  174. conf="s3-client->master"/>
  175. <dependency org="commons-net"
  176. name="commons-net"
  177. rev="${commons-net.version}"
  178. conf="s3-client->master"/>
  179. <!--Configuration: kfs -->
  180. <!-- This is not in the repository
  181. <dependency org="org.kosmix"
  182. name="kfs"
  183. rev="${kfs.version}"
  184. conf="kfs->default"/>-->
  185. <!--Configuration: test -->
  186. <!--artifacts needed for testing -->
  187. <dependency org="junit"
  188. name="junit"
  189. rev="${junit.version}"
  190. conf="common->default"/>
  191. <dependency org="com.google.code.p.arat"
  192. name="rat-lib"
  193. rev="${rats-lib.version}"
  194. conf="releaseaudit->default"/>
  195. <dependency org="commons-lang"
  196. name="commons-lang"
  197. rev="${commons-lang.version}"
  198. conf="releaseaudit->default"/>
  199. <dependency org="commons-collections"
  200. name="commons-collections"
  201. rev="${commons-collections.version}"
  202. conf="releaseaudit->default"/>
  203. <!--<dependency org="hsqldb"
  204. name="hsqldb"
  205. rev="${hsqldb.version}"
  206. conf="common->default"/>
  207. <dependency org="lucene"
  208. name="lucene"
  209. rev="${lucene.version}"
  210. conf="javadoc->default"/> -->
  211. <dependency org="org.apache.lucene"
  212. name="lucene-core"
  213. rev="${lucene-core.version}"
  214. conf="javadoc->default"/>
  215. <dependency org="commons-logging"
  216. name="commons-logging-api"
  217. rev="${commons-logging-api.version}"
  218. conf="common->default"/>
  219. <dependency org="org.slf4j"
  220. name="slf4j-api"
  221. rev="${slf4j-api.version}"
  222. conf="common->master"/>
  223. <dependency org="org.eclipse.jdt"
  224. name="core"
  225. rev="${core.version}"
  226. conf="common->master"/>
  227. <dependency org="oro"
  228. name="oro"
  229. rev="${oro.version}"
  230. conf="common->default"/>
  231. <dependency org="org.slf4j"
  232. name="slf4j-log4j12"
  233. rev="${slf4j-log4j12.version}"
  234. conf="common->master">
  235. </dependency>
  236. <dependency org="org.codehaus.jackson"
  237. name="jackson-mapper-asl"
  238. rev="1.0.1"
  239. conf="common->default"/>
  240. <dependency org="org.mockito"
  241. name="mockito-all"
  242. rev="${mockito-all.version}"
  243. conf="common->default">
  244. </dependency>
  245. <dependency org="com.jcraft"
  246. name="jsch"
  247. rev="${jsch.version}"
  248. conf="common->default">
  249. </dependency>
  250. <dependency org="org.aspectj"
  251. name="aspectjrt"
  252. rev="${aspectj.version}"
  253. conf="common->default">
  254. </dependency>
  255. <dependency org="org.aspectj"
  256. name="aspectjtools"
  257. rev="${aspectj.version}"
  258. conf="common->default">
  259. </dependency>
  260. </dependencies>
  261. </ivy-module>