pom.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.starbuds.server</groupId>
  6. <artifactId>0service-demo</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>0service-demo</name>
  10. <description>0service-demo project for Spring Boot dis</description>
  11. <parent>
  12. <groupId>com.starbuds.server</groupId>
  13. <artifactId>service-parent</artifactId>
  14. <version>1.0.0-SNAPSHOT</version>
  15. </parent>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <ons-client.version>1.8.4.Final</ons-client.version>
  19. </properties>
  20. <dependencies>
  21. <!-- Aliyun ONS -->
  22. <dependency>
  23. <groupId>com.aliyun.openservices</groupId>
  24. <artifactId>ons-client</artifactId>
  25. <version>${ons-client.version}</version>
  26. </dependency>
  27. <!-- es -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
  31. </dependency>
  32. </dependencies>
  33. <build>
  34. <finalName>${project.artifactId}</finalName>
  35. <testResources>
  36. <!--测试的时候直接读取src/main/resources的资源文件-->
  37. <testResource>
  38. <directory>${project.basedir}/src/main/resources</directory>
  39. </testResource>
  40. </testResources>
  41. </build>
  42. </project>