pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <parent>
  7. <groupId>cn.vbdsm</groupId>
  8. <artifactId>vb-extend</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <packaging>jar</packaging>
  12. <artifactId>vb-monitor-admin</artifactId>
  13. <name>${project.artifactId}</name>
  14. <description>监控中心</description>
  15. <dependencies>
  16. <!-- SpringWeb模块 -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <!-- spring security 安全认证 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-security</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>de.codecentric</groupId>
  28. <artifactId>spring-boot-admin-starter-server</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>de.codecentric</groupId>
  32. <artifactId>spring-boot-admin-starter-client</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.projectlombok</groupId>
  36. <artifactId>lombok</artifactId>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <finalName>${project.artifactId}</finalName>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. <version>${spring-boot.version}</version>
  46. <configuration>
  47. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>repackage</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. </plugins>
  58. </build>
  59. </project>