pom.xml 7.1 KB

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