xref: /aosp_15_r20/external/flatbuffers/pom.xml (revision 890232f25432b36107d06881e0a25aaa6b473652)
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.3</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  </build>
46  <profiles>
47    <profile>
48      <id>jdk9</id>
49      <activation>
50        <jdk>[1.9,)</jdk>
51      </activation>
52      <build>
53        <plugins>
54          <plugin>
55            <artifactId>maven-compiler-plugin</artifactId>
56            <configuration>
57              <release>8</release>
58            </configuration>
59            <version>3.8.1</version>
60          </plugin>
61          <plugin>
62            <artifactId>maven-surefire-plugin</artifactId>
63            <configuration>
64              <includes>
65                <include>**/*Test.java</include>
66              </includes>
67            </configuration>
68            <version>2.22.2</version>
69          </plugin>
70          <plugin>
71            <groupId>org.apache.maven.plugins</groupId>
72            <artifactId>maven-source-plugin</artifactId>
73            <version>3.2.1</version>
74            <executions>
75              <execution>
76                <id>attach-sources</id>
77                <goals>
78                  <goal>jar</goal>
79                </goals>
80              </execution>
81            </executions>
82          </plugin>
83          <plugin>
84            <groupId>org.apache.maven.plugins</groupId>
85            <artifactId>maven-javadoc-plugin</artifactId>
86            <version>3.3.0</version>
87            <configuration>
88              <additionalparam>-Xdoclint:none</additionalparam>
89              <additionalOptions>-Xdoclint:none</additionalOptions>
90            </configuration>
91            <executions>
92              <execution>
93                <id>attach-javadocs</id>
94                <goals>
95                  <goal>jar</goal>
96                </goals>
97              </execution>
98            </executions>
99          </plugin>
100          <plugin>
101            <groupId>org.apache.felix</groupId>
102            <artifactId>maven-bundle-plugin</artifactId>
103            <version>5.1.2</version>
104            <extensions>true</extensions>
105          </plugin>
106          <plugin>
107            <groupId>org.sonatype.plugins</groupId>
108            <artifactId>nexus-staging-maven-plugin</artifactId>
109            <version>1.6.8</version>
110            <extensions>true</extensions>
111            <configuration>
112              <serverId>ossrh</serverId>
113              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
114              <autoReleaseAfterClose>true</autoReleaseAfterClose>
115            </configuration>
116          </plugin>
117          <plugin>
118            <groupId>org.apache.maven.plugins</groupId>
119            <artifactId>maven-gpg-plugin</artifactId>
120            <version>3.0.1</version>
121            <executions>
122              <execution>
123                <id>sign-artifacts</id>
124                <phase>verify</phase>
125                <goals>
126                  <goal>sign</goal>
127                </goals>
128                <configuration>
129                    <gpgArguments>
130                        <arg>--pinentry-mode</arg>
131                        <arg>loopback</arg>
132                    </gpgArguments>
133                </configuration>
134              </execution>
135            </executions>
136          </plugin>
137          <plugin>
138            <groupId>org.apache.maven.plugins</groupId>
139            <artifactId>maven-release-plugin</artifactId>
140            <version>2.5.3</version>
141            <configuration>
142              <autoVersionSubmodules>true</autoVersionSubmodules>
143              <useReleaseProfile>false</useReleaseProfile>
144              <releaseProfiles>release</releaseProfiles>
145              <goals>deploy</goals>
146            </configuration>
147          </plugin>
148        </plugins>
149      </build>
150    </profile>
151  </profiles>
152</project>
153
154