pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>com.google.protobuf</groupId>
  8. <artifactId>protobuf-bom</artifactId>
  9. <version>3.7.0</version>
  10. <packaging>pom</packaging>
  11. <name>Protocol Buffers [BOM]</name>
  12. <description>A compatible set of open source libraries for working with protocol buffers.</description>
  13. <url>https://developers.google.com/protocol-buffers/</url>
  14. <organization>
  15. <name>Google LLC</name>
  16. <url>https://cloud.google.com</url>
  17. </organization>
  18. <developers>
  19. <developer>
  20. <id>haon</id>
  21. <name>Hao Nguyen</name>
  22. <email>haon@google.com</email>
  23. <organization>Google</organization>
  24. <organizationUrl>https://cloud.google.com</organizationUrl>
  25. <timezone>America/Los_Angeles</timezone>
  26. </developer>
  27. </developers>
  28. <licenses>
  29. <license>
  30. <name>The Apache License, Version 2.0</name>
  31. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  32. </license>
  33. </licenses>
  34. <scm>
  35. <url>https://github.com/protocolbuffers/protobuf</url>
  36. <connection>scm:git:https://github.com/protocolbuffers/protobuf.git</connection>
  37. </scm>
  38. <properties>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. </properties>
  41. <distributionManagement>
  42. <snapshotRepository>
  43. <id>sonatype-nexus-staging</id>
  44. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  45. </snapshotRepository>
  46. <repository>
  47. <id>sonatype-nexus-staging</id>
  48. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  49. </repository>
  50. </distributionManagement>
  51. <dependencyManagement>
  52. <dependencies>
  53. <dependency>
  54. <groupId>com.google.protobuf</groupId>
  55. <artifactId>protobuf-java</artifactId>
  56. <version>${project.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.protobuf</groupId>
  60. <artifactId>protobuf-java-util</artifactId>
  61. <version>${project.version}</version>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. <profiles>
  66. <profile>
  67. <!-- If you see the error message
  68. gpg: signing failed: Inappropriate ioctl for device
  69. when signing run the command
  70. export GPG_TTY=$(tty)
  71. and try again. -->
  72. <id>release</id>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <artifactId>maven-gpg-plugin</artifactId>
  77. <version>1.6</version>
  78. <executions>
  79. <execution>
  80. <id>sign-artifacts</id>
  81. <phase>verify</phase>
  82. <goals>
  83. <goal>sign</goal>
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.sonatype.plugins</groupId>
  90. <artifactId>nexus-staging-maven-plugin</artifactId>
  91. <version>1.6.6</version>
  92. <extensions>true</extensions>
  93. <configuration>
  94. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  95. <serverId>sonatype-nexus-staging</serverId>
  96. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  97. </configuration>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </profile>
  102. </profiles>
  103. </project>