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.8.0</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.6</source> 51 <target>1.6</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 <executions> 82 <execution> 83 <id>attach-javadocs</id> 84 <goals> 85 <goal>jar</goal> 86 </goals> 87 </execution> 88 </executions> 89 </plugin> 90 <plugin> 91 <groupId>org.apache.felix</groupId> 92 <artifactId>maven-bundle-plugin</artifactId> 93 <version>3.0.1</version> 94 <extensions>true</extensions> 95 </plugin> 96 <plugin> 97 <groupId>org.sonatype.plugins</groupId> 98 <artifactId>nexus-staging-maven-plugin</artifactId> 99 <version>1.6.7</version> 100 <extensions>true</extensions> 101 <configuration> 102 <serverId>ossrh</serverId> 103 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 104 <autoReleaseAfterClose>true</autoReleaseAfterClose> 105 </configuration> 106 </plugin> 107 <plugin> 108 <groupId>org.apache.maven.plugins</groupId> 109 <artifactId>maven-gpg-plugin</artifactId> 110 <version>1.5</version> 111 <executions> 112 <execution> 113 <id>sign-artifacts</id> 114 <phase>verify</phase> 115 <goals> 116 <goal>sign</goal> 117 </goals> 118 </execution> 119 </executions> 120 </plugin> 121 <plugin> 122 <groupId>org.apache.maven.plugins</groupId> 123 <artifactId>maven-release-plugin</artifactId> 124 <version>2.5.3</version> 125 <configuration> 126 <autoVersionSubmodules>true</autoVersionSubmodules> 127 <useReleaseProfile>false</useReleaseProfile> 128 <releaseProfiles>release</releaseProfiles> 129 <goals>deploy</goals> 130 </configuration> 131 </plugin> 132 </plugins> 133 </build> 134</project> 135 136