Back to home page

OSCL-LXR

 
 

    


0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!--
0003   ~ Licensed to the Apache Software Foundation (ASF) under one or more
0004   ~ contributor license agreements.  See the NOTICE file distributed with
0005   ~ this work for additional information regarding copyright ownership.
0006   ~ The ASF licenses this file to You under the Apache License, Version 2.0
0007   ~ (the "License"); you may not use this file except in compliance with
0008   ~ the License.  You may obtain a copy of the License at
0009   ~
0010   ~    http://www.apache.org/licenses/LICENSE-2.0
0011   ~
0012   ~ Unless required by applicable law or agreed to in writing, software
0013   ~ distributed under the License is distributed on an "AS IS" BASIS,
0014   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0015   ~ See the License for the specific language governing permissions and
0016   ~ limitations under the License.
0017   -->
0018 
0019 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0020          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
0021   <modelVersion>4.0.0</modelVersion>
0022   <parent>
0023     <groupId>org.apache.spark</groupId>
0024     <artifactId>spark-parent_2.12</artifactId>
0025     <version>3.0.0</version>
0026     <relativePath>../../pom.xml</relativePath>
0027   </parent>
0028 
0029   <artifactId>spark-docker-integration-tests_2.12</artifactId>
0030   <packaging>jar</packaging>
0031   <name>Spark Project Docker Integration Tests</name>
0032   <url>http://spark.apache.org/</url>
0033   <properties>
0034     <sbt.project.name>docker-integration-tests</sbt.project.name>
0035   </properties>
0036 
0037   <repositories>
0038     <repository>
0039       <id>db</id>
0040       <url>https://app.camunda.com/nexus/content/repositories/public/</url>
0041       <releases>
0042         <enabled>true</enabled>
0043         <checksumPolicy>warn</checksumPolicy>
0044       </releases>
0045     </repository>
0046   </repositories>
0047 
0048   <dependencies>
0049     <dependency>
0050       <groupId>com.spotify</groupId>
0051       <artifactId>docker-client</artifactId>
0052       <scope>test</scope>
0053       <classifier>shaded</classifier>
0054     </dependency>
0055     <dependency>
0056       <groupId>org.apache.httpcomponents</groupId>
0057       <artifactId>httpclient</artifactId>
0058       <scope>test</scope>
0059     </dependency>
0060     <dependency>
0061       <groupId>org.apache.httpcomponents</groupId>
0062       <artifactId>httpcore</artifactId>
0063       <scope>test</scope>
0064     </dependency>
0065     <!-- Necessary in order to avoid errors in log messages: -->
0066     <dependency>
0067       <groupId>com.google.guava</groupId>
0068       <artifactId>guava</artifactId>
0069       <version>18.0</version>
0070     </dependency>
0071     <dependency>
0072       <groupId>org.apache.spark</groupId>
0073       <artifactId>spark-core_${scala.binary.version}</artifactId>
0074       <version>${project.version}</version>
0075       <scope>test</scope>
0076     </dependency>
0077     <dependency>
0078       <groupId>org.apache.spark</groupId>
0079       <artifactId>spark-core_${scala.binary.version}</artifactId>
0080       <version>${project.version}</version>
0081       <type>test-jar</type>
0082       <scope>test</scope>
0083     </dependency>
0084     <dependency>
0085       <groupId>org.apache.spark</groupId>
0086       <artifactId>spark-catalyst_${scala.binary.version}</artifactId>
0087       <version>${project.version}</version>
0088       <type>test-jar</type>
0089       <scope>test</scope>
0090     </dependency>
0091     <dependency>
0092       <groupId>org.apache.spark</groupId>
0093       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0094       <version>${project.version}</version>
0095       <scope>test</scope>
0096     </dependency>
0097     <dependency>
0098       <groupId>org.apache.spark</groupId>
0099       <artifactId>spark-sql_${scala.binary.version}</artifactId>
0100       <version>${project.version}</version>
0101       <type>test-jar</type>
0102       <scope>test</scope>
0103     </dependency>
0104     <dependency>
0105       <groupId>org.apache.spark</groupId>
0106       <artifactId>spark-tags_${scala.binary.version}</artifactId>
0107       <type>test-jar</type>
0108       <scope>test</scope>
0109     </dependency>
0110     <!-- Although SPARK-28737 upgraded Jersey to 2.29 for JDK11, 'com.spotify.docker-client' still
0111       uses this repackaged 'jersey-guava'. We add this back for JDK8/JDK11 testing. -->
0112     <dependency>
0113       <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
0114       <artifactId>jersey-guava</artifactId>
0115       <version>2.25.1</version>
0116       <scope>test</scope>
0117     </dependency>
0118     <dependency>
0119       <groupId>mysql</groupId>
0120       <artifactId>mysql-connector-java</artifactId>
0121       <scope>test</scope>
0122     </dependency>
0123     <dependency>
0124       <groupId>org.postgresql</groupId>
0125       <artifactId>postgresql</artifactId>
0126       <scope>test</scope>
0127     </dependency>
0128     <!-- Oracle ojdbc jar, used for oracle  integration suite for docker testing.
0129      See https://github.com/apache/spark/pull/11306 for background on why we need
0130      to use a an ojdbc jar for the testcase. The maven dependency here is commented
0131      because currently the maven repository does not contain the ojdbc jar mentioned.
0132      Once the jar is available in maven, this could be uncommented. -->
0133     <dependency>
0134       <groupId>com.oracle</groupId>
0135       <artifactId>ojdbc6</artifactId>
0136       <version>11.2.0.1.0</version>
0137       <scope>test</scope>
0138     </dependency>
0139 
0140     <!-- DB2 JCC driver manual installation instructions
0141 
0142        You can build this datasource if you:
0143         1) have the DB2 artifacts installed in a local repo and supply the URL:
0144           -Dmaven.repo.drivers=http://my.local.repo
0145 
0146         2) have a copy of the DB2 JCC driver and run the following commands :
0147           mvn install:install-file -Dfile=${path to db2jcc4.jar} \
0148             -DgroupId=com.ibm.db2 \
0149             -DartifactId=db2jcc4 \
0150             -Dversion=10.5 \
0151             -Dpackaging=jar
0152 
0153        Note: IBM DB2 JCC driver is available for download at
0154           http://www-01.ibm.com/support/docview.wss?uid=swg21363866
0155      -->
0156     <dependency>
0157       <groupId>com.ibm.db2.jcc</groupId>
0158       <artifactId>db2jcc4</artifactId>
0159       <version>10.5.0.5</version>
0160       <type>jar</type>
0161     </dependency>
0162     <dependency>
0163       <groupId>com.microsoft.sqlserver</groupId>
0164       <artifactId>mssql-jdbc</artifactId>
0165       <version>7.2.1.jre8</version>
0166       <scope>test</scope>
0167     </dependency>
0168   </dependencies>
0169 </project>