pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>forest-mall-cloud</artifactId>
  7. <groupId>com.hwrj.cloud</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.hwrj.cloud.monitor</groupId>
  12. <artifactId>forest-monitor</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.alibaba.cloud</groupId>
  20. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>de.codecentric</groupId>
  24. <artifactId>spring-boot-admin-starter-server</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-security</artifactId>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. </plugin>
  37. <plugin>
  38. <groupId>com.spotify</groupId>
  39. <artifactId>docker-maven-plugin</artifactId>
  40. </plugin>
  41. <plugin>
  42. <groupId>com.spotify</groupId>
  43. <artifactId>docker-maven-plugin</artifactId>
  44. <version>1.2.2</version>
  45. <configuration>
  46. <serverId>${docker.serviceId}</serverId>
  47. <dockerHost>${docker.dockerHost}</dockerHost>
  48. <imageName>docker.io/${project.artifactId}:${docker.image.version}</imageName>
  49. <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
  50. <resources>
  51. <resource>
  52. <targetPath>/</targetPath>
  53. <directory>${project.build.directory}</directory>
  54. <include>${project.build.finalName}.jar</include>
  55. </resource>
  56. </resources>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>