pom.xml 6.8 KB

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