1<?xml version="1.0" encoding="UTF-8"?> 2<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/maven-v4_0_0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>com.google.flatbuffers</groupId> 5 <artifactId>flatbuffers-java</artifactId> 6 <version>2.0.0</version> 7 <packaging>bundle</packaging> 8 <name>FlatBuffers Java API</name> 9 <description> 10 Memory Efficient Serialization Library 11 </description> 12 <developers> 13 <developer> 14 <name>Wouter van Oortmerssen</name> 15 </developer> 16 </developers> 17 <properties> 18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 19 </properties> 20 <url>https://github.com/google/flatbuffers</url> 21 <licenses> 22 <license> 23 <name>Apache License V2.0</name> 24 <url>https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt</url> 25 <distribution>repo</distribution> 26 </license> 27 </licenses> 28 <scm> 29 <url>https://github.com/google/flatbuffers</url> 30 <connection> 31 scm:git:https://github.com/google/flatbuffers.git 32 </connection> 33 <tag>HEAD</tag> 34 </scm> 35 <dependencies> 36 </dependencies> 37 <distributionManagement> 38 <snapshotRepository> 39 <id>ossrh</id> 40 <url>https://oss.sonatype.org/content/repositories/snapshots</url> 41 </snapshotRepository> 42 </distributionManagement> 43 <build> 44 <sourceDirectory>java</sourceDirectory> 45 <plugins> 46 <plugin> 47 <artifactId>maven-compiler-plugin</artifactId> 48 <configuration> 49 <source>1.8</source> 50 <target>1.8</target> 51 </configuration> 52 <version>3.2</version> 53 </plugin> 54 <plugin> 55 <artifactId>maven-surefire-plugin</artifactId> 56 <configuration> 57 <includes> 58 <include>**/*Test.java</include> 59 </includes> 60 </configuration> 61 <version>2.18.1</version> 62 </plugin> 63 <plugin> 64 <groupId>org.apache.maven.plugins</groupId> 65 <artifactId>maven-source-plugin</artifactId> 66 <version>2.3</version> 67 <executions> 68 <execution> 69 <id>attach-sources</id> 70 <goals> 71 <goal>jar</goal> 72 </goals> 73 </execution> 74 </executions> 75 </plugin> 76 <plugin> 77 <groupId>org.apache.maven.plugins</groupId> 78 <artifactId>maven-javadoc-plugin</artifactId> 79 <version>2.9.1</version> 80 <configuration> 81 <additionalparam>-Xdoclint:none</additionalparam> 82 <additionalOptions>-Xdoclint:none</additionalOptions> 83 </configuration> 84 <executions> 85 <execution> 86 <id>attach-javadocs</id> 87 <goals> 88 <goal>jar</goal> 89 </goals> 90 </execution> 91 </executions> 92 </plugin> 93 <plugin> 94 <groupId>org.apache.felix</groupId> 95 <artifactId>maven-bundle-plugin</artifactId> 96 <version>3.0.1</version> 97 <extensions>true</extensions> 98 </plugin> 99 <plugin> 100 <groupId>org.sonatype.plugins</groupId> 101 <artifactId>nexus-staging-maven-plugin</artifactId> 102 <version>1.6.7</version> 103 <extensions>true</extensions> 104 <configuration> 105 <serverId>ossrh</serverId> 106 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 107 <autoReleaseAfterClose>true</autoReleaseAfterClose> 108 </configuration> 109 </plugin> 110 <plugin> 111 <groupId>org.apache.maven.plugins</groupId> 112 <artifactId>maven-gpg-plugin</artifactId> 113 <version>1.6</version> 114 <executions> 115 <execution> 116 <id>sign-artifacts</id> 117 <phase>verify</phase> 118 <goals> 119 <goal>sign</goal> 120 </goals> 121 <configuration> 122 <gpgArguments> 123 <arg>--pinentry-mode</arg> 124 <arg>loopback</arg> 125 </gpgArguments> 126 </configuration> 127 </execution> 128 </executions> 129 </plugin> 130 <plugin> 131 <groupId>org.apache.maven.plugins</groupId> 132 <artifactId>maven-release-plugin</artifactId> 133 <version>2.5.3</version> 134 <configuration> 135 <autoVersionSubmodules>true</autoVersionSubmodules> 136 <useReleaseProfile>false</useReleaseProfile> 137 <releaseProfiles>release</releaseProfiles> 138 <goals>deploy</goals> 139 </configuration> 140 </plugin> 141 </plugins> 142 </build> 143</project> 144 145