pom.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. <dependency>
  64. <groupId>com.middle.platform</groupId>
  65. <artifactId>iot-starter-oss</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <!-- 设置构建的 jar 包名 -->
  70. <plugins>
  71. <!-- 打包 -->
  72. <plugin>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-maven-plugin</artifactId>
  75. <version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>