pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <packaging>jar</packaging>
  6. <parent>
  7. <groupId>com.kakarote</groupId>
  8. <artifactId>wkcrm</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>core</artifactId>
  12. <version>${core.version}</version>
  13. <name>core</name>
  14. <description>基础代码</description>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. </properties>
  21. <!-- 定义snapshots库和releases库的nexus地址 -->
  22. <distributionManagement>
  23. </distributionManagement>
  24. <dependencies>
  25. <!--web依赖包-->
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <exclusions>
  30. <exclusion>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-tomcat</artifactId>
  33. </exclusion>
  34. </exclusions>
  35. </dependency>
  36. <!--undertow服务-->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-undertow</artifactId>
  40. </dependency>
  41. <!--数据库-->
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid-spring-boot-starter</artifactId>
  45. <version>1.1.21</version>
  46. </dependency>
  47. <!--mybatis plus依赖包-->
  48. <dependency>
  49. <groupId>com.baomidou</groupId>
  50. <artifactId>mybatis-plus-boot-starter</artifactId>
  51. <version>3.3.0</version>
  52. </dependency>
  53. <!--mybatis依赖-->
  54. <dependency>
  55. <groupId>org.mybatis</groupId>
  56. <artifactId>mybatis-spring</artifactId>
  57. <version>2.0.0</version>
  58. </dependency>
  59. <!--代码生成器-->
  60. <dependency>
  61. <groupId>com.baomidou</groupId>
  62. <artifactId>mybatis-plus-generator</artifactId>
  63. <version>3.3.0</version>
  64. <scope>test</scope>
  65. </dependency>
  66. <!--代码生成器用到的模板引擎-->
  67. <dependency>
  68. <groupId>org.apache.velocity</groupId>
  69. <artifactId>velocity-engine-core</artifactId>
  70. <version>2.2</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <!--oss文件上传-->
  74. <dependency>
  75. <groupId>com.aliyun.oss</groupId>
  76. <artifactId>aliyun-sdk-oss</artifactId>
  77. <version>3.8.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.aliyun</groupId>
  81. <artifactId>aliyun-java-sdk-core</artifactId>
  82. <version>4.1.0</version>
  83. </dependency>
  84. <!--jetcache缓存 -->
  85. <dependency>
  86. <groupId>com.alicp.jetcache</groupId>
  87. <artifactId>jetcache-starter-redis</artifactId>
  88. <version>2.6.0</version>
  89. </dependency>
  90. <!--poi-->
  91. <dependency>
  92. <groupId>org.apache.poi</groupId>
  93. <artifactId>poi-ooxml</artifactId>
  94. <version>4.1.2</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>transmittable-thread-local</artifactId>
  99. <version>2.11.4</version>
  100. </dependency>
  101. <!-- 配置文件加密 -->
  102. <dependency>
  103. <groupId>com.github.ulisesbocchio</groupId>
  104. <artifactId>jasypt-spring-boot-starter</artifactId>
  105. <version>1.16</version>
  106. </dependency>
  107. <!--MQTT配置-->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-integration</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.integration</groupId>
  114. <artifactId>spring-integration-stream</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.integration</groupId>
  118. <artifactId>spring-integration-mqtt</artifactId>
  119. </dependency>
  120. </dependencies>
  121. <build>
  122. <resources>
  123. <resource>
  124. <!-- xml放在java目录下-->
  125. <directory>src/main/java/com/kakarote/core/</directory>
  126. <includes>
  127. <include>**/*.xml</include>
  128. </includes>
  129. </resource>
  130. <!--解决idea不识别resources的问题-->
  131. <resource>
  132. <directory>src/main/resources</directory>
  133. <filtering>true</filtering>
  134. </resource>
  135. </resources>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. <configuration>
  141. <classifier>exec</classifier>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>