avro
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> <version>1.12.0</version> </dependency>
<?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.12.0</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>avro</artifactId> <name>Apache Avro</name> <url>https://avro.apache.org</url> <description>Avro core components</description> <packaging>bundle</packaging> <properties> <main.basedir>${project.parent.parent.basedir}</main.basedir> <osgi.import> !org.apache.avro*, com.fasterxml.jackson*, org.xerial.snappy;resolution:=optional, sun.misc;resolution:=optional, * </osgi.import> <osgi.export>org.apache.avro*;version="${project.version}"</osgi.export> </properties> <build> <resources> <resource> <directory>../../../share/schemas</directory> <includes> <include>org/apache/avro/data/Json.avsc</include> </includes> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> <testResource> <directory>../../../share/</directory> <includes> <include>schemas/**</include> <include>test/**</include> </includes> <targetPath>share/</targetPath> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Automatic-Module-Name>org.apache.avro</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <parallel>none</parallel> </configuration> <executions> <execution> <id>test-with-custom-coders</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <systemPropertyVariables> <org.apache.avro.specific.use_custom_coders>true</org.apache.avro.specific.use_custom_coders> </systemPropertyVariables> </configuration> </execution> <execution> <id>test-with-fast-reader</id> <phase>test</phase> <goals> <goal>test</goal> </goals> <configuration> <systemPropertyVariables> <org.apache.avro.fastread>true</org.apache.avro.fastread> </systemPropertyVariables> </configuration> </execution> </executions> </plugin> <!-- Always run integration tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <failIfNoProjects>true</failIfNoProjects> <!--<debug>true</debug>--> <streamLogsOnFailures>true</streamLogsOnFailures> <projectsDirectory>./src/it</projectsDirectory> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <pomIncludes> <pomInclude>pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <settingsFile>./src/it/settings.xml</settingsFile> <environmentVariables> <!-- Some tests must be disabled when running within the invoker plugin context --> <WithinInvokerPlugin>true</WithinInvokerPlugin> </environmentVariables> <goals> <goal>clean</goal> <goal>test</goal> </goals> </configuration> <executions> <execution> <id>Populate the local repo for integration tests</id> <goals> <goal>install</goal> </goals> </execution> <execution> <id>Run all tests under Java 11</id> <goals> <goal>run</goal> </goals> <configuration> <filterProperties> <integrationTestingJDK>11</integrationTestingJDK> </filterProperties> <properties> <maven.compiler.release>11</maven.compiler.release> </properties> <cloneProjectsTo>${project.build.directory}/it-jdk-11</cloneProjectsTo> </configuration> </execution> <execution> <id>Run all tests under Java 17</id> <goals> <goal>run</goal> </goals> <configuration> <filterProperties> <integrationTestingJDK>17</integrationTestingJDK> </filterProperties> <properties> <maven.compiler.release>17</maven.compiler.release> </properties> <cloneProjectsTo>${project.build.directory}/it-jdk-17</cloneProjectsTo> </configuration> </execution> <execution> <id>Run all tests under Java 21</id> <goals> <goal>run</goal> </goals> <configuration> <filterProperties> <integrationTestingJDK>21</integrationTestingJDK> </filterProperties> <properties> <maven.compiler.release>21</maven.compiler.release> </properties> <cloneProjectsTo>${project.build.directory}/it-jdk-21</cloneProjectsTo> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <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> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> </dependencies> </project>