pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>huimv-env-platform</artifactId>
  7. <groupId>com.huimv</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.huimv</groupId>
  12. <artifactId>huimv-env-device</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <dependencies>
  15. <!-- 排除Tomcat容器 -->
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. <!-- 移除掉默认支持的 Tomcat -->
  20. <exclusions>
  21. <exclusion>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-tomcat</artifactId>
  24. </exclusion>
  25. </exclusions>
  26. </dependency>
  27. <!-- 添加 Undertow 容器 -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-undertow</artifactId>
  31. </dependency>
  32. <!-- JPA -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-jpa</artifactId>
  36. </dependency>
  37. <!-- mysql -->
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. </dependency>
  42. <!--rabbitmq-->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-amqp</artifactId>
  46. </dependency>
  47. <!-- redis -->
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-data-redis</artifactId>
  51. </dependency>
  52. <!-- actuator -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-actuator</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <scope>compile</scope>
  70. </dependency>
  71. <!-- fastjson -->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>fastjson</artifactId>
  75. </dependency>
  76. <!--hutool-->
  77. <dependency>
  78. <groupId>cn.hutool</groupId>
  79. <artifactId>hutool-all</artifactId>
  80. </dependency>
  81. <!-- 一方包统一版本管理 -->
  82. <dependency>
  83. <groupId>com.huimv</groupId>
  84. <artifactId>huimv-env-common</artifactId>
  85. </dependency>
  86. <!-- 二方包统一版本管理 -->
  87. <dependency>
  88. <groupId>com.huimv</groupId>
  89. <artifactId>huimv-common</artifactId>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-maven-plugin</artifactId>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.apache.maven.plugins</groupId>
  100. <artifactId>maven-resources-plugin</artifactId>
  101. <version>2.6</version>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>