| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.datafusion</groupId> |
| <artifactId>comet-parent-spark${spark.version.short}_${scala.binary.version}</artifactId> |
| <version>0.14.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>comet-spark-integration-spark${spark.version.short}_${scala.binary.version}</artifactId> |
| <name>comet-spark-integration</name> |
| <packaging>pom</packaging> |
| |
| <properties> |
| <!-- Reverse default (skip installation), and then enable only for child modules --> |
| <maven.deploy.skip>false</maven.deploy.skip> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.datafusion</groupId> |
| <artifactId>comet-spark-spark${spark.version.short}_${scala.binary.version}</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <!-- This is shaded into the jar --> |
| <exclusion> |
| <groupId>org.apache.datafusion</groupId> |
| <artifactId>comet-common-spark${spark.version.short}_${scala.binary.version}</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <!-- create a maven pom property that has all of our dependencies. |
| below in the integration-test phase we'll pass this list |
| of paths to our jar checker script. |
| --> |
| <execution> |
| <id>put-client-artifacts-in-a-property</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>build-classpath</goal> |
| </goals> |
| <configuration> |
| <excludeTransitive>true</excludeTransitive> |
| <pathSeparator>;</pathSeparator> |
| <outputProperty>comet-artifacts</outputProperty> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>check-jar-contents</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>bash</executable> |
| <workingDirectory>${project.build.testOutputDirectory}</workingDirectory> |
| <requiresOnline>false</requiresOnline> |
| <arguments> |
| <argument>${project.basedir}/../dev/ensure-jars-have-correct-contents.sh</argument> |
| <argument>${comet-artifacts}</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |