1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 5 <modelVersion>4.0.0</modelVersion> 6 <groupId>com.google.flatbuffers</groupId> 7 <artifactId>flatbuffers-java</artifactId> 8 <version>1.6.0-SNAPSHOT</version> 9 <packaging>bundle</packaging> 10 <name>FlatBuffers Java API</name> 11 <description> 12 Memory Efficient Serialization Library 13 </description> 14 15 <properties> 16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 17 </properties> 18 19 <url>https://github.com/google/flatbuffers</url> 20 <licenses> 21 <license> 22 <name>Apache License V2.0</name> 23 <url>https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt</url> 24 <distribution>repo</distribution> 25 </license> 26 </licenses> 27 <scm> 28 <url>https://github.com/google/flatbuffers</url> 29 <connection> 30 scm:git:https://github.com/google/flatbuffers.git 31 </connection> 32 </scm> 33 <dependencies> 34 </dependencies> 35 <build> 36 <sourceDirectory>java</sourceDirectory> 37 <plugins> 38 <plugin> 39 <artifactId>maven-compiler-plugin</artifactId> 40 <configuration> 41 <source>1.6</source> 42 <target>1.6</target> 43 </configuration> 44 <version>3.2</version> 45 </plugin> 46 <plugin> 47 <artifactId>maven-surefire-plugin</artifactId> 48 <configuration> 49 <includes> 50 <include>**/*Test.java</include> 51 </includes> 52 </configuration> 53 <version>2.18.1</version> 54 </plugin> 55 <plugin> 56 <groupId>org.apache.maven.plugins</groupId> 57 <artifactId>maven-source-plugin</artifactId> 58 <version>2.3</version> 59 <executions> 60 <execution> 61 <id>attach-sources</id> 62 <goals> 63 <goal>jar</goal> 64 </goals> 65 </execution> 66 </executions> 67 </plugin> 68 <plugin> 69 <groupId>org.apache.maven.plugins</groupId> 70 <artifactId>maven-javadoc-plugin</artifactId> 71 <version>2.9.1</version> 72 <executions> 73 <execution> 74 <id>attach-javadocs</id> 75 <goals> 76 <goal>jar</goal> 77 </goals> 78 </execution> 79 </executions> 80 </plugin> 81 <plugin> 82 <groupId>org.apache.felix</groupId> 83 <artifactId>maven-bundle-plugin</artifactId> 84 <version>3.0.1</version> 85 <extensions>true</extensions> 86 </plugin> 87 </plugins> 88 </build> 89</project> 90 91