| <?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.arrow</groupId> | |
| <artifactId>arrow-java-root</artifactId> | |
| <version>20.0.0-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>arrow-tools</artifactId> | |
| <name>Arrow Tools</name> | |
| <description>Java applications for working with Arrow ValueVectors.</description> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-vector</artifactId> | |
| <classifier>${arrow.vector.classifier}</classifier> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-compression</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.immutables</groupId> | |
| <artifactId>value-annotations</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-cli</groupId> | |
| <artifactId>commons-cli</artifactId> | |
| <version>1.11.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>ch.qos.logback</groupId> | |
| <artifactId>logback-classic</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- | |
| Adding jackson as a compile dependency although only directly used in tests. | |
| Using <scope>test</scope> however would cause the final scope to be test instead of | |
| compile because of MNG-4156 | |
| --> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-memory-netty</artifactId> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.arrow</groupId> | |
| <artifactId>arrow-vector</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>tests</classifier> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>make-assembly</id> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <phase>package</phase> | |
| <configuration> | |
| <createDependencyReducedPom>false</createDependencyReducedPom> | |
| <shadedArtifactAttached>true</shadedArtifactAttached> | |
| <shadedClassifierName>jar-with-dependencies</shadedClassifierName> | |
| <filters> | |
| <filter> | |
| <excludes> | |
| <exclude>**/module-info.class</exclude> | |
| </excludes> | |
| </filter> | |
| <filter> | |
| <artifact>*:*</artifact> | |
| <excludes> | |
| <exclude>LICENSE.txt</exclude> | |
| <exclude>NOTICE.txt</exclude> | |
| <exclude>META-INF/*LICENSE*</exclude> | |
| <exclude>META-INF/*NOTICE*</exclude> | |
| </excludes> | |
| </filter> | |
| </filters> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> | |
| <resource>META-INF/LICENSE.txt</resource> | |
| <file>src/shade/LICENSE.txt</file> | |
| </transformer> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer"> | |
| <resource>META-INF/NOTICE.txt</resource> | |
| <file>src/shade/NOTICE.txt</file> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-dependency-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>analyze</id> | |
| <phase>verify</phase> | |
| <configuration> | |
| <ignoredNonTestScopedDependencies> | |
| <ignoredNonTestScopedDependency>com.fasterxml.jackson.core:*</ignoredNonTestScopedDependency> | |
| </ignoredNonTestScopedDependencies> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |