pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <modelVersion>4.0.0</modelVersion>
  6. <artifactId>forecast-device-gateway</artifactId>
  7. <description>设备网关模块</description>
  8. <parent>
  9. <artifactId>forecast-gateway</artifactId>
  10. <groupId>cn.oleauto</groupId>
  11. <version>${revision}</version>
  12. </parent>
  13. <dependencies>
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-web</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-devtools</artifactId>
  21. <optional>true</optional>
  22. </dependency>
  23. <!-- SpringBoot 拦截器 -->
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-aop</artifactId>
  27. </dependency>
  28. <!-- 阿里数据库连接池 -->
  29. <dependency>
  30. <groupId>com.alibaba</groupId>
  31. <artifactId>druid-spring-boot-starter</artifactId>
  32. </dependency>
  33. <!-- PostgreSQL 驱动包(compile 域:JsonbTypeHandler 直接依赖 PGobject) -->
  34. <dependency>
  35. <groupId>org.postgresql</groupId>
  36. <artifactId>postgresql</artifactId>
  37. </dependency>
  38. </dependencies>
  39. <build>
  40. <plugins>
  41. <plugin>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-maven-plugin</artifactId>
  44. <version>${spring-boot.version}</version>
  45. <configuration>
  46. <!-- 如果没有该配置,devtools不会生效 -->
  47. <addResources>true</addResources>
  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>