pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.6.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.caimei365</groupId>
  12. <artifactId>caimei365-wechat-qy</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>caimei365-wechat-qy</name>
  15. <description>caimei365-wechat-qy</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-webflux</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.google.code.gson</groupId>
  34. <artifactId>gson</artifactId>
  35. <version>2.8.9</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.json</groupId>
  39. <artifactId>json</artifactId>
  40. <version>20200518</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>commons-codec</groupId>
  44. <artifactId>commons-codec</artifactId>
  45. <version>1.9</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>1.2.79</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.dom4j</groupId>
  54. <artifactId>dom4j</artifactId>
  55. <version>2.1.3</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.projectlombok</groupId>
  59. <artifactId>lombok</artifactId>
  60. <optional>true</optional>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>2.2.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.github.pagehelper</groupId>
  69. <artifactId>pagehelper-spring-boot-starter</artifactId>
  70. <version>1.4.1</version>
  71. <exclusions>
  72. <exclusion>
  73. <artifactId>mybatis-spring-boot-starter</artifactId>
  74. <groupId>org.mybatis.spring.boot</groupId>
  75. </exclusion>
  76. </exclusions>
  77. </dependency>
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. <scope>runtime</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-data-redis</artifactId>
  91. </dependency>
  92. </dependencies>
  93. <profiles>
  94. <profile>
  95. <id>dev</id>
  96. <properties>
  97. <!-- 环境标识,需要与配置文件的名称相对应 -->
  98. <activatedProperties>dev</activatedProperties>
  99. </properties>
  100. <activation>
  101. <!-- 默认环境 -->
  102. <activeByDefault>true</activeByDefault>
  103. </activation>
  104. </profile>
  105. <profile>
  106. <id>beta</id>
  107. <properties>
  108. <activatedProperties>beta</activatedProperties>
  109. </properties>
  110. </profile>
  111. <profile>
  112. <id>prod</id>
  113. <properties>
  114. <activatedProperties>prod</activatedProperties>
  115. </properties>
  116. </profile>
  117. </profiles>
  118. <build>
  119. <finalName>${project.artifactId}</finalName>
  120. <resources>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. <!--开启filtering功能 -->
  124. <filtering>true</filtering>
  125. </resource>
  126. <resource>
  127. <directory>src/main/resources/config/${activatedProperties}</directory>
  128. <filtering>true</filtering>
  129. </resource>
  130. </resources>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-maven-plugin</artifactId>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>