pom.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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.jot.joy</groupId>
  8. <artifactId>iot-module-stream</artifactId>
  9. <version>${revision}</version>
  10. </parent>
  11. <artifactId>iot-module-stream-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. <dependency>
  35. <groupId>com.middle.platform</groupId>
  36. <artifactId>iot-starter-pagehelper</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.middle.platform</groupId>
  40. <artifactId>iot-starter-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.middle.platform</groupId>
  44. <artifactId>iot-starter-mybatis</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-actuator</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.middle.platform</groupId>
  52. <artifactId>iot-starter-redis</artifactId>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <!-- 设置构建的 jar 包名 -->
  57. <plugins>
  58. <!-- 打包 -->
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. <version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. </plugins>
  72. </build>
  73. </project>