pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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>io.envoyproxy.protoc-gen-validate</groupId>
  5. <artifactId>pgv-java</artifactId>
  6. <version>0.6.2-SNAPSHOT</version>
  7. <modules>
  8. <module>pgv-java-stub</module>
  9. <module>pgv-java-validation</module>
  10. <module>pgv-java-grpc</module>
  11. <module>pgv-artifacts</module>
  12. </modules>
  13. <packaging>pom</packaging>
  14. <name>PGV-Java Parent</name>
  15. <description>Protoc plugin to generate protobuf message validators.</description>
  16. <url>https://github.com/envoyproxy/protoc-gen-validate</url>
  17. <licenses>
  18. <license>
  19. <name>The Apache Software License, Version 2.0</name>
  20. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  21. <distribution>repo</distribution>
  22. </license>
  23. </licenses>
  24. <developers>
  25. <developer>
  26. <id>rmichela</id>
  27. <name>Ryan Michela</name>
  28. <email>rmichela@salesforce.com</email>
  29. </developer>
  30. <developer>
  31. <id>ramaraochavali</id>
  32. <name>Rama Chavali</name>
  33. <email>rama.rao@salesforce.com</email>
  34. </developer>
  35. </developers>
  36. <properties>
  37. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  38. <protoc.version>3.5.1</protoc.version>
  39. <re2j.version>1.5</re2j.version>
  40. <commons.validator.version>1.7</commons.validator.version>
  41. <google.protobuf.version>3.15.6</google.protobuf.version>
  42. <grpc.version>1.36.1</grpc.version>
  43. <junit.version>4.12</junit.version>
  44. <assertj.version>3.11.1</assertj.version>
  45. <java.version>1.8</java.version>
  46. <proto-google-common-protos.version>2.0.1</proto-google-common-protos.version>
  47. </properties>
  48. <dependencies>
  49. <dependency>
  50. <groupId>junit</groupId>
  51. <artifactId>junit</artifactId>
  52. <version>${junit.version}</version>
  53. <scope>test</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.assertj</groupId>
  57. <artifactId>assertj-core</artifactId>
  58. <version>${assertj.version}</version>
  59. <scope>test</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>3.6.1</version>
  68. <configuration>
  69. <source>${java.version}</source>
  70. <target>${java.version}</target>
  71. <compilerArgument>-Xlint:unchecked</compilerArgument>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-surefire-plugin</artifactId>
  77. <version>2.22.1</version>
  78. <configuration>
  79. <useSystemClassLoader>false</useSystemClassLoader>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-javadoc-plugin</artifactId>
  85. <version>3.1.0</version>
  86. <configuration>
  87. <author>false</author>
  88. <breakiterator>true</breakiterator>
  89. <doclint>accessibility,html,reference,syntax</doclint>
  90. <keywords>true</keywords>
  91. <version>false</version>
  92. <source>8</source>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <id>attach-javadocs</id>
  97. <goals>
  98. <goal>jar</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-source-plugin</artifactId>
  106. <version>3.0.1</version>
  107. <executions>
  108. <execution>
  109. <id>attach-sources</id>
  110. <goals>
  111. <goal>jar</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. <profiles>
  119. <profile>
  120. <id>ci</id>
  121. <build>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-release-plugin</artifactId>
  126. <version>2.5.3</version>
  127. <configuration>
  128. <autoVersionSubmodules>true</autoVersionSubmodules>
  129. <tagNameFormat>v@{project.version}-java</tagNameFormat>
  130. <scmCommentPrefix>java release: </scmCommentPrefix>
  131. </configuration>
  132. <!-- No executions -->
  133. </plugin>
  134. <plugin>
  135. <groupId>org.codehaus.mojo</groupId>
  136. <artifactId>versions-maven-plugin</artifactId>
  137. <version>2.7</version>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.sonatype.plugins</groupId>
  141. <artifactId>nexus-staging-maven-plugin</artifactId>
  142. <version>1.6.8</version>
  143. <extensions>true</extensions>
  144. <configuration>
  145. <serverId>sonatype-nexus-staging</serverId>
  146. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  147. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </profile>
  153. <profile>
  154. <id>signing</id>
  155. <build>
  156. <plugins>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-gpg-plugin</artifactId>
  160. <version>1.6</version>
  161. <executions>
  162. <execution>
  163. <id>sign-artifacts</id>
  164. <phase>verify</phase>
  165. <goals>
  166. <goal>sign</goal>
  167. </goals>
  168. </execution>
  169. </executions>
  170. </plugin>
  171. </plugins>
  172. </build>
  173. </profile>
  174. </profiles>
  175. <scm>
  176. <url>https://github.com/envoyproxy/protoc-gen-validate</url>
  177. <connection>scm:git:git@github.com:lyft/protoc-gen-validate.git</connection>
  178. <developerConnection>scm:git:git@github.com:lyft/protoc-gen-validate.git</developerConnection>
  179. <tag>HEAD</tag>
  180. </scm>
  181. <distributionManagement>
  182. <snapshotRepository>
  183. <id>sonatype-nexus-snapshots</id>
  184. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  185. </snapshotRepository>
  186. </distributionManagement>
  187. </project>