pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.3.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.platform</groupId>
  12. <artifactId>iot-platform</artifactId>
  13. <version>${revision}</version>
  14. <packaging>pom</packaging>
  15. <name>${project.artifactId}</name>
  16. <description>物联中台</description>
  17. <modules>
  18. <module>iot-platform-manager</module>
  19. <module>iot-platform-common</module>
  20. </modules>
  21. <properties>
  22. <revision>1.0.0</revision>
  23. <java.version>17</java.version>
  24. <spring-cloud.version>2023.0.1</spring-cloud.version>
  25. <spring-cloud-alibaba.version>2023.0.1.0</spring-cloud-alibaba.version>
  26. </properties>
  27. <dependencies>
  28. <!-- MyBatis-Plus -->
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>mybatis-plus-boot-starter</artifactId>
  32. <version>3.5.7</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.zaxxer</groupId>
  36. <artifactId>HikariCP</artifactId>
  37. <version>5.0.1</version>
  38. </dependency>
  39. <!-- MySQL Connector -->
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. <version>8.0.33</version>
  44. </dependency>
  45. <!-- Nacos Discovery -->
  46. <dependency>
  47. <groupId>com.alibaba.cloud</groupId>
  48. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  49. </dependency>
  50. <!-- Nacos Config -->
  51. <dependency>
  52. <groupId>com.alibaba.cloud</groupId>
  53. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-web</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-devtools</artifactId>
  62. <scope>runtime</scope>
  63. <optional>true</optional>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-test</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-starter</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.cloud</groupId>
  76. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  77. </dependency>
  78. </dependencies>
  79. <dependencyManagement>
  80. <dependencies>
  81. <dependency>
  82. <groupId>org.springframework.cloud</groupId>
  83. <artifactId>spring-cloud-dependencies</artifactId>
  84. <version>${spring-cloud.version}</version>
  85. <type>pom</type>
  86. <scope>import</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba.cloud</groupId>
  90. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  91. <version>${spring-cloud-alibaba.version}</version>
  92. <type>pom</type>
  93. <scope>import</scope>
  94. </dependency>
  95. </dependencies>
  96. </dependencyManagement>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <configuration>
  103. <jvmArguments>--enable-native-access=ALL-UNNAMED</jvmArguments>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>