pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>io.ray</groupId>
  7. <artifactId>ray-streaming</artifactId>
  8. <version>2.0.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <name>Ray Project Streaming Parent POM</name>
  11. <description>A streaming framework built on ray</description>
  12. <url>https://github.com/ray-project/ray</url>
  13. <licenses>
  14. <license>
  15. <name>The Apache License, Version 2.0</name>
  16. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  17. </license>
  18. </licenses>
  19. <scm>
  20. <url>https://github.com/ray-project/ray</url>
  21. <connection>git@github.com:ray-project/ray.git</connection>
  22. <developerConnection>scm:git:ssh://github.com:ray-project/ray.git</developerConnection>
  23. </scm>
  24. <developers>
  25. <developer>
  26. <organizationUrl>https://ray.io</organizationUrl>
  27. </developer>
  28. </developers>
  29. <distributionManagement>
  30. <snapshotRepository>
  31. <id>ossrh</id>
  32. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  33. </snapshotRepository>
  34. <repository>
  35. <id>ossrh</id>
  36. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  37. </repository>
  38. </distributionManagement>
  39. <repositories>
  40. <repository>
  41. <id>spring</id>
  42. <url>https://repo.spring.io/plugins-release/</url>
  43. </repository>
  44. <repository>
  45. <id>central</id>
  46. <url>https://repo1.maven.org/maven2/</url>
  47. </repository>
  48. </repositories>
  49. <modules>
  50. <module>streaming-api</module>
  51. <module>streaming-runtime</module>
  52. <module>streaming-state</module>
  53. </modules>
  54. <properties>
  55. <java.version>1.8</java.version>
  56. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  57. <projetct.version>2.0.0-SNAPSHOT</projetct.version>
  58. <mockito.version>1.10.19</mockito.version>
  59. <fst.version>2.57</fst.version>
  60. </properties>
  61. <profiles>
  62. <profile>
  63. <id>release</id>
  64. <activation>
  65. <property>
  66. <name>release</name>
  67. <value>true</value>
  68. </property>
  69. </activation>
  70. <properties>
  71. <output.directory>${basedir}</output.directory>
  72. </properties>
  73. <build>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-gpg-plugin</artifactId>
  78. </plugin>
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-javadoc-plugin</artifactId>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </profile>
  86. </profiles>
  87. <dependencyManagement>
  88. <dependencies>
  89. <dependency>
  90. <groupId>org.testng</groupId>
  91. <artifactId>testng</artifactId>
  92. <version>7.3.0</version>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.yaml</groupId>
  96. <artifactId>snakeyaml</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. </dependencies>
  101. </dependencyManagement>
  102. <build>
  103. <pluginManagement>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <version>3.6.1</version>
  109. <configuration>
  110. <source>${java.version}</source>
  111. <target>${java.version}</target>
  112. <encoding>${project.build.sourceEncoding}</encoding>
  113. <compilerArgument>-parameters</compilerArgument>
  114. <testCompilerArgument>-parameters</testCompilerArgument>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-source-plugin</artifactId>
  120. <version>3.0.1</version>
  121. <executions>
  122. <execution>
  123. <id>attach-sources</id>
  124. <goals>
  125. <goal>jar</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-javadoc-plugin</artifactId>
  133. <version>3.1.0</version>
  134. <executions>
  135. <execution>
  136. <id>attach-javadocs</id>
  137. <goals>
  138. <goal>jar</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. <configuration>
  143. <doclint>none</doclint>
  144. </configuration>
  145. </plugin>
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-dependency-plugin</artifactId>
  149. <version>2.10</version>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-clean-plugin</artifactId>
  154. <version>3.0.0</version>
  155. </plugin>
  156. <plugin>
  157. <groupId>org.apache.maven.plugins</groupId>
  158. <artifactId>maven-assembly-plugin</artifactId>
  159. <version>2.2</version>
  160. </plugin>
  161. <plugin>
  162. <artifactId>maven-deploy-plugin</artifactId>
  163. <version>2.8.2</version>
  164. <executions>
  165. <execution>
  166. <id>deploy</id>
  167. <phase>deploy</phase>
  168. <goals>
  169. <goal>deploy</goal>
  170. </goals>
  171. </execution>
  172. </executions>
  173. </plugin>
  174. <plugin>
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-checkstyle-plugin</artifactId>
  177. <version>3.1.0</version>
  178. <dependencies>
  179. <dependency>
  180. <groupId>com.puppycrawl.tools</groupId>
  181. <artifactId>checkstyle</artifactId>
  182. <version>8.19</version>
  183. </dependency>
  184. </dependencies>
  185. <executions>
  186. <execution>
  187. <id>validate</id>
  188. <phase>validate</phase>
  189. <goals>
  190. <goal>check</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. <configuration>
  195. <configLocation>../../java/checkstyle.xml</configLocation>
  196. <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
  197. <encoding>UTF-8</encoding>
  198. <consoleOutput>true</consoleOutput>
  199. <failsOnError>true</failsOnError>
  200. <failOnViolation>true</failOnViolation>
  201. <violationSeverity>warning</violationSeverity>
  202. <outputFile>${project.build.directory}/checkstyle-errors.xml</outputFile>
  203. <linkXRef>false</linkXRef>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>com.diffplug.spotless</groupId>
  208. <artifactId>spotless-maven-plugin</artifactId>
  209. <version>2.5.0</version>
  210. <configuration>
  211. <java>
  212. <excludes>
  213. <exclude>**/runtime/generated/**/*.*</exclude>
  214. </excludes>
  215. <googleJavaFormat>
  216. <version>1.7</version>
  217. <style>GOOGLE</style>
  218. </googleJavaFormat>
  219. </java>
  220. </configuration>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.apache.maven.plugins</groupId>
  224. <artifactId>maven-gpg-plugin</artifactId>
  225. <version>1.6</version>
  226. <executions>
  227. <execution>
  228. <id>sign-artifacts</id>
  229. <goals>
  230. <goal>sign</goal>
  231. </goals>
  232. <configuration>
  233. <!-- Prevent `gpg` from using pinentry programs -->
  234. <gpgArguments>
  235. <arg>--pinentry-mode</arg>
  236. <arg>loopback</arg>
  237. </gpgArguments>
  238. </configuration>
  239. </execution>
  240. </executions>
  241. </plugin>
  242. </plugins>
  243. </pluginManagement>
  244. <plugins>
  245. <plugin>
  246. <groupId>org.apache.maven.plugins</groupId>
  247. <artifactId>maven-checkstyle-plugin</artifactId>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-source-plugin</artifactId>
  252. </plugin>
  253. <plugin>
  254. <groupId>com.diffplug.spotless</groupId>
  255. <artifactId>spotless-maven-plugin</artifactId>
  256. </plugin>
  257. </plugins>
  258. </build>
  259. </project>