| <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"> |
| <parent> |
| <groupId>com.twitter</groupId> |
| <artifactId>parquet</artifactId> |
| <relativePath>../pom.xml</relativePath> |
| <version>1.4.0</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>parquet-hadoop</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Parquet Hadoop</name> |
| <url>https://github.com/Parquet/parquet-mr</url> |
| |
| <properties> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>parquet-column</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>parquet-format</artifactId> |
| <version>${parquet.format.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.twitter</groupId> |
| <artifactId>parquet-jackson</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${jackson.groupId}</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${jackson.groupId}</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>11.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.xerial.snappy</groupId> |
| <artifactId>snappy-java</artifactId> |
| <version>1.0.5</version> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.3.1</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.semver</groupId> |
| <artifactId>enforcer-rule</artifactId> |
| <version>0.9.17</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <!-- 1.6 is almost 4x bigger. 1.4 has different chunking behavior. |
| So be careful with this versioning. |
| Read http://commons.apache.org/proper/commons-codec/changes-report.html |
| Due to Hadoop et al also using god knows |
| what version of this lib, we mvn-shade it here. |
| --> |
| <version>1.5</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>check</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireBackwardCompatibility implementation="org.semver.enforcer.RequireBackwardCompatibility"> |
| <compatibilityType>BACKWARD_COMPATIBLE_USER</compatibilityType> |
| <dumpDetails>true</dumpDetails> |
| <previousVersion>${previous.version}</previousVersion> |
| <excludes> |
| <exclude>parquet.hadoop.ParquetInputSplit</exclude> |
| </excludes> |
| <includes> |
| <include>parquet.format</include> |
| <include>parquet.hadoop</include> |
| </includes> |
| </requireBackwardCompatibility> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration combine.self="override"> |
| <minimizeJar>true</minimizeJar> |
| <createSourcesJar>false</createSourcesJar> |
| <artifactSet> |
| <includes> |
| <include>commons-codec:*</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>commons-codec:*</artifact> |
| <includes> |
| <include>**</include> |
| </includes> |
| <excludes> |
| <exclude>org/apache/commons/codec/language/*</exclude> |
| <exclude>org/apache/commons/codec/net/*</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.commons.codec</pattern> |
| <shadedPattern>parquet.org.apache.commons.codec</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| </project> |