parquet-format-structures
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-format-structures</artifactId> <version>1.15.2</version> </dependency>
<?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/maven-v4_0_0.xsd"> <parent> <artifactId>parquet</artifactId> <groupId>org.apache.parquet</groupId> <version>1.15.2</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>parquet-format-structures</artifactId> <name>Apache Parquet Format Structures</name> <description>Parquet-mr related java classes to use the parquet-format thrift structures.</description> <url>https://parquet.apache.org/</url> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack</id> <phase>initialize</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.apache.parquet</groupId> <artifactId>parquet-format</artifactId> <version>${parquet.format.version}</version> <type>jar</type> </artifactItem> </artifactItems> <includes>parquet.thrift</includes> <outputDirectory>${parquet.thrift.path}</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.thrift</groupId> <artifactId>thrift-maven-plugin</artifactId> <version>${thrift-maven-plugin.version}</version> <executions> <execution> <id>thrift-sources</id> <phase>generate-sources</phase> <goals> <goal>compile</goal> </goals> </execution> </executions> <configuration> <thriftSourceRoot>${parquet.thrift.path}</thriftSourceRoot> <thriftExecutable>${format.thrift.executable}</thriftExecutable> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> <artifactSet> <includes> <include>org.apache.thrift:libthrift</include> </includes> </artifactSet> <filters> <filter> <artifact>org.apache.thrift:libthrift</artifact> <excludes> <exclude>**/*.java</exclude> <exclude>META-INF/LICENSE.txt</exclude> <exclude>META-INF/NOTICE.txt</exclude> </excludes> </filter> </filters> <relocations> <relocation> <pattern>org.apache.thrift</pattern> <shadedPattern>${shade.prefix}.org.apache.thrift</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <doclint>none</doclint> <source>8</source> <quiet>true</quiet> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>UnixClassOS</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>check-thrift-version</id> <phase>generate-sources</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>sh</executable> <workingDirectory>${basedir}</workingDirectory> <arguments> <argument>-c</argument> <argument>${thrift.executable} -version | fgrep 'Thrift version ${thrift.version}' && exit 0; echo "================================================================================="; echo "========== [FATAL] Build is configured to require Thrift version ${thrift.version} =========="; echo -n "========== Currently installed: "; ${thrift.executable} -version; echo "================================================================================="; exit 1</argument> </arguments> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <dependencies> <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> <version>0.21.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>hamcrest-core</artifactId> <groupId>org.hamcrest</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>5.4.0</version> <scope>test</scope> <exclusions> <exclusion> <artifactId>byte-buddy</artifactId> <groupId>net.bytebuddy</groupId> </exclusion> <exclusion> <artifactId>asm</artifactId> <groupId>org.ow2.asm</groupId> </exclusion> <exclusion> <artifactId>objenesis</artifactId> <groupId>org.objenesis</groupId> </exclusion> </exclusions> </dependency> </dependencies> <properties> <parquet.thrift.path>${project.build.directory}/parquet-format-thrift</parquet.thrift.path> </properties> </project>