| <?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 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> |
| |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>14</version> |
| </parent> |
| |
| <groupId>com.twitter</groupId> |
| <artifactId>parquet-format</artifactId> |
| <version>2.2.0-rc1</version> |
| <packaging>jar</packaging> |
| |
| <name>Apache Parquet Format (Incubating)</name> |
| <url>http://parquet.incubator.apache.org/</url> |
| <description>Parquet is a columnar storage format that supports nested data. This provides all generated metadata code.</description> |
| |
| <scm> |
| <connection>scm:git:git@github.com:apache/incubator-parquet-format.git</connection> |
| <url>scm:git:git@github.com:apache/incubator-parquet-format.git</url> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-parquet-format.git</developerConnection> |
| </scm> |
| |
| <licenses> |
| <!-- This is also in the Apache parent POM, but adding it here includes it |
| in dependency-reduced-pom.xml so that it passes the rat check. --> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>https://issues.apache.org/jira/browse/PARQUET</url> |
| </issueManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Dev Mailing List</name> |
| <post>dev@parquet.incubator.apache.org</post> |
| <subscribe>dev-subscribe@parquet.incubator.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@parquet.incubator.apache.org</unsubscribe> |
| </mailingList> |
| <mailingList> |
| <name>Commits Mailing List</name> |
| <post>commits@parquet.incubator.apache.org</post> |
| <subscribe>commits-subscribe@parquet.incubator.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@parquet.incubator.apache.org</unsubscribe> |
| </mailingList> |
| </mailingLists> |
| |
| <developers> |
| <developer> |
| <name>Julien Le Dem</name> |
| <email>julien@twitter.com</email> |
| </developer> |
| <developer> |
| <name>Nong Li</name> |
| <email>nong@cloudera.com</email> |
| </developer> |
| </developers> |
| |
| <distributionManagement> |
| <snapshotRepository> |
| <id>sonatype-nexus-snapshots</id> |
| <name>Sonatype OSS</name> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <repository> |
| <id>sonatype-nexus-staging</id> |
| <name>Nexus Release Repository</name> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| |
| <repositories> |
| <repository> |
| <id>sonatype-nexus-snapshots</id> |
| <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| |
| <!-- this is needed for maven-thrift-plugin, would like to remove this. |
| see: https://issues.apache.org/jira/browse/THRIFT-1536 --> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>Twitter public Maven repo</id> |
| <url>http://maven.twttr.com</url> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <properties> |
| <maven.compiler.source>1.6</maven.compiler.source> |
| <maven.compiler.target>1.6</maven.compiler.target> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <!-- the default resources directory --> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <!-- copy NOTICE and LICENSE --> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>NOTICE</include> |
| <include>LICENSE</include> |
| </includes> |
| </resource> |
| </resources> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <mavenExecutorId>forked-path</mavenExecutorId> |
| <useReleaseProfile>false</useReleaseProfile> |
| <arguments>-Psonatype-oss-release</arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <!-- thrift --> |
| <plugin> |
| <groupId>org.apache.thrift.tools</groupId> |
| <artifactId>maven-thrift-plugin</artifactId> |
| <version>0.1.10</version> |
| <configuration> |
| <thriftSourceRoot>src/thrift</thriftSourceRoot> |
| </configuration> |
| <executions> |
| <execution> |
| <id>thrift-sources</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- Override source and target from the ASF parent --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>org.apache.thrift:libthrift</include> |
| <include>org.slf4j:slf4j-api</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <!-- Sigh. The Thrift jar contains its source --> |
| <artifact>org.apache.thrift:libthrift</artifact> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.thrift</pattern> |
| <shadedPattern>parquet.org.apache.thrift</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.slf4j</pattern> |
| <shadedPattern>parquet.org.slf4j</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>test</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <excludes> |
| <exclude>**/*.avro</exclude> |
| <exclude>**/*.avsc</exclude> |
| <exclude>**/*.avdl</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.md.vm</exclude> |
| <exclude>**/.classpath</exclude> |
| <exclude>**/.project</exclude> |
| <exclude>**/.settings/**</exclude> |
| <exclude>**/build/**</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>.git/**</exclude> |
| <exclude>.gitignore</exclude> |
| <exclude>.idea/**</exclude> |
| <exclude>*/jdiff/*.xml</exclude> |
| <exclude>.travis.yml</exclude> |
| <exclude>licenses/**</exclude> |
| <exclude>thrift-0.7.0/**</exclude> |
| <exclude>thrift-0.7.0.tar.gz</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| <version>0.7.0</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.10</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>sonatype-oss-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.7</version> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.1</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |