pom.xml 6.4 KB

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