pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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>com.unitssoft</groupId>
  7. <artifactId>smart-grp-nof-pom</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../smart-grp-nof-pom/pom.xml</relativePath>
  10. </parent>
  11. <artifactId>smart-grp-basic</artifactId>
  12. <groupId>com.unissoft</groupId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>smart-grp-basic</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-io -->
  21. <dependency>
  22. <groupId>org.apache.commons</groupId>
  23. <artifactId>commons-io</artifactId>
  24. <version>${commons-io.version}</version>
  25. </dependency>
  26. <!-- 引入公共模块 -->
  27. <dependency>
  28. <groupId>com.unissoft</groupId>
  29. <artifactId>smart-grp-nof-common</artifactId>
  30. <version>0.0.1-SNAPSHOT</version>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!-- cloud -->
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter</artifactId>
  42. </dependency>
  43. <!-- utils -->
  44. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>fastjson</artifactId>
  48. <version>${fastjson.version}</version>
  49. </dependency>
  50. <!-- aop -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-aop</artifactId>
  54. </dependency>
  55. <!-- dataSource -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-jdbc</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <scope>runtime</scope>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot-starter -->
  66. <dependency>
  67. <groupId>com.baomidou</groupId>
  68. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  69. <version>${dynamic-datasource.version}</version>
  70. </dependency>
  71. <!--文件服务器依赖-->
  72. <dependency>
  73. <groupId>io.minio</groupId>
  74. <artifactId>minio</artifactId>
  75. <version>${minio.version}</version>
  76. </dependency>
  77. <!-- springboot整合mybatis(核心就这一个) -->
  78. <!-- 注意顺序,这个一定要放在最下面 -->
  79. <dependency>
  80. <groupId>org.mybatis.spring.boot</groupId>
  81. <artifactId>mybatis-spring-boot-starter</artifactId>
  82. <version>${mybatis.version}</version>
  83. </dependency>
  84. <!--swagger-->
  85. <dependency>
  86. <groupId>io.springfox</groupId>
  87. <artifactId>springfox-swagger2</artifactId>
  88. <version>${swagger.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.springfox</groupId>
  92. <artifactId>springfox-swagger-ui</artifactId>
  93. <version>${swagger.version}</version>
  94. </dependency>
  95. <!--add swagger2 by hasan-->
  96. <dependency>
  97. <groupId>com.spring4all</groupId>
  98. <artifactId>swagger-spring-boot-starter</artifactId>
  99. <version>${swagger-boot.version}</version>
  100. </dependency>
  101. <!-- mqtt -->
  102. <dependency>
  103. <groupId>org.springframework.integration</groupId>
  104. <artifactId>spring-integration-stream</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-integration</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.integration</groupId>
  112. <artifactId>spring-integration-mqtt</artifactId>
  113. </dependency>
  114. <!--rabbitmq-->
  115. <!--<dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-amqp</artifactId>
  118. </dependency>-->
  119. <!-- Spring Boot 项目starter,快速使用knife4j增强文档 -->
  120. <!--<dependency>
  121. <groupId>com.github.xiaoymin</groupId>
  122. <artifactId>knife4j-spring-boot-starter</artifactId>
  123. <version>3.0.3</version>
  124. </dependency>-->
  125. <dependency>
  126. <groupId>net.logstash.logback</groupId>
  127. <artifactId>logstash-logback-encoder</artifactId>
  128. <version>${logstash.version}</version>
  129. </dependency>
  130. <!-- auth0的jwt -->
  131. <dependency>
  132. <groupId>com.auth0</groupId>
  133. <artifactId>java-jwt</artifactId>
  134. <version>${java-jwt.version}</version>
  135. </dependency>
  136. </dependencies>
  137. <dependencyManagement>
  138. <dependencies>
  139. <dependency>
  140. <groupId>org.springframework.cloud</groupId>
  141. <artifactId>spring-cloud-dependencies</artifactId>
  142. <version>${spring-cloud.version}</version>
  143. <type>pom</type>
  144. <scope>import</scope>
  145. </dependency>
  146. </dependencies>
  147. </dependencyManagement>
  148. <build>
  149. <finalName>${project.artifactId}</finalName>
  150. <plugins>
  151. <plugin>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-maven-plugin</artifactId>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>