...
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>23.5.26</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 <developer>
17 <name>Derek Bailey</name>
18 <email>dbaileychess@gmail.com</email>
19 </developer>
20 </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</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>
40 <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>
52 </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>
60 <plugins>
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 <profiles>
151 <profile>
152 <id>jdk9</id>
153 <activation>
154 <jdk>[1.9,)</jdk>
155 </activation>
156 <build>
157 <plugins>
158 <plugin>
159 <artifactId>maven-compiler-plugin</artifactId>
160 <configuration>
161 <release>8</release>
162 <testExcludes>
163 <testExclude>MyGame/Example/MonsterStorageGrpc.java</testExclude>
164 <testExclude>MyGame/OtherNameSpace/TableBT.java</testExclude>
165 </testExcludes>
166 </configuration>
167 <version>3.8.1</version>
168 </plugin>
169 </plugins>
170 </build>
171 </profile>
172 <profile>
173 <id>jdk8</id>
174 <activation>
175 <jdk>1.8</jdk>
176 </activation>
177 <properties>
178 <maven.compiler.target>8</maven.compiler.target>
179 <maven.compiler.source>8</maven.compiler.source>
180 </properties>
181 <build>
182 <plugins>
183 <plugin>
184 <artifactId>maven-compiler-plugin</artifactId>
185 <configuration>
186 <testExcludes>
187 <testExclude>MyGame/Example/MonsterStorageGrpc.java</testExclude>
188 <testExclude>MyGame/OtherNameSpace/TableBT.java</testExclude>
189 </testExcludes>
190 </configuration>
191 <version>3.8.1</version>
192 </plugin>
193 </plugins>
194 </build>
195 </profile>
196 </profiles>
197</project>
View as plain text