|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with 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 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | + <modelVersion>4.0.0</modelVersion> |
| 23 | + <parent> |
| 24 | + <groupId>org.apache.fluss</groupId> |
| 25 | + <artifactId>fluss-spark</artifactId> |
| 26 | + <version>0.9-SNAPSHOT</version> |
| 27 | + </parent> |
| 28 | + |
| 29 | + <artifactId>fluss-spark-3.4_${scala.binary.version}</artifactId> |
| 30 | + <name>Fluss : Engine Spark : 3.4</name> |
| 31 | + |
| 32 | + <properties> |
| 33 | + <spark.version>3.4.3</spark.version> |
| 34 | + </properties> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>org.apache.fluss</groupId> |
| 39 | + <artifactId>fluss-spark-common_${scala.binary.version}</artifactId> |
| 40 | + <version>${project.version}</version> |
| 41 | + </dependency> |
| 42 | + |
| 43 | + <dependency> |
| 44 | + <groupId>org.apache.fluss</groupId> |
| 45 | + <artifactId>fluss-spark-ut_${scala.binary.version}</artifactId> |
| 46 | + <version>${project.version}</version> |
| 47 | + <classifier>tests</classifier> |
| 48 | + <scope>test</scope> |
| 49 | + </dependency> |
| 50 | + </dependencies> |
| 51 | + |
| 52 | + <build> |
| 53 | + <plugins> |
| 54 | + <plugin> |
| 55 | + <groupId>org.apache.maven.plugins</groupId> |
| 56 | + <artifactId>maven-compiler-plugin</artifactId> |
| 57 | + <configuration> |
| 58 | + <!-- compilation of main sources --> |
| 59 | + <skipMain>${skip.on.java8}</skipMain> |
| 60 | + <!-- compilation of test sources --> |
| 61 | + <skip>${skip.on.java8}</skip> |
| 62 | + </configuration> |
| 63 | + </plugin> |
| 64 | + |
| 65 | + <plugin> |
| 66 | + <groupId>org.apache.maven.plugins</groupId> |
| 67 | + <artifactId>maven-surefire-plugin</artifactId> |
| 68 | + <version>3.0.0-M5</version> |
| 69 | + <executions> |
| 70 | + <!-- Test end with ITCase is e2e test in this module --> |
| 71 | + <execution> |
| 72 | + <id>integration-tests</id> |
| 73 | + <phase>integration-test</phase> |
| 74 | + <inherited>false</inherited> |
| 75 | + <goals> |
| 76 | + <goal>test</goal> |
| 77 | + </goals> |
| 78 | + <configuration> |
| 79 | + <skip>${skip.on.java8}</skip> |
| 80 | + <includes> |
| 81 | + <include>**/*ITCase.*</include> |
| 82 | + </includes> |
| 83 | + <!-- e2e test with flink/zookeeper cluster, we set forkCount=1 --> |
| 84 | + <forkCount>1</forkCount> |
| 85 | + </configuration> |
| 86 | + </execution> |
| 87 | + <!-- others unit tests --> |
| 88 | + <execution> |
| 89 | + <id>default-test</id> |
| 90 | + <phase>test</phase> |
| 91 | + <inherited>false</inherited> |
| 92 | + <goals> |
| 93 | + <goal>test</goal> |
| 94 | + </goals> |
| 95 | + <configuration> |
| 96 | + <skip>${skip.on.java8}</skip> |
| 97 | + <excludes> |
| 98 | + <exclude>**/*ITCase.*</exclude> |
| 99 | + </excludes> |
| 100 | + </configuration> |
| 101 | + </execution> |
| 102 | + </executions> |
| 103 | + </plugin> |
| 104 | + |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-shade-plugin</artifactId> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>shade-fluss</id> |
| 111 | + <phase>package</phase> |
| 112 | + <goals> |
| 113 | + <goal>shade</goal> |
| 114 | + </goals> |
| 115 | + <configuration> |
| 116 | + <artifactSet> |
| 117 | + <includes combine.children="append"> |
| 118 | + <include>org.apache.fluss:fluss-spark-common</include> |
| 119 | + <include>org.apache.fluss:fluss-client</include> |
| 120 | + </includes> |
| 121 | + </artifactSet> |
| 122 | + </configuration> |
| 123 | + </execution> |
| 124 | + </executions> |
| 125 | + </plugin> |
| 126 | + </plugins> |
| 127 | + </build> |
| 128 | + |
| 129 | +</project> |
0 commit comments