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