pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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. <parent>
  3. <groupId>io.renren</groupId>
  4. <artifactId>renren-security</artifactId>
  5. <version>4.0.0</version>
  6. </parent>
  7. <modelVersion>4.0.0</modelVersion>
  8. <artifactId>renren-admin</artifactId>
  9. <packaging>jar</packaging>
  10. <description>renren-admin</description>
  11. <properties>
  12. <quartz.version>2.3.0</quartz.version>
  13. <shiro.version>1.4.0</shiro.version>
  14. <kaptcha.version>0.0.9</kaptcha.version>
  15. <qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
  16. <aliyun.oss.version>2.5.0</aliyun.oss.version>
  17. <qcloud.cos.version>4.4</qcloud.cos.version>
  18. <swagger.version>2.7.0</swagger.version>
  19. </properties>
  20. <dependencies>
  21. <!--热部署的依赖-->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-devtools</artifactId>
  25. <scope>runtime</scope>
  26. <optional>true</optional>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.hutool</groupId>
  30. <artifactId>hutool-core</artifactId>
  31. <version>5.7.20</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.renren</groupId>
  35. <artifactId>renren-common</artifactId>
  36. <version>4.0.0</version>
  37. </dependency>
  38. <!-- 集群环境,需要打开注释 -->
  39. <!--<dependency>-->
  40. <!--<groupId>org.springframework.session</groupId>-->
  41. <!--<artifactId>spring-session-data-redis</artifactId>-->
  42. <!--</dependency>-->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-freemarker</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.quartz-scheduler</groupId>
  49. <artifactId>quartz</artifactId>
  50. <version>${quartz.version}</version>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>com.mchange</groupId>
  54. <artifactId>c3p0</artifactId>
  55. </exclusion>
  56. <exclusion>
  57. <groupId>com.zaxxer</groupId>
  58. <artifactId>HikariCP-java6</artifactId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.shiro</groupId>
  64. <artifactId>shiro-core</artifactId>
  65. <version>${shiro.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.shiro</groupId>
  69. <artifactId>shiro-spring</artifactId>
  70. <version>${shiro.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.github.axet</groupId>
  74. <artifactId>kaptcha</artifactId>
  75. <version>${kaptcha.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.springfox</groupId>
  79. <artifactId>springfox-swagger2</artifactId>
  80. <version>${swagger.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.springfox</groupId>
  84. <artifactId>springfox-swagger-ui</artifactId>
  85. <version>${swagger.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.qiniu</groupId>
  89. <artifactId>qiniu-java-sdk</artifactId>
  90. <version>${qiniu.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.aliyun.oss</groupId>
  94. <artifactId>aliyun-sdk-oss</artifactId>
  95. <version>${aliyun.oss.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.qcloud</groupId>
  99. <artifactId>cos_api</artifactId>
  100. <version>${qcloud.cos.version}</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.slf4j</groupId>
  104. <artifactId>slf4j-log4j12</artifactId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>io.renren</groupId>
  110. <artifactId>renren-dynamic-datasource</artifactId>
  111. <version>4.0.0</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <!-- 热部署 -->
  115. <dependency>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-devtools</artifactId>
  118. <optional>true</optional>
  119. </dependency>
  120. <!--UEditor依赖的jar包 -->
  121. <dependency>
  122. <groupId>org.json</groupId>
  123. <artifactId>json</artifactId>
  124. <version>20160810</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>cn.meddb</groupId>
  128. <artifactId>ueditor</artifactId>
  129. <version>20180110</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>it.sauronsoftware.jave</groupId>
  133. <artifactId>jave</artifactId>
  134. <version>1.0.2</version>
  135. <scope>system</scope>
  136. <systemPath>${project.basedir}/src/main/resources/lib/jave-1.0.2.jar</systemPath>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.assertj</groupId>
  140. <artifactId>assertj-core</artifactId>
  141. </dependency>
  142. <!--微信支付-->
  143. <dependency>
  144. <groupId>com.github.wxpay</groupId>
  145. <artifactId>wxpay-sdk</artifactId>
  146. <version>0.0.3</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.github.binarywang</groupId>
  150. <artifactId>weixin-java-miniapp</artifactId>
  151. <version>3.8.0</version>
  152. <scope>compile</scope>
  153. </dependency>
  154. <!--邮件发送-->
  155. <dependency>
  156. <groupId>org.springframework.boot</groupId>
  157. <artifactId>spring-boot-starter-mail</artifactId>
  158. <version>2.1.3.RELEASE</version>
  159. </dependency>
  160. <!--多数据源-->
  161. <dependency>
  162. <groupId>io.renren</groupId>
  163. <artifactId>renren-dynamic-datasource</artifactId>
  164. <version>4.0.0</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>cn.hutool</groupId>
  168. <artifactId>hutool-all</artifactId>
  169. <version>4.1.1</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.bouncycastle</groupId>
  173. <artifactId>bcprov-jdk15on</artifactId>
  174. <version>1.56</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.baomidou</groupId>
  178. <artifactId>mybatis-plus-extension</artifactId>
  179. <version>3.0.7.1</version>
  180. <scope>compile</scope>
  181. </dependency>
  182. <dependency>
  183. <groupId>io.renren</groupId>
  184. <artifactId>renren-generator</artifactId>
  185. <version>1.1.0</version>
  186. <scope>compile</scope>
  187. </dependency>
  188. </dependencies>
  189. <build>
  190. <finalName>${project.artifactId}</finalName>
  191. <plugins>
  192. <plugin>
  193. <groupId>org.springframework.boot</groupId>
  194. <artifactId>spring-boot-maven-plugin</artifactId>
  195. <configuration>
  196. <includeSystemScope>true</includeSystemScope>
  197. </configuration>
  198. </plugin>
  199. <!-- 跳过单元测试 -->
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-surefire-plugin</artifactId>
  203. <configuration>
  204. <skipTests>true</skipTests>
  205. </configuration>
  206. </plugin>
  207. <plugin>
  208. <groupId>com.spotify</groupId>
  209. <artifactId>docker-maven-plugin</artifactId>
  210. <version>0.4.14</version>
  211. <configuration>
  212. <imageName>renren/admin</imageName>
  213. <dockerDirectory>${project.basedir}</dockerDirectory>
  214. <resources>
  215. <resource>
  216. <targetPath>/</targetPath>
  217. <directory>${project.build.directory}</directory>
  218. <include>${project.build.finalName}.jar</include>
  219. </resource>
  220. </resources>
  221. </configuration>
  222. <!-- 运行命令 mvn clean package docker:build 打包并生成docker镜像 -->
  223. </plugin>
  224. </plugins>
  225. </build>
  226. </project>