Created
January 11, 2020 11:17
-
-
Save akj009/5b73533901d865de1c764d149e2e059a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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> | |
<groupId>com.mptyminds.dataflow</groupId> | |
<artifactId>bigquery-to-hdfs</artifactId> | |
<version>1.0</version> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<beam.version>2.14.0</beam.version> | |
<hadoop.version>hadoop2-2.0.0</hadoop.version> | |
<hamcrest.version>1.3</hamcrest.version> | |
<jackson.version>2.8.8</jackson.version> | |
<java.version>1.8</java.version> | |
<spark.version>2.4.4</spark.version> | |
<maven-compiler-plugin.version>3.6.2</maven-compiler-plugin.version> | |
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> | |
<maven-shade-plugin.version>3.2.0</maven-shade-plugin.version> | |
<slf4j.version>1.7.25</slf4j.version> | |
<lombok.version>1.18.4</lombok.version> | |
<ini4j.version>0.5.4</ini4j.version> | |
<junit.version>4.12</junit.version> | |
</properties> | |
<build> | |
<defaultGoal>compile</defaultGoal> | |
<finalName>bigquery_to_hdfs</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>8</source> | |
<target>8</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>${maven-shade-plugin.version}</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<finalName>${project.build.finalName}-shaded</finalName> | |
<filters> | |
<filter> | |
<artifact>*:*</artifact> | |
<excludes> | |
<exclude>META-INF/*.SF</exclude> | |
<exclude>META-INF/*.DSA</exclude> | |
<exclude>META-INF/*.RSA</exclude> | |
</excludes> | |
</filter> | |
</filters> | |
<relocations> | |
<relocation> | |
<pattern>org.apache.parquet</pattern> | |
<shadedPattern>shaded.org.apache.parquet</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>shaded.parquet</pattern> | |
<shadedPattern>reshaded.parquet</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>com</pattern> | |
<shadedPattern>repackaged.com</shadedPattern> | |
<includes> | |
<include>com.google.common.**</include> | |
</includes> | |
</relocation> | |
</relocations> | |
<artifactSet> | |
<excludes> | |
<exclude>classworlds:classworlds</exclude> | |
<exclude>junit:junit</exclude> | |
<exclude>jmock:*</exclude> | |
<!--<exclude>*:xml-apis</exclude> --> | |
<exclude>org.apache.maven:lib:tests</exclude> | |
</excludes> | |
</artifactSet> | |
<transformers> | |
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
<transformer | |
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
<mainClass>com.mptyminds.dataflow.Main</mainClass> | |
<manifestEntries> | |
<Can-Redefine-Classes>true</Can-Redefine-Classes> | |
<Can-Retransform-Classes>true</Can-Retransform-Classes> | |
</manifestEntries> | |
</transformer> | |
<transformer | |
implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> | |
</transformers> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.cloud</groupId> | |
<artifactId>libraries-bom</artifactId> | |
<version>3.1.1</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.cloud</groupId> | |
<artifactId>google-cloud-bigquery</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-sdks-java-core</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-runners-spark</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-sdks-java-io-google-cloud-platform</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-sdks-java-io-parquet</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-sdks-java-io-hadoop-file-system</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<!-- Direct runner included for local development and testing. --> | |
<groupId>org.apache.beam</groupId> | |
<artifactId>beam-runners-direct-java</artifactId> | |
<version>${beam.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-core_2.11</artifactId> | |
<version>${spark.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-streaming_2.11</artifactId> | |
<version>${spark.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.cloud.bigdataoss</groupId> | |
<artifactId>gcs-connector</artifactId> | |
<version>${hadoop.version}</version> | |
</dependency> | |
<!-- Test --> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-core</artifactId> | |
<version>${hamcrest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-library</artifactId> | |
<version>${hamcrest.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>${junit.version}</version> | |
</dependency> | |
<!-- Misc --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<version>${slf4j.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-jdk14</artifactId> | |
<version>${slf4j.version}</version> | |
</dependency> | |
</dependencies> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment