pom.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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>sp-native</artifactId>
  7. <groupId>com.pj</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>sp-boot-admin</artifactId>
  13. <packaging>jar</packaging>
  14. <!-- 指定一些属性 -->
  15. <properties>
  16. <java.run.main.class>com.pj.SpBootAdminApplication</java.run.main.class>
  17. </properties>
  18. <dependencies>
  19. <!-- ================= 模块依赖 start ================= -->
  20. <dependency>
  21. <groupId>com.pj</groupId>
  22. <artifactId>sp-nacos</artifactId>
  23. <version>${project.parent.version}</version>
  24. </dependency>
  25. <!-- ================= 模块依赖 end ================= -->
  26. <!-- nacos 注册中心 -->
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  30. </dependency>
  31. <!-- nacos 分布式配置中心 -->
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  35. </dependency>
  36. <!-- spring-boot-admin 监控台 -->
  37. <dependency>
  38. <groupId>de.codecentric</groupId>
  39. <artifactId>spring-boot-admin-starter-server</artifactId>
  40. <version>2.3.0</version>
  41. </dependency>
  42. <!-- 集成security的登录验证 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-security</artifactId>
  46. </dependency>
  47. </dependencies>
  48. </project>