pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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>4.0.0-rc-2</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.13</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>29.0-android</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.google.guava</groupId>
  91. <artifactId>guava-testlib</artifactId>
  92. <version>29.0-android</version>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.truth</groupId>
  97. <artifactId>truth</artifactId>
  98. <version>1.0.1</version>
  99. <scope>test</scope>
  100. </dependency>
  101. </dependencies>
  102. </dependencyManagement>
  103. <build>
  104. <pluginManagement>
  105. <plugins>
  106. <plugin>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <version>3.6.1</version>
  109. <configuration>
  110. <source>1.7</source>
  111. <target>1.7</target>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-source-plugin</artifactId>
  116. <version>2.4</version>
  117. <executions>
  118. <execution>
  119. <id>attach-sources</id>
  120. <goals>
  121. <goal>jar-no-fork</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <artifactId>maven-javadoc-plugin</artifactId>
  128. <version>2.10.3</version>
  129. <executions>
  130. <execution>
  131. <id>attach-javadocs</id>
  132. <goals>
  133. <goal>jar</goal>
  134. </goals>
  135. <configuration>
  136. <failOnError>false</failOnError>
  137. </configuration>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-jar-plugin</artifactId>
  143. <version>2.6</version>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.codehaus.mojo</groupId>
  147. <artifactId>build-helper-maven-plugin</artifactId>
  148. <version>1.10</version>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.felix</groupId>
  152. <artifactId>maven-bundle-plugin</artifactId>
  153. <version>3.0.1</version>
  154. </plugin>
  155. <plugin>
  156. <artifactId>maven-antrun-plugin</artifactId>
  157. <version>1.8</version>
  158. </plugin>
  159. </plugins>
  160. </pluginManagement>
  161. </build>
  162. <profiles>
  163. <profile>
  164. <id>release</id>
  165. <build>
  166. <plugins>
  167. <plugin>
  168. <groupId>org.apache.maven.plugins</groupId>
  169. <artifactId>maven-source-plugin</artifactId>
  170. <version>2.2.1</version>
  171. <executions>
  172. <execution>
  173. <id>attach-sources</id>
  174. <goals>
  175. <goal>jar-no-fork</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-javadoc-plugin</artifactId>
  183. <version>2.10.3</version>
  184. <executions>
  185. <execution>
  186. <id>attach-javadocs</id>
  187. <goals>
  188. <goal>jar</goal>
  189. </goals>
  190. <configuration>
  191. <failOnError>false</failOnError>
  192. </configuration>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <artifactId>maven-gpg-plugin</artifactId>
  198. <version>1.6</version>
  199. <executions>
  200. <execution>
  201. <id>sign-artifacts</id>
  202. <phase>verify</phase>
  203. <goals>
  204. <goal>sign</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.sonatype.plugins</groupId>
  211. <artifactId>nexus-staging-maven-plugin</artifactId>
  212. <version>1.6.6</version>
  213. <extensions>true</extensions>
  214. <configuration>
  215. <serverId>sonatype-nexus-staging</serverId>
  216. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  217. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  218. </configuration>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. </profile>
  223. </profiles>
  224. <modules>
  225. <module>bom</module>
  226. <module>lite</module>
  227. <module>core</module>
  228. <module>util</module>
  229. </modules>
  230. </project>