pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>0.0.1-SNAPSHOT</version>
  14. <packaging>pom</packaging>
  15. <name>${project.artifactId}</name>
  16. <description>物联中台</description>
  17. <url/>
  18. <licenses>
  19. <license/>
  20. </licenses>
  21. <developers>
  22. <developer/>
  23. </developers>
  24. <modules>
  25. <module>iot-middle-platform-upgrade</module>
  26. <module>iot-common</module>
  27. </modules>
  28. <scm>
  29. <connection/>
  30. <developerConnection/>
  31. <tag/>
  32. <url/>
  33. </scm>
  34. <properties>
  35. <java.version>17</java.version>
  36. <spring-cloud.version>2023.0.1</spring-cloud.version>
  37. <spring-cloud-alibaba.version>2023.0.1.0</spring-cloud-alibaba.version>
  38. </properties>
  39. <dependencies>
  40. <!-- MyBatis-Plus -->
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. <version>3.5.7</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.zaxxer</groupId>
  48. <artifactId>HikariCP</artifactId>
  49. <version>5.0.1</version>
  50. </dependency>
  51. <!-- MySQL Connector -->
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <version>8.0.33</version>
  56. </dependency>
  57. <!-- Nacos Discovery -->
  58. <dependency>
  59. <groupId>com.alibaba.cloud</groupId>
  60. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  61. </dependency>
  62. <!-- Nacos Config -->
  63. <dependency>
  64. <groupId>com.alibaba.cloud</groupId>
  65. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-web</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-devtools</artifactId>
  74. <scope>runtime</scope>
  75. <optional>true</optional>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.cloud</groupId>
  84. <artifactId>spring-cloud-starter</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.cloud</groupId>
  88. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  89. </dependency>
  90. </dependencies>
  91. <dependencyManagement>
  92. <dependencies>
  93. <dependency>
  94. <groupId>org.springframework.cloud</groupId>
  95. <artifactId>spring-cloud-dependencies</artifactId>
  96. <version>${spring-cloud.version}</version>
  97. <type>pom</type>
  98. <scope>import</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.alibaba.cloud</groupId>
  102. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  103. <version>${spring-cloud-alibaba.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. </dependencies>
  108. </dependencyManagement>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-maven-plugin</artifactId>
  114. <configuration>
  115. <jvmArguments>--enable-native-access=ALL-UNNAMED</jvmArguments>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>