pom.xml 6.8 KB

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