pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. <generated.sources.lite.dir>${project.build.directory}/generated-sources-lite</generated.sources.lite.dir>
  33. <generated.testsources.lite.dir>${project.build.directory}/generated-test-sources-lite</generated.testsources.lite.dir>
  34. </properties>
  35. <licenses>
  36. <license>
  37. <name>3-Clause BSD License</name>
  38. <url>https://opensource.org/licenses/BSD-3-Clause</url>
  39. <distribution>repo</distribution>
  40. </license>
  41. </licenses>
  42. <scm>
  43. <url>https://github.com/google/protobuf</url>
  44. <connection>scm:git:https://github.com/google/protobuf.git</connection>
  45. </scm>
  46. <distributionManagement>
  47. <snapshotRepository>
  48. <id>sonatype-nexus-staging</id>
  49. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  50. </snapshotRepository>
  51. <repository>
  52. <id>sonatype-nexus-staging</id>
  53. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  54. </repository>
  55. </distributionManagement>
  56. <dependencyManagement>
  57. <dependencies>
  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>19.0</version>
  80. </dependency>
  81. </dependencies>
  82. </dependencyManagement>
  83. <build>
  84. <pluginManagement>
  85. <plugins>
  86. <plugin>
  87. <artifactId>maven-compiler-plugin</artifactId>
  88. <version>3.6.0</version>
  89. <configuration>
  90. <source>1.6</source>
  91. <target>1.6</target>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <artifactId>maven-source-plugin</artifactId>
  96. <version>2.4</version>
  97. <executions>
  98. <execution>
  99. <id>attach-sources</id>
  100. <goals>
  101. <goal>jar-no-fork</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <plugin>
  107. <artifactId>maven-javadoc-plugin</artifactId>
  108. <version>2.10.3</version>
  109. <executions>
  110. <execution>
  111. <id>attach-javadocs</id>
  112. <goals>
  113. <goal>jar</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-jar-plugin</artifactId>
  120. <version>2.6</version>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.codehaus.mojo</groupId>
  124. <artifactId>build-helper-maven-plugin</artifactId>
  125. <version>1.10</version>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.felix</groupId>
  129. <artifactId>maven-bundle-plugin</artifactId>
  130. <version>3.0.1</version>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-antrun-plugin</artifactId>
  134. <version>1.8</version>
  135. </plugin>
  136. </plugins>
  137. </pluginManagement>
  138. </build>
  139. <profiles>
  140. <profile>
  141. <id>release</id>
  142. <build>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-source-plugin</artifactId>
  147. <version>2.2.1</version>
  148. <executions>
  149. <execution>
  150. <id>attach-sources</id>
  151. <goals>
  152. <goal>jar-no-fork</goal>
  153. </goals>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-javadoc-plugin</artifactId>
  160. <version>2.9.1</version>
  161. <executions>
  162. <execution>
  163. <id>attach-javadocs</id>
  164. <goals>
  165. <goal>jar</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <artifactId>maven-gpg-plugin</artifactId>
  172. <version>1.6</version>
  173. <executions>
  174. <execution>
  175. <id>sign-artifacts</id>
  176. <phase>verify</phase>
  177. <goals>
  178. <goal>sign</goal>
  179. </goals>
  180. </execution>
  181. </executions>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.sonatype.plugins</groupId>
  185. <artifactId>nexus-staging-maven-plugin</artifactId>
  186. <version>1.6.6</version>
  187. <extensions>true</extensions>
  188. <configuration>
  189. <serverId>sonatype-nexus-staging</serverId>
  190. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  191. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. </build>
  196. </profile>
  197. </profiles>
  198. <modules>
  199. <module>core</module>
  200. <!-- <module>lite</module> -->
  201. <module>util</module>
  202. </modules>
  203. </project>