|
21 | 21 | <parent> |
22 | 22 | <groupId>org.apache.spark</groupId> |
23 | 23 | <artifactId>spark-parent</artifactId> |
24 | | - <version>1.0.0-incubating-SNAPSHOT</version> |
| 24 | + <version>1.0.0-SNAPSHOT</version> |
25 | 25 | <relativePath>../pom.xml</relativePath> |
26 | 26 | </parent> |
27 | 27 |
|
28 | 28 | <groupId>org.apache.spark</groupId> |
29 | 29 | <artifactId>spark-core_2.10</artifactId> |
30 | 30 | <packaging>jar</packaging> |
31 | 31 | <name>Spark Project Core</name> |
32 | | - <url>http://spark.incubator.apache.org/</url> |
| 32 | + <url>http://spark.apache.org/</url> |
| 33 | + |
| 34 | + <!-- SPARK-1121: SPARK-1121: Adds an explicit dependency on Avro to work around |
| 35 | + a Hadoop 0.23.X issue --> |
| 36 | + <profiles> |
| 37 | + <profile> |
| 38 | + <id>yarn-alpha</id> |
| 39 | + <dependencies> |
| 40 | + <dependency> |
| 41 | + <groupId>org.apache.avro</groupId> |
| 42 | + <artifactId>avro</artifactId> |
| 43 | + </dependency> |
| 44 | + </dependencies> |
| 45 | + </profile> |
| 46 | + </profiles> |
33 | 47 |
|
34 | 48 | <dependencies> |
35 | 49 | <dependency> |
|
39 | 53 | <dependency> |
40 | 54 | <groupId>net.java.dev.jets3t</groupId> |
41 | 55 | <artifactId>jets3t</artifactId> |
| 56 | + <exclusions> |
| 57 | + <exclusion> |
| 58 | + <groupId>commons-logging</groupId> |
| 59 | + <artifactId>commons-logging</artifactId> |
| 60 | + </exclusion> |
| 61 | + </exclusions> |
42 | 62 | </dependency> |
43 | 63 | <dependency> |
44 | | - <groupId>org.apache.avro</groupId> |
45 | | - <artifactId>avro</artifactId> |
46 | | - </dependency> |
47 | | - <dependency> |
48 | | - <groupId>org.apache.avro</groupId> |
49 | | - <artifactId>avro-ipc</artifactId> |
50 | | - </dependency> |
51 | | - <dependency> |
52 | | - <groupId>org.apache.zookeeper</groupId> |
53 | | - <artifactId>zookeeper</artifactId> |
| 64 | + <groupId>org.apache.curator</groupId> |
| 65 | + <artifactId>curator-recipes</artifactId> |
54 | 66 | </dependency> |
55 | 67 | <dependency> |
56 | 68 | <groupId>org.eclipse.jetty</groupId> |
|
80 | 92 | <groupId>org.slf4j</groupId> |
81 | 93 | <artifactId>slf4j-api</artifactId> |
82 | 94 | </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.slf4j</groupId> |
| 97 | + <artifactId>jul-to-slf4j</artifactId> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.slf4j</groupId> |
| 101 | + <artifactId>jcl-over-slf4j</artifactId> |
| 102 | + </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>log4j</groupId> |
| 105 | + <artifactId>log4j</artifactId> |
| 106 | + </dependency> |
| 107 | + <dependency> |
| 108 | + <groupId>org.slf4j</groupId> |
| 109 | + <artifactId>slf4j-log4j12</artifactId> |
| 110 | + </dependency> |
83 | 111 | <dependency> |
84 | 112 | <groupId>com.ning</groupId> |
85 | 113 | <artifactId>compress-lzf</artifactId> |
|
124 | 152 | <artifactId>scala-library</artifactId> |
125 | 153 | </dependency> |
126 | 154 | <dependency> |
127 | | - <groupId>net.liftweb</groupId> |
128 | | - <artifactId>lift-json_${scala.binary.version}</artifactId> |
| 155 | + <groupId>org.json4s</groupId> |
| 156 | + <artifactId>json4s-jackson_${scala.binary.version}</artifactId> |
| 157 | + <version>3.2.6</version> |
| 158 | + <!-- see also exclusion for lift-json; this is necessary since it depends on |
| 159 | + scala-library and scalap 2.10.0, but we use 2.10.3, and only override |
| 160 | + scala-library --> |
| 161 | + <exclusions> |
| 162 | + <exclusion> |
| 163 | + <groupId>org.scala-lang</groupId> |
| 164 | + <artifactId>scalap</artifactId> |
| 165 | + </exclusion> |
| 166 | + </exclusions> |
129 | 167 | </dependency> |
130 | 168 | <dependency> |
131 | 169 | <groupId>it.unimi.dsi</groupId> |
|
143 | 181 | <groupId>io.netty</groupId> |
144 | 182 | <artifactId>netty-all</artifactId> |
145 | 183 | </dependency> |
146 | | - <dependency> |
147 | | - <groupId>log4j</groupId> |
148 | | - <artifactId>log4j</artifactId> |
149 | | - </dependency> |
150 | 184 | <dependency> |
151 | 185 | <groupId>com.clearspring.analytics</groupId> |
152 | 186 | <artifactId>stream</artifactId> |
|
206 | 240 | <artifactId>junit-interface</artifactId> |
207 | 241 | <scope>test</scope> |
208 | 242 | </dependency> |
209 | | - <dependency> |
210 | | - <groupId>org.slf4j</groupId> |
211 | | - <artifactId>slf4j-log4j12</artifactId> |
212 | | - <scope>test</scope> |
213 | | - </dependency> |
214 | 243 | </dependencies> |
215 | 244 | <build> |
216 | 245 | <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory> |
|
227 | 256 | </goals> |
228 | 257 | <configuration> |
229 | 258 | <exportAntProperties>true</exportAntProperties> |
230 | | - <tasks> |
| 259 | + <target> |
231 | 260 | <property name="spark.classpath" refid="maven.test.classpath" /> |
232 | 261 | <property environment="env" /> |
233 | 262 | <fail message="Please set the SCALA_HOME (or SCALA_LIBRARY_PATH if scala is on the path) environment variables and retry."> |
|
240 | 269 | </not> |
241 | 270 | </condition> |
242 | 271 | </fail> |
243 | | - </tasks> |
| 272 | + </target> |
244 | 273 | </configuration> |
245 | 274 | </execution> |
246 | 275 | </executions> |
|
0 commit comments