pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.6.1</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. <licenses>
  19. <license>
  20. <name>The Apache License, Version 2.0</name>
  21. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  22. </license>
  23. </licenses>
  24. <properties>
  25. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  26. </properties>
  27. <distributionManagement>
  28. <snapshotRepository>
  29. <id>sonatype-nexus-staging</id>
  30. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  31. </snapshotRepository>
  32. <repository>
  33. <id>sonatype-nexus-staging</id>
  34. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  35. </repository>
  36. </distributionManagement>
  37. <dependencyManagement>
  38. <dependencies>
  39. <dependency>
  40. <groupId>com.google.protobuf</groupId>
  41. <artifactId>protobuf-java</artifactId>
  42. <version>${project.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.google.protobuf</groupId>
  46. <artifactId>protobuf-java-util</artifactId>
  47. <version>${project.version}</version>
  48. </dependency>
  49. </dependencies>
  50. </dependencyManagement>
  51. <profiles>
  52. <profile>
  53. <!-- If you see the error message
  54. gpg: signing failed: Inappropriate ioctl for device
  55. when signing run the command
  56. export GPG_TTY=$(tty)
  57. and try again. -->
  58. <id>release</id>
  59. <build>
  60. <plugins>
  61. <plugin>
  62. <artifactId>maven-gpg-plugin</artifactId>
  63. <version>1.6</version>
  64. <executions>
  65. <execution>
  66. <id>sign-artifacts</id>
  67. <phase>verify</phase>
  68. <goals>
  69. <goal>sign</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.sonatype.plugins</groupId>
  76. <artifactId>nexus-staging-maven-plugin</artifactId>
  77. <version>1.6.6</version>
  78. <extensions>true</extensions>
  79. <configuration>
  80. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  81. <serverId>sonatype-nexus-staging</serverId>
  82. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  83. </configuration>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </profile>
  88. </profiles>
  89. </project>