| <?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 |
| 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.7.6</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <artifactId>avro-ipc</artifactId> |
| |
| <name>Apache Avro IPC</name> |
| <url>http://avro.apache.org</url> |
| <description>Avro inter-process communication components</description> |
| <packaging>bundle</packaging> |
| |
| <properties> |
| <osgi.import> |
| !org.apache.avro.ipc*, |
| org.apache.avro*;version="${project.version}", |
| org.jboss.netty*, |
| javax.servlet*;resolution:=optional, |
| org.mortbay*;resolution:=optional, |
| org.apache.velocity*;resolution:=optional, |
| * |
| </osgi.import> |
| <osgi.export>org.apache.avro.ipc*;version="${project.version}"</osgi.export> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/velocity</directory> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>avro-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| <executions> |
| <execution> |
| <id>schemas</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>schema</goal> |
| <goal>protocol</goal> |
| <goal>idl-protocol</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>**/mapred/tether/**</exclude> |
| <exclude>org/apache/avro/data/Json.avsc</exclude> |
| </excludes> |
| <stringType>String</stringType> |
| <sourceDirectory>${parent.project.basedir}/../../../../share/schemas/</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory> |
| <testSourceDirectory>${parent.project.basedir}/../../../../share/test/schemas/</testSourceDirectory> |
| <testOutputDirectory>${project.build.directory}/generated-test-sources/java</testOutputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>avro</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>avro</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>avro-compiler</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.velocity</groupId> |
| <artifactId>velocity</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>${jetty-servlet-api.version}</version> |
| </dependency> |
| |
| </dependencies> |
| |
| </project> |
| |