pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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>junit</groupId>
  53. <artifactId>junit</artifactId>
  54. <version>4.12</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.easymock</groupId>
  59. <artifactId>easymock</artifactId>
  60. <version>2.2</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.easymock</groupId>
  65. <artifactId>easymockclassextension</artifactId>
  66. <version>2.2.1</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.google.guava</groupId>
  71. <artifactId>guava</artifactId>
  72. <version>20.0</version>
  73. </dependency>
  74. </dependencies>
  75. </dependencyManagement>
  76. <build>
  77. <pluginManagement>
  78. <plugins>
  79. <plugin>
  80. <artifactId>maven-compiler-plugin</artifactId>
  81. <version>3.6.1</version>
  82. <configuration>
  83. <source>1.7</source>
  84. <target>1.7</target>
  85. </configuration>
  86. </plugin>
  87. <plugin>
  88. <artifactId>maven-source-plugin</artifactId>
  89. <version>2.4</version>
  90. <executions>
  91. <execution>
  92. <id>attach-sources</id>
  93. <goals>
  94. <goal>jar-no-fork</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <plugin>
  100. <artifactId>maven-javadoc-plugin</artifactId>
  101. <version>2.10.3</version>
  102. <executions>
  103. <execution>
  104. <id>attach-javadocs</id>
  105. <goals>
  106. <goal>jar</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <artifactId>maven-jar-plugin</artifactId>
  113. <version>2.6</version>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.codehaus.mojo</groupId>
  117. <artifactId>build-helper-maven-plugin</artifactId>
  118. <version>1.10</version>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.felix</groupId>
  122. <artifactId>maven-bundle-plugin</artifactId>
  123. <version>3.0.1</version>
  124. </plugin>
  125. <plugin>
  126. <artifactId>maven-antrun-plugin</artifactId>
  127. <version>1.8</version>
  128. </plugin>
  129. </plugins>
  130. </pluginManagement>
  131. </build>
  132. <profiles>
  133. <profile>
  134. <id>release</id>
  135. <build>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-source-plugin</artifactId>
  140. <version>2.2.1</version>
  141. <executions>
  142. <execution>
  143. <id>attach-sources</id>
  144. <goals>
  145. <goal>jar-no-fork</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-javadoc-plugin</artifactId>
  153. <version>2.9.1</version>
  154. <executions>
  155. <execution>
  156. <id>attach-javadocs</id>
  157. <goals>
  158. <goal>jar</goal>
  159. </goals>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. <plugin>
  164. <artifactId>maven-gpg-plugin</artifactId>
  165. <version>1.6</version>
  166. <executions>
  167. <execution>
  168. <id>sign-artifacts</id>
  169. <phase>verify</phase>
  170. <goals>
  171. <goal>sign</goal>
  172. </goals>
  173. </execution>
  174. </executions>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.sonatype.plugins</groupId>
  178. <artifactId>nexus-staging-maven-plugin</artifactId>
  179. <version>1.6.6</version>
  180. <extensions>true</extensions>
  181. <configuration>
  182. <serverId>sonatype-nexus-staging</serverId>
  183. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  184. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  185. </configuration>
  186. </plugin>
  187. </plugins>
  188. </build>
  189. </profile>
  190. </profiles>
  191. <modules>
  192. <module>core</module>
  193. <module>util</module>
  194. </modules>
  195. </project>