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