| <?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 |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.inlong</groupId> |
| <artifactId>inlong-sort</artifactId> |
| <version>0.12.0-incubating</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>sort-formats</artifactId> |
| <name>Apache InLong - Sort Formats</name> |
| <packaging>pom</packaging> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <url>https://git.code.oa.com/flink/flink-formats</url> |
| <connection>git@git.code.oa.com:flink/flink-formats.git</connection> |
| </scm> |
| |
| <modules> |
| <module>format-common</module> |
| <module>format-base</module> |
| <module>format-csv</module> |
| <module>format-kv</module> |
| <module>format-tdmsg-base</module> |
| <module>format-tdmsg-csv</module> |
| </modules> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <java.version>1.8</java.version> |
| <maven.compiler.source>${java.version}</maven.compiler.source> |
| <maven.compiler.target>${java.version}</maven.compiler.target> |
| <flink.version>1.9.3</flink.version> |
| <flink.jackson.version>2.9.8-7.0</flink.jackson.version> |
| <scala.version>2.11</scala.version> |
| <guava.version>18.0</guava.version> |
| <joda.version>2.5</joda.version> |
| <snappy.version>1.1.4</snappy.version> |
| <commons.compress.version>1.18</commons.compress.version> |
| <commons.lang3.version>3.3.2</commons.lang3.version> |
| <commons.codec.version>1.10</commons.codec.version> |
| <protobuf.version>3.11.4</protobuf.version> |
| <dbsync-common-version>0.0.2-SNAPSHOT</dbsync-common-version> |
| <slf4j.version>1.7.15</slf4j.version> |
| <jsr.version>1.3.9</jsr.version> |
| <flink.forkCount>1C</flink.forkCount> |
| <flink.reuseForks>true</flink.reuseForks> |
| <log4j.configuration>log4j-test.properties</log4j.configuration> |
| </properties> |
| |
| <!-- override these root dependencies as 'provided', so they don't end up |
| in the jars-with-dependencies (uber jars) of connectors and |
| user programs that depend on the connectors --> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>${jsr.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>2.21.0</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>2.0.0-RC.4</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito2</artifactId> |
| <version>2.0.0-RC.4</version> |
| <type>jar</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.3</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| <type>jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.0</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <!-- The semantics of this option are reversed, see MCOMPILER-209. --> |
| <useIncrementalCompilation>false</useIncrementalCompilation> |
| <compilerArgs> |
| <!-- Prevents recompilation due to missing package-info.class, see MCOMPILER-205 --> |
| <arg>-Xpkginfo:always</arg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version><!--$NO-MVN-MAN-VER$--> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>3.0.0</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.1</version> |
| <configuration> |
| <forkCount>${flink.forkCount}</forkCount> |
| <reuseForks>${flink.reuseForks}</reuseForks> |
| <systemPropertyVariables> |
| <forkNumber>0${surefire.forkNumber}</forkNumber> |
| <log4j.configuration>${log4j.configuration}</log4j.configuration> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <!--execute all the unit tests--> |
| <execution> |
| <id>default-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/*Test.*</include> |
| </includes> |
| </configuration> |
| </execution> |
| <!--execute all the integration tests--> |
| <execution> |
| <id>integration-tests</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/*ITCase.*</include> |
| </includes> |
| <reuseForks>false</reuseForks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |