• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         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-parent</artifactId>
6    <packaging>pom</packaging>
7    <version>1.10.0</version>
8    <name>flatbuffers-parent</name>
9    <description>parent pom for flatbuffers java artifacts</description>
10    <properties>
11        <scm.url>https://github.com/google/flatbuffers</scm.url>
12        <scm.connection>scm:git:${scm.url}.git</scm.connection>
13        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14    </properties>
15
16    <licenses>
17        <license>
18            <name>The Apache Software License, Version 2.0</name>
19            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
20            <distribution>repo</distribution>
21        </license>
22    </licenses>
23
24    <issueManagement>
25        <system>GitHub</system>
26        <url>https://github.com/google/flatbuffers/issues</url>
27    </issueManagement>
28
29    <developers>
30        <developer>
31            <name>Wouter van Oortmerssen</name>
32        </developer>
33    </developers>
34
35    <url>${scm.url}</url>
36
37    <scm>
38        <connection>${scm.connection}</connection>
39        <developerConnection>${scm.connection}</developerConnection>
40        <url>${scm.url}</url>
41        <tag>HEAD</tag>
42    </scm>
43
44    <distributionManagement>
45        <snapshotRepository>
46            <id>ossrh</id>
47            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
48        </snapshotRepository>
49    </distributionManagement>
50
51    <dependencies>
52        <dependency>
53            <groupId>junit</groupId>
54            <artifactId>junit</artifactId>
55            <version>4.12</version>
56            <scope>test</scope>
57        </dependency>
58
59    </dependencies>
60    <build>
61        <extensions>
62            <extension>
63                <!--
64                    os-maven-plugin is a Maven extension/plugin that generates various useful platform-dependent
65                    project properties normalized from ${os.detected.name} and ${os.detected.arch}.
66                -->
67                <groupId>kr.motd.maven</groupId>
68                <artifactId>os-maven-plugin</artifactId>
69                <version>1.5.0.Final</version>
70            </extension>
71        </extensions>
72        <pluginManagement>
73            <plugins>
74                <plugin>
75                    <artifactId>maven-compiler-plugin</artifactId>
76                    <version>3.6.1</version>
77                </plugin>
78                <plugin>
79                    <artifactId>maven-jar-plugin</artifactId>
80                    <version>3.0.2</version>
81                </plugin>
82                <plugin>
83                    <artifactId>maven-source-plugin</artifactId>
84                    <version>3.0.1</version>
85                </plugin>
86                <plugin>
87                    <artifactId>maven-surefire-plugin</artifactId>
88                    <version>2.19.1</version>
89                </plugin>
90                <plugin>
91                    <artifactId>maven-javadoc-plugin</artifactId>
92                    <version>2.10.4</version>
93                </plugin>
94                <plugin>
95                    <groupId>org.codehaus.mojo</groupId>
96                    <artifactId>build-helper-maven-plugin</artifactId>
97                    <version>1.12</version>
98                </plugin>
99                <plugin>
100                    <artifactId>maven-dependency-plugin</artifactId>
101                    <version>2.8</version>
102                </plugin>
103                <plugin>
104                    <artifactId>maven-deploy-plugin</artifactId>
105                    <version>2.7</version>
106                </plugin>
107                <plugin>
108                    <artifactId>maven-gpg-plugin</artifactId>
109                    <version>1.5</version>
110                </plugin>
111                <plugin>
112                    <artifactId>maven-release-plugin</artifactId>
113                    <version>2.5.3</version>
114                </plugin>
115
116                <plugin>
117                    <groupId>org.codehaus.mojo</groupId>
118                    <artifactId>exec-maven-plugin</artifactId>
119                    <version>1.5.0</version>
120                </plugin>
121            </plugins>
122        </pluginManagement>
123
124        <plugins>
125            <plugin>
126                <artifactId>maven-compiler-plugin</artifactId>
127                <configuration>
128                    <source>1.6</source>
129                    <target>1.6</target>
130                </configuration>
131            </plugin>
132            <plugin>
133                <artifactId>maven-surefire-plugin</artifactId>
134                <configuration>
135                    <includes>
136                        <include>**/*Test.java</include>
137                    </includes>
138                </configuration>
139            </plugin>
140            <plugin>
141                <artifactId>maven-source-plugin</artifactId>
142                <executions>
143                    <execution>
144                        <id>attach-sources</id>
145                        <goals>
146                            <goal>jar</goal>
147                        </goals>
148                    </execution>
149                </executions>
150            </plugin>
151            <plugin>
152                <artifactId>maven-javadoc-plugin</artifactId>
153                <executions>
154                    <execution>
155                        <id>attach-javadocs</id>
156                        <goals>
157                            <goal>jar</goal>
158                        </goals>
159                    </execution>
160                </executions>
161            </plugin>
162            <plugin>
163                <groupId>org.apache.felix</groupId>
164                <artifactId>maven-bundle-plugin</artifactId>
165                <version>3.0.1</version>
166                <extensions>true</extensions>
167            </plugin>
168            <plugin>
169                <groupId>org.sonatype.plugins</groupId>
170                <artifactId>nexus-staging-maven-plugin</artifactId>
171                <version>1.6.7</version>
172                <extensions>true</extensions>
173                <configuration>
174                    <serverId>ossrh</serverId>
175                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
176                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
177                </configuration>
178            </plugin>
179            <plugin>
180                <artifactId>maven-gpg-plugin</artifactId>
181                <executions>
182                    <execution>
183                        <id>sign-artifacts</id>
184                        <phase>verify</phase>
185                        <goals>
186                            <goal>sign</goal>
187                        </goals>
188                    </execution>
189                </executions>
190            </plugin>
191            <plugin>
192                <artifactId>maven-release-plugin</artifactId>
193                <configuration>
194                    <autoVersionSubmodules>true</autoVersionSubmodules>
195                    <useReleaseProfile>false</useReleaseProfile>
196                    <releaseProfiles>release</releaseProfiles>
197                    <goals>deploy</goals>
198                </configuration>
199            </plugin>
200        </plugins>
201    </build>
202
203    <modules>
204<!-- consider the benefits of publishing all maven artifacts in this project
205
206        <module>flatbuffers-compiler</module>
207        <module>flatbuffers-java</module>
208
209-->
210        <module>flatbuffers-java-grpc</module>
211    </modules>
212
213</project>
214