• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5  <groupId>com.google.protobuf</groupId>
6  <artifactId>protobuf-parent</artifactId>
7  <version>3.9.1</version>
8  <packaging>pom</packaging>
9
10  <name>Protocol Buffers [Parent]</name>
11  <inceptionYear>2008</inceptionYear>
12  <url>https://developers.google.com/protocol-buffers/</url>
13  <description>
14    Protocol Buffers are a way of encoding structured data in an efficient yet
15    extensible format.
16  </description>
17
18  <developers>
19    <developer>
20      <id>haon</id>
21      <name>Hao Nguyen</name>
22      <email>haon@google.com</email>
23      <organization>Google</organization>
24      <organizationUrl>https://cloud.google.com</organizationUrl>
25      <timezone>America/Los_Angeles</timezone>
26    </developer>
27  </developers>
28
29  <properties>
30    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
32
33    <!-- These are relative to the submodules -->
34    <protobuf.basedir>${project.basedir}/../..</protobuf.basedir>
35    <protobuf.source.dir>${protobuf.basedir}/src</protobuf.source.dir>
36    <protoc>${protobuf.source.dir}/protoc</protoc>
37    <test.proto.dir>src/test/proto</test.proto.dir>
38    <generated.sources.dir>${project.build.directory}/generated-sources</generated.sources.dir>
39    <generated.testsources.dir>${project.build.directory}/generated-test-sources</generated.testsources.dir>
40  </properties>
41
42  <licenses>
43    <license>
44      <name>3-Clause BSD License</name>
45      <url>https://opensource.org/licenses/BSD-3-Clause</url>
46      <distribution>repo</distribution>
47    </license>
48  </licenses>
49
50  <scm>
51    <url>https://github.com/protocolbuffers/protobuf</url>
52    <connection>scm:git:https://github.com/protocolbuffers/protobuf.git</connection>
53  </scm>
54
55  <distributionManagement>
56    <snapshotRepository>
57      <id>sonatype-nexus-staging</id>
58      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
59    </snapshotRepository>
60    <repository>
61      <id>sonatype-nexus-staging</id>
62      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
63    </repository>
64  </distributionManagement>
65
66  <dependencyManagement>
67    <dependencies>
68      <dependency>
69        <groupId>com.google.protobuf</groupId>
70        <artifactId>protobuf-bom</artifactId>
71        <version>${project.version}</version>
72        <type>pom</type>
73        <scope>import</scope>
74      </dependency>
75      <dependency>
76        <groupId>junit</groupId>
77        <artifactId>junit</artifactId>
78        <version>4.12</version>
79        <scope>test</scope>
80      </dependency>
81      <dependency>
82        <groupId>org.easymock</groupId>
83        <artifactId>easymock</artifactId>
84        <version>2.2</version>
85        <scope>test</scope>
86      </dependency>
87      <dependency>
88        <groupId>org.easymock</groupId>
89        <artifactId>easymockclassextension</artifactId>
90        <version>2.2.1</version>
91        <scope>test</scope>
92      </dependency>
93      <dependency>
94        <groupId>com.google.guava</groupId>
95        <artifactId>guava</artifactId>
96        <version>26.0-android</version>
97      </dependency>
98      <dependency>
99        <groupId>com.google.guava</groupId>
100        <artifactId>guava-testlib</artifactId>
101        <version>26.0-jre</version>
102        <scope>test</scope>
103      </dependency>
104      <dependency>
105        <groupId>com.google.truth</groupId>
106        <artifactId>truth</artifactId>
107        <version>0.45</version>
108        <scope>test</scope>
109      </dependency>
110    </dependencies>
111  </dependencyManagement>
112
113  <build>
114    <pluginManagement>
115      <plugins>
116        <plugin>
117          <artifactId>maven-compiler-plugin</artifactId>
118          <version>3.6.1</version>
119          <configuration>
120            <source>1.7</source>
121            <target>1.7</target>
122          </configuration>
123        </plugin>
124        <plugin>
125          <artifactId>maven-source-plugin</artifactId>
126          <version>2.4</version>
127          <executions>
128            <execution>
129              <id>attach-sources</id>
130              <goals>
131                <goal>jar-no-fork</goal>
132              </goals>
133            </execution>
134          </executions>
135        </plugin>
136        <plugin>
137          <artifactId>maven-javadoc-plugin</artifactId>
138          <version>2.10.3</version>
139          <executions>
140            <execution>
141              <id>attach-javadocs</id>
142              <goals>
143                <goal>jar</goal>
144              </goals>
145              <configuration>
146                <failOnError>false</failOnError>
147              </configuration>
148            </execution>
149          </executions>
150        </plugin>
151        <plugin>
152          <artifactId>maven-jar-plugin</artifactId>
153          <version>2.6</version>
154        </plugin>
155        <plugin>
156          <groupId>org.codehaus.mojo</groupId>
157          <artifactId>build-helper-maven-plugin</artifactId>
158          <version>1.10</version>
159        </plugin>
160        <plugin>
161          <groupId>org.apache.felix</groupId>
162          <artifactId>maven-bundle-plugin</artifactId>
163          <version>3.0.1</version>
164        </plugin>
165        <plugin>
166          <artifactId>maven-antrun-plugin</artifactId>
167          <version>1.8</version>
168        </plugin>
169      </plugins>
170    </pluginManagement>
171  </build>
172
173  <profiles>
174    <profile>
175      <id>release</id>
176      <build>
177        <plugins>
178          <plugin>
179            <groupId>org.apache.maven.plugins</groupId>
180            <artifactId>maven-source-plugin</artifactId>
181            <version>2.2.1</version>
182            <executions>
183              <execution>
184                <id>attach-sources</id>
185                <goals>
186                  <goal>jar-no-fork</goal>
187                </goals>
188              </execution>
189            </executions>
190          </plugin>
191          <plugin>
192            <groupId>org.apache.maven.plugins</groupId>
193            <artifactId>maven-javadoc-plugin</artifactId>
194            <version>2.10.3</version>
195            <executions>
196              <execution>
197                <id>attach-javadocs</id>
198                <goals>
199                  <goal>jar</goal>
200                </goals>
201                <configuration>
202                  <failOnError>false</failOnError>
203                </configuration>
204              </execution>
205            </executions>
206          </plugin>
207          <plugin>
208            <artifactId>maven-gpg-plugin</artifactId>
209            <version>1.6</version>
210            <executions>
211              <execution>
212                <id>sign-artifacts</id>
213                <phase>verify</phase>
214                <goals>
215                  <goal>sign</goal>
216                </goals>
217              </execution>
218            </executions>
219          </plugin>
220          <plugin>
221            <groupId>org.sonatype.plugins</groupId>
222            <artifactId>nexus-staging-maven-plugin</artifactId>
223            <version>1.6.6</version>
224            <extensions>true</extensions>
225            <configuration>
226              <serverId>sonatype-nexus-staging</serverId>
227              <nexusUrl>https://oss.sonatype.org/</nexusUrl>
228              <autoReleaseAfterClose>false</autoReleaseAfterClose>
229            </configuration>
230          </plugin>
231        </plugins>
232      </build>
233    </profile>
234  </profiles>
235
236  <modules>
237    <module>bom</module>
238    <module>lite</module>
239    <module>core</module>
240    <module>util</module>
241  </modules>
242
243</project>
244