pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>qiyewechat_parent</artifactId>
  6. <groupId>com.github.binarywang</groupId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <relativePath>../qiyewechat_parent/pom.xml</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.liangjian11</groupId>
  12. <version>1.0.0-SNAPSHOT</version>
  13. <artifactId>mpwechatApp</artifactId>
  14. <packaging>jar</packaging>
  15. <name>Wechat mp demo with Spring Boot and WxJava</name>
  16. <description>基于 WxJava 和 Spring Boot 实现的微信公众号后端开发演示项目</description>
  17. <properties>
  18. <weixin-java-mp.version>3.7.0</weixin-java-mp.version>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  22. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23. <project.build.locales>zh_CN</project.build.locales>
  24. <docker.image.prefix>wechat-mp-demo</docker.image.prefix>
  25. </properties>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. <exclusions>
  35. <exclusion>
  36. <groupId>com.fasterxml.jackson.core</groupId>
  37. <artifactId>jackson-databind</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.github.binarywang</groupId>
  47. <artifactId>weixin-java-mp</artifactId>
  48. <version>${weixin-java-mp.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.github.binarywang</groupId>
  52. <artifactId>weixin-java-open</artifactId>
  53. <version>${weixin-java-mp.version}</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.projectlombok</groupId>
  57. <artifactId>lombok</artifactId>
  58. <version>1.18.12</version>
  59. <scope>provided</scope>
  60. </dependency>
  61. <!-- Testing Dependencies -->
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>redis.clients</groupId>
  69. <artifactId>jedis</artifactId>
  70. <version>2.9.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-configuration-processor</artifactId>
  75. <optional>true</optional>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.testng</groupId>
  79. <artifactId>testng</artifactId>
  80. <version>6.14.3</version>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.rest-assured</groupId>
  85. <artifactId>rest-assured</artifactId>
  86. <version>3.1.1</version>
  87. <scope>test</scope>
  88. </dependency>
  89. <!-- Mybatis-plus -->
  90. <dependency>
  91. <groupId>com.baomidou</groupId>
  92. <artifactId>mybatis-plus-boot-starter</artifactId>
  93. <version>3.0.5</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba</groupId>
  97. <artifactId>druid-spring-boot-starter</artifactId>
  98. <version>1.1.10</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.baomidou</groupId>
  102. <artifactId>mybatis-plus-support</artifactId>
  103. <version>2.1.9</version>
  104. </dependency>
  105. <!-- 数据库连接驱动 -->
  106. <dependency>
  107. <groupId>com.microsoft.sqlserver</groupId>
  108. <artifactId>mssql-jdbc</artifactId>
  109. <version>7.4.1.jre8</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.47</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.junit.jupiter</groupId>
  118. <artifactId>junit-jupiter</artifactId>
  119. <version>RELEASE</version>
  120. <scope>compile</scope>
  121. </dependency>
  122. <dependency>
  123. <groupId>commons-beanutils</groupId>
  124. <artifactId>commons-beanutils</artifactId>
  125. <version>1.9.4</version>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. </plugin>
  134. <plugin>
  135. <groupId>com.spotify</groupId>
  136. <artifactId>docker-maven-plugin</artifactId>
  137. <version>1.0.0</version>
  138. <configuration>
  139. <imageName>${docker.image.prefix}/${project.artifactId}</imageName>
  140. <dockerDirectory>src/main/docker</dockerDirectory>
  141. <resources>
  142. <resource>
  143. <targetPath>/</targetPath>
  144. <directory>${project.build.directory}</directory>
  145. <include>${project.build.finalName}.jar</include>
  146. </resource>
  147. </resources>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>