blob: 34f154ad72d01936e70a8db316ba7d48b102f34e [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001<?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>
Austin Schuh2dd86a92022-09-14 21:19:23 -07006 <version>2.0.8</version>
Austin Schuhe89fa2d2019-08-14 20:24:23 -07007 <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>
Austin Schuh2dd86a92022-09-14 21:19:23 -070016 <developer>
17 <name>Derek Bailey</name>
18 <email>dbaileychess@gmail.com</email>
19 </developer>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070020 </developers>
21 <properties>
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23 </properties>
24 <url>https://github.com/google/flatbuffers</url>
25 <licenses>
26 <license>
27 <name>Apache License V2.0</name>
28 <url>https://raw.githubusercontent.com/google/flatbuffers/master/LICENSE.txt</url>
29 <distribution>repo</distribution>
30 </license>
31 </licenses>
32 <scm>
33 <url>https://github.com/google/flatbuffers</url>
34 <connection>
35 scm:git:https://github.com/google/flatbuffers.git
36 </connection>
37 <tag>HEAD</tag>
38 </scm>
39 <dependencies>
Austin Schuh2dd86a92022-09-14 21:19:23 -070040 <dependency>
41 <groupId>junit</groupId>
42 <artifactId>junit</artifactId>
43 <version>4.13.1</version>
44 <scope>test</scope>
45 </dependency>
46 <dependency>
47 <groupId>com.google.truth</groupId>
48 <artifactId>truth</artifactId>
49 <version>1.1.3</version>
50 <scope>test</scope>
51 </dependency>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070052 </dependencies>
53 <distributionManagement>
54 <snapshotRepository>
55 <id>ossrh</id>
56 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
57 </snapshotRepository>
58 </distributionManagement>
59 <build>
Austin Schuh2dd86a92022-09-14 21:19:23 -070060 <plugins>
61 <plugin>
62 <artifactId>maven-compiler-plugin</artifactId>
63 <configuration>
64 <release>8</release>
65 <testExcludes>
66 <testExclude>**/LongEnum.java</testExclude>
67 <testExclude>MyGame/Example/MonsterStorageGrpc.java</testExclude>
68 <testExclude>MyGame/Example/StructOfStructs**</testExclude>
69 <testExclude>MyGame/OtherNameSpace/TableBT.java</testExclude>
70 </testExcludes>
71 </configuration>
72 <version>3.8.1</version>
73 </plugin>
74 </plugins>
Austin Schuhe89fa2d2019-08-14 20:24:23 -070075 </build>
James Kuszmaul8e62b022022-03-22 09:33:25 -070076 <profiles>
77 <profile>
78 <id>jdk9</id>
79 <activation>
80 <jdk>[1.9,)</jdk>
81 </activation>
82 <build>
83 <plugins>
84 <plugin>
James Kuszmaul8e62b022022-03-22 09:33:25 -070085 <artifactId>maven-surefire-plugin</artifactId>
86 <configuration>
87 <includes>
88 <include>**/*Test.java</include>
89 </includes>
90 </configuration>
91 <version>2.22.2</version>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-source-plugin</artifactId>
96 <version>3.2.1</version>
97 <executions>
98 <execution>
99 <id>attach-sources</id>
100 <goals>
101 <goal>jar</goal>
102 </goals>
103 </execution>
104 </executions>
105 </plugin>
106 <plugin>
107 <groupId>org.apache.maven.plugins</groupId>
108 <artifactId>maven-javadoc-plugin</artifactId>
109 <version>3.3.0</version>
110 <configuration>
111 <additionalparam>-Xdoclint:none</additionalparam>
112 <additionalOptions>-Xdoclint:none</additionalOptions>
113 </configuration>
114 <executions>
115 <execution>
116 <id>attach-javadocs</id>
117 <goals>
118 <goal>jar</goal>
119 </goals>
120 </execution>
121 </executions>
122 </plugin>
123 <plugin>
124 <groupId>org.apache.felix</groupId>
125 <artifactId>maven-bundle-plugin</artifactId>
126 <version>5.1.2</version>
127 <extensions>true</extensions>
128 </plugin>
129 <plugin>
130 <groupId>org.sonatype.plugins</groupId>
131 <artifactId>nexus-staging-maven-plugin</artifactId>
132 <version>1.6.8</version>
133 <extensions>true</extensions>
134 <configuration>
135 <serverId>ossrh</serverId>
136 <nexusUrl>https://oss.sonatype.org/</nexusUrl>
137 <autoReleaseAfterClose>true</autoReleaseAfterClose>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-gpg-plugin</artifactId>
143 <version>3.0.1</version>
144 <executions>
145 <execution>
146 <id>sign-artifacts</id>
147 <phase>verify</phase>
148 <goals>
149 <goal>sign</goal>
150 </goals>
151 <configuration>
152 <gpgArguments>
153 <arg>--pinentry-mode</arg>
154 <arg>loopback</arg>
155 </gpgArguments>
156 </configuration>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-release-plugin</artifactId>
163 <version>2.5.3</version>
164 <configuration>
165 <autoVersionSubmodules>true</autoVersionSubmodules>
166 <useReleaseProfile>false</useReleaseProfile>
167 <releaseProfiles>release</releaseProfiles>
168 <goals>deploy</goals>
169 </configuration>
170 </plugin>
171 </plugins>
172 </build>
173 </profile>
174 </profiles>
Austin Schuhe89fa2d2019-08-14 20:24:23 -0700175</project>
176