| <?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 | |
| https://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 | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <artifactId>avro-parent</artifactId> | |
| <groupId>org.apache.avro</groupId> | |
| <version>1.13.0-SNAPSHOT</version> | |
| <relativePath>../pom.xml</relativePath> | |
| </parent> | |
| <artifactId>avro-android</artifactId> | |
| <name>Apache Avro Android Compatibility</name> | |
| <url>https://avro.apache.org</url> | |
| <description>A subset of the Avro core utilities for the Android platform</description> | |
| <packaging>jar</packaging> | |
| <properties> | |
| <main.basedir>${project.parent.parent.basedir}</main.basedir> | |
| </properties> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <!-- primary artifact is shaded --> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <createDependencyReducedPom>true</createDependencyReducedPom> | |
| <artifactSet> | |
| <includes> | |
| <include>org.apache.avro:*</include> | |
| </includes> | |
| </artifactSet> | |
| <filters> | |
| <filter> | |
| <artifact>org.apache.avro:avro</artifact> | |
| <includes> | |
| <include>org/apache/avro/**</include> | |
| </includes> | |
| <excludes> | |
| <exclude>org/apache/avro/avro/util/internal/ClassValueUtil**</exclude> | |
| <exclude>org/apache/avro/avro/util/internal/ThreadLocalWithInitial**</exclude> | |
| <exclude>org/apache/avro/reflect/**</exclude> | |
| </excludes> | |
| </filter> | |
| </filters> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.avro</groupId> | |
| <artifactId>avro</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <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.apache.commons</groupId> | |
| <artifactId>commons-compress</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.xerial.snappy</groupId> | |
| <artifactId>snappy-java</artifactId> | |
| <optional>true</optional> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.tukaani</groupId> | |
| <artifactId>xz</artifactId> | |
| <optional>true</optional> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.github.luben</groupId> | |
| <artifactId>zstd-jni</artifactId> | |
| <optional>true</optional> | |
| </dependency> | |
| </dependencies> | |
| </project> |