pom.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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.19.4</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.2</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.easymock</groupId>
  74. <artifactId>easymock</artifactId>
  75. <version>3.2</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.google.guava</groupId>
  80. <artifactId>guava</artifactId>
  81. <version>30.1.1-android</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.google.guava</groupId>
  85. <artifactId>guava-testlib</artifactId>
  86. <version>30.1.1-android</version>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.google.truth</groupId>
  91. <artifactId>truth</artifactId>
  92. <version>1.1.2</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. <configuration>
  130. <failOnError>false</failOnError>
  131. </configuration>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-jar-plugin</artifactId>
  137. <version>2.6</version>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.codehaus.mojo</groupId>
  141. <artifactId>build-helper-maven-plugin</artifactId>
  142. <version>1.10</version>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.felix</groupId>
  146. <artifactId>maven-bundle-plugin</artifactId>
  147. <version>3.0.1</version>
  148. </plugin>
  149. <plugin>
  150. <artifactId>maven-antrun-plugin</artifactId>
  151. <version>3.0.0</version>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.codehaus.mojo</groupId>
  155. <artifactId>animal-sniffer-maven-plugin</artifactId>
  156. <version>1.20</version>
  157. <configuration>
  158. <signature>
  159. <groupId>net.sf.androidscents.signature</groupId>
  160. <artifactId>android-api-level-14</artifactId>
  161. <version>4.0_r4</version>
  162. </signature>
  163. </configuration>
  164. <executions>
  165. <execution>
  166. <id>android</id>
  167. <phase>test</phase>
  168. <goals>
  169. <goal>check</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. </plugins>
  175. </pluginManagement>
  176. </build>
  177. <profiles>
  178. <profile>
  179. <id>release</id>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-source-plugin</artifactId>
  185. <version>2.2.1</version>
  186. <executions>
  187. <execution>
  188. <id>attach-sources</id>
  189. <goals>
  190. <goal>jar-no-fork</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-javadoc-plugin</artifactId>
  198. <version>2.10.3</version>
  199. <executions>
  200. <execution>
  201. <id>attach-javadocs</id>
  202. <goals>
  203. <goal>jar</goal>
  204. </goals>
  205. <configuration>
  206. <failOnError>false</failOnError>
  207. </configuration>
  208. </execution>
  209. </executions>
  210. </plugin>
  211. <plugin>
  212. <artifactId>maven-gpg-plugin</artifactId>
  213. <version>1.6</version>
  214. <executions>
  215. <execution>
  216. <id>sign-artifacts</id>
  217. <phase>verify</phase>
  218. <goals>
  219. <goal>sign</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.sonatype.plugins</groupId>
  226. <artifactId>nexus-staging-maven-plugin</artifactId>
  227. <version>1.6.6</version>
  228. <extensions>true</extensions>
  229. <configuration>
  230. <serverId>sonatype-nexus-staging</serverId>
  231. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  232. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  233. </configuration>
  234. </plugin>
  235. <plugin>
  236. <groupId>org.jetbrains.dokka</groupId>
  237. <artifactId>dokka-maven-plugin</artifactId>
  238. <version>1.4.32</version>
  239. <executions>
  240. <execution>
  241. <phase>prepare-package</phase>
  242. <goals>
  243. <goal>javadocJar</goal>
  244. </goals>
  245. </execution>
  246. </executions>
  247. </plugin>
  248. </plugins>
  249. </build>
  250. </profile>
  251. </profiles>
  252. <modules>
  253. <module>bom</module>
  254. <module>lite</module>
  255. <module>core</module>
  256. <module>util</module>
  257. <module>kotlin</module>
  258. <module>kotlin-lite</module>
  259. </modules>
  260. </project>