pom.xml 3.5 KB

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