pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>service-querySrm</artifactId>
  5. <name>service-querySrm</name>
  6. <description>基于spring-boot构建的租赁服务系统</description>
  7. <packaging>jar</packaging>
  8. <parent>
  9. <artifactId>service-querySrm-parent</artifactId>
  10. <groupId>cn.com.citycloud</groupId>
  11. <version>0.0.1-SNAPSHOT</version>
  12. </parent>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <swagger.version>2.6.1</swagger.version>
  16. <alibaba.druid.version>1.0.29</alibaba.druid.version>
  17. <spring.web.version>4.3.8.RELEASE</spring.web.version>
  18. <mahout.version>0.9</mahout.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <artifactId>service-entity</artifactId>
  23. <groupId>cn.com.citycloud</groupId>
  24. <version>0.0.1-SNAPSHOT</version>
  25. </dependency>
  26. <dependency>
  27. <artifactId>service-common</artifactId>
  28. <groupId>cn.com.citycloud</groupId>
  29. <version>0.0.1-SNAPSHOT</version>
  30. </dependency>
  31. <dependency>
  32. <artifactId>service-configuration</artifactId>
  33. <groupId>cn.com.citycloud</groupId>
  34. <version>0.0.1-SNAPSHOT</version>
  35. </dependency>
  36. <!-- 数据库连接池 -->
  37. <dependency>
  38. <groupId>com.alibaba</groupId>
  39. <artifactId>druid</artifactId>
  40. <version>${alibaba.druid.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.mybatis.spring.boot</groupId>
  44. <artifactId>mybatis-spring-boot-starter</artifactId>
  45. <version>1.1.1</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>mysql</groupId>
  49. <artifactId>mysql-connector-java</artifactId>
  50. <version>8.0.27</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.github.pagehelper</groupId>
  54. <artifactId>pagehelper-spring-boot-starter</artifactId>
  55. <version>1.1.0</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>tk.mybatis</groupId>
  59. <artifactId>mapper-spring-boot-starter</artifactId>
  60. <version>1.1.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.springfox</groupId>
  64. <artifactId>springfox-swagger2</artifactId>
  65. <version>${swagger.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.springfox</groupId>
  69. <artifactId>springfox-swagger-ui</artifactId>
  70. <version>${swagger.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-devtools</artifactId>
  75. <optional>true</optional>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-amqp</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework</groupId>
  83. <artifactId>spring-tx</artifactId>
  84. <version>${spring.web.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.dingtalk</groupId>
  88. <artifactId>dingtalk-sdk</artifactId>
  89. <version>1.0.0</version>
  90. <scope>system</scope>
  91. <systemPath>${project.basedir}/lib/dingtalk-sdk.jar</systemPath>
  92. </dependency>
  93. <!-- 智能推荐算法库 -->
  94. <dependency>
  95. <groupId>org.apache.mahout</groupId>
  96. <artifactId>mahout-core</artifactId>
  97. <version>${mahout.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.mahout</groupId>
  101. <artifactId>mahout-integration</artifactId>
  102. <version>${mahout.version}</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.huaweicloud.sdk</groupId>
  106. <artifactId>huaweicloud-sdk-ocr</artifactId>
  107. <version>3.0.77</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.fasterxml.jackson.core</groupId>
  111. <artifactId>jackson-core</artifactId>
  112. <version>2.13.1</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.fasterxml.jackson.core</groupId>
  116. <artifactId>jackson-databind</artifactId>
  117. <version>2.13.1</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.fasterxml.jackson.core</groupId>
  121. <artifactId>jackson-annotations</artifactId>
  122. <version>2.13.1</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>com.fasterxml.jackson.datatype</groupId>
  126. <artifactId>jackson-datatype-jsr310</artifactId>
  127. <version>2.13.1</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.fasterxml.jackson.datatype</groupId>
  131. <artifactId>jackson-datatype-jdk8</artifactId>
  132. <version>2.13.1</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>cn.hutool</groupId>
  136. <artifactId>hutool-all</artifactId>
  137. <version>5.4.6</version>
  138. </dependency>
  139. </dependencies>
  140. <build>
  141. <filters>
  142. <filter>src/main/config/${env.name}/jdbc.properties</filter>
  143. <filter>src/main/config/${env.name}/config.properties</filter>
  144. <filter>src/main/config/${env.name}/cache.properties</filter>
  145. </filters>
  146. <finalName>${project.artifactId}</finalName>
  147. <resources>
  148. <resource>
  149. <directory>src/main/resources</directory>
  150. <filtering>true</filtering>
  151. </resource>
  152. </resources>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. <configuration>
  158. <includeSystemScope>true</includeSystemScope>
  159. <excludeDevtools>true</excludeDevtools>
  160. </configuration>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-resources-plugin</artifactId>
  165. <configuration>
  166. <nonFilteredFileExtensions>
  167. <nonFilteredFileExtension>xls</nonFilteredFileExtension>
  168. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  169. </nonFilteredFileExtensions>
  170. </configuration>
  171. </plugin>
  172. <!-- <plugin>
  173. <groupId>com.spotify</groupId>
  174. <artifactId>dockerfile-maven-plugin</artifactId>
  175. <version>1.4.1</version>
  176. <executions>
  177. <execution>
  178. <id>default</id>
  179. <goals>
  180. <goal>build</goal>
  181. <goal>push</goal>
  182. </goals>
  183. </execution>
  184. </executions>
  185. <configuration>
  186. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  187. <repository>10.0.0.27/ayn/${project.name}</repository>
  188. <tag>${project.version}</tag>
  189. <buildArgs>
  190. <JAR_FILE>target/${project.name}.jar</JAR_FILE>
  191. </buildArgs>
  192. </configuration>
  193. </plugin>-->
  194. </plugins>
  195. </build>
  196. <profiles>
  197. <profile>
  198. <id>dev</id>
  199. <activation>
  200. <activeByDefault>true</activeByDefault>
  201. </activation>
  202. <properties>
  203. <env.name>dev</env.name>
  204. </properties>
  205. </profile>
  206. <profile>
  207. <id>product</id>
  208. <properties>
  209. <env.name>product</env.name>
  210. </properties>
  211. </profile>
  212. </profiles>
  213. </project>