pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.linlinjava</groupId>
  5. <artifactId>jz-crm</artifactId>
  6. <version>0.1.0</version>
  7. </parent>
  8. <artifactId>jz-crm-hm-api</artifactId>
  9. <packaging>jar</packaging>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.linlinjava</groupId>
  18. <artifactId>jz-crm-core</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.linlinjava</groupId>
  22. <artifactId>jz-crm-db</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.linlinjava</groupId>
  26. <artifactId>jz-crm-service</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.springfox</groupId>
  30. <artifactId>springfox-swagger2</artifactId>
  31. <version>2.6.1</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.springfox</groupId>
  35. <artifactId>springfox-swagger-ui</artifactId>
  36. <version>2.6.1</version>
  37. </dependency>
  38. <!-- <dependency>
  39. <groupId>org.apache.shiro</groupId>
  40. <artifactId>shiro-spring-boot-web-starter</artifactId>
  41. </dependency> -->
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>easyexcel</artifactId>
  49. <version>2.0.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-devtools</artifactId>
  54. <optional>true</optional>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-redis</artifactId>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>jcl-over-slf4j</artifactId>
  63. </exclusion>
  64. </exclusions>
  65. </dependency>
  66. <!-- 添加jedis客户端 -->
  67. <dependency>
  68. <groupId>redis.clients</groupId>
  69. <artifactId>jedis</artifactId>
  70. </dependency>
  71. <!--spring2.0集成redis所需common-pool2 -->
  72. <!-- 必须加上,jedis依赖此 -->
  73. <!-- spring boot 2.0 的操作手册有标注 大家可以去看看 地址是:https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/htmlsingle/ -->
  74. <dependency>
  75. <groupId>org.apache.commons</groupId>
  76. <artifactId>commons-pool2</artifactId>
  77. <version>2.5.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>taobaosdk</groupId>
  81. <artifactId>taobaosdk</artifactId>
  82. <version>202008</version>
  83. <scope>system</scope>
  84. <systemPath>${pom.basedir}/lib/taobao-sdk-java.jar</systemPath>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <finalName>servantappletservice</finalName>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-resources-plugin</artifactId>
  97. <executions>
  98. <execution>
  99. <id>default-resources</id>
  100. <phase>validate</phase>
  101. <goals>
  102. <goal>copy-resources</goal>
  103. </goals>
  104. <configuration>
  105. <outputDirectory>target/classes</outputDirectory>
  106. <useDefaultDelimiters>false</useDefaultDelimiters>
  107. <delimiters>
  108. <delimiter>#</delimiter>
  109. </delimiters>
  110. <resources>
  111. <resource>
  112. <directory>src/main/resources/</directory>
  113. <filtering>true</filtering>
  114. </resource>
  115. <resource>
  116. <directory>src/main/resources.${spring.profiles.active}</directory>
  117. <filtering>false</filtering>
  118. </resource>
  119. </resources>
  120. </configuration>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. <profiles>
  127. <!--开发环境 -->
  128. <profile>
  129. <id>dev</id>
  130. <properties>
  131. <spring.profiles.active>dev</spring.profiles.active>
  132. </properties>
  133. <activation>
  134. <activeByDefault>true</activeByDefault>
  135. </activation>
  136. </profile>
  137. <!--生产环境 -->
  138. <profile>
  139. <id>pro</id>
  140. <properties>
  141. <spring.profiles.active>pro</spring.profiles.active>
  142. </properties>
  143. </profile>
  144. <profile>
  145. <id>uat</id>
  146. <properties>
  147. <spring.profiles.active>uat</spring.profiles.active>
  148. </properties>
  149. </profile>
  150. </profiles>
  151. </project>