pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. <groupId>com.mokamrp</groupId>
  6. <artifactId>moka-private</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>moka-private</name>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <redis.version>3.1.0</redis.version>
  12. <springboot.version>2.1.7.RELEASE</springboot.version>
  13. </properties>
  14. <dependencyManagement>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-dependencies</artifactId>
  19. <version>2.1.7.RELEASE</version>
  20. <type>pom</type>
  21. <scope>import</scope>
  22. </dependency>
  23. </dependencies>
  24. </dependencyManagement>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-validation</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>net.sourceforge.nekohtml</groupId>
  36. <artifactId>nekohtml</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. <scope>runtime</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>1.2.62</version>
  51. </dependency>
  52. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-boot-starter</artifactId>
  56. <version>2.3.3</version>
  57. </dependency>
  58. <!-- Apache velocity -->
  59. <dependency>
  60. <groupId>org.apache.velocity</groupId>
  61. <artifactId>velocity-engine-core</artifactId>
  62. <version>2.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>junit</groupId>
  70. <artifactId>junit</artifactId>
  71. <version>4.11</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <!-- xxl-sso-core -->
  75. <dependency>
  76. <groupId>com.xuxueli</groupId>
  77. <artifactId>xxl-sso-core</artifactId>
  78. <version>1.1.0</version>
  79. </dependency>
  80. <!-- jedis -->
  81. <dependency>
  82. <groupId>redis.clients</groupId>
  83. <artifactId>jedis</artifactId>
  84. <version>3.2.0</version>
  85. </dependency>
  86. <!-- redis 缓存操作 -->
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-data-redis</artifactId>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-surefire-plugin</artifactId>
  97. <version>2.18.1</version>
  98. <configuration>
  99. <skipTests>true</skipTests>
  100. </configuration>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-deploy-plugin</artifactId>
  105. <version>2.8.2</version>
  106. <configuration>
  107. <skip>true</skip>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <version>2.1.7.RELEASE</version>
  114. <configuration>
  115. <fork>true</fork>
  116. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  117. <includeSystemScope>true</includeSystemScope>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <goals>
  122. <goal>repackage</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <!-- maven资源文件复制插件 -->
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-resources-plugin</artifactId>
  131. <version>2.7</version>
  132. <executions>
  133. <execution>
  134. <id>copy-config</id>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>copy-resources</goal>
  138. </goals>
  139. <configuration>
  140. <outputDirectory>${project.build.directory}/</outputDirectory>
  141. <resources>
  142. <resource>
  143. <directory>src/main/resources</directory>
  144. <includes>
  145. <exclude>**/*.xml</exclude>
  146. <exclude>**/*.conf</exclude>
  147. <exclude>**/*.properties</exclude>
  148. </includes>
  149. <filtering>true</filtering>
  150. </resource>
  151. </resources>
  152. <encoding>UTF-8</encoding>
  153. </configuration>
  154. </execution>
  155. </executions>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-jar-plugin</artifactId>
  160. <version>2.4</version>
  161. <configuration>
  162. <finalName>moka-private</finalName>
  163. <excludes>
  164. <exclude>*.properties</exclude>
  165. </excludes>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-compiler-plugin</artifactId>
  171. <configuration>
  172. <source>8</source>
  173. <target>8</target>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. </project>