pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. <parent>
  7. <groupId>com.middle.platform</groupId>
  8. <artifactId>iot-module-system</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <artifactId>iot-module-system-biz</artifactId>
  12. <packaging>jar</packaging>
  13. <properties>
  14. <maven.compiler.source>17</maven.compiler.source>
  15. <maven.compiler.target>17</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <dependencies>
  19. <!-- Spring Cloud 基础 -->
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  23. </dependency>
  24. <!-- Registry 注册中心相关 -->
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  28. </dependency>
  29. <!-- Config 配置中心相关 -->
  30. <dependency>
  31. <groupId>com.alibaba.cloud</groupId>
  32. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  33. </dependency>
  34. <!--认证-->
  35. <dependency>
  36. <groupId>com.middle.platform</groupId>
  37. <artifactId>iot-starter-satoken</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.middle.platform</groupId>
  41. <artifactId>iot-starter-pagehelper</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.middle.platform</groupId>
  45. <artifactId>iot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.middle.platform</groupId>
  49. <artifactId>iot-starter-mybatis</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-actuator</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.middle.platform</groupId>
  57. <artifactId>iot-starter-redis</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.middle.platform</groupId>
  61. <artifactId>iot-module-system-api</artifactId>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <!-- 设置构建的 jar 包名 -->
  66. <plugins>
  67. <!-- 打包 -->
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  72. <executions>
  73. <execution>
  74. <goals>
  75. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  76. </goals>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>