pom_template.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. {auto_gen_header}
  3. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns="http://maven.apache.org/POM/4.0.0"
  5. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  6. <parent>
  7. <groupId>io.ray</groupId>
  8. <artifactId>ray-superpom</artifactId>
  9. <version>2.0.0-SNAPSHOT</version>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>ray-test</artifactId>
  13. <name>java test cases for ray</name>
  14. <description>java test cases for ray</description>
  15. <packaging>jar</packaging>
  16. <properties>
  17. <maven.deploy.skip>true</maven.deploy.skip>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>io.ray</groupId>
  22. <artifactId>ray-api</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>io.ray</groupId>
  27. <artifactId>ray-runtime</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. {generated_bzl_deps}
  31. </dependencies>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-surefire-plugin</artifactId>
  37. <version>2.21.0</version>
  38. <configuration>
  39. <suiteXmlFiles>
  40. <suiteXmlFile>../testng.xml</suiteXmlFile>
  41. </suiteXmlFiles>
  42. <trimStackTrace>false</trimStackTrace>
  43. <testSourceDirectory>${basedir}/src/main/java/</testSourceDirectory>
  44. <testClassesDirectory>${project.build.directory}/classes/</testClassesDirectory>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>org.apache.maven.plugins</groupId>
  49. <artifactId>maven-dependency-plugin</artifactId>
  50. <executions>
  51. <execution>
  52. <id>copy-dependencies</id>
  53. <phase>package</phase>
  54. <goals>
  55. <goal>copy-dependencies</goal>
  56. </goals>
  57. <configuration>
  58. <outputDirectory>${basedir}/lib</outputDirectory>
  59. <overWriteReleases>false</overWriteReleases>
  60. <overWriteSnapshots>false</overWriteSnapshots>
  61. <overWriteIfNewer>true</overWriteIfNewer>
  62. </configuration>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. </project>