pom.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. <!-- 不解释 -->
  6. <groupId>com.xiesx.fast</groupId>
  7. <artifactId>fast-boot</artifactId>
  8. <version>2.2.1</version>
  9. <!-- 打包类型 -->
  10. <packaging>jar</packaging>
  11. <!-- 父类 -->
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>2.4.1</version>
  16. <relativePath /> <!-- lookup parent from repository -->
  17. </parent>
  18. <!-- 配置 -->
  19. <properties>
  20. <!-- 文件拷贝时的编码 -->
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <!-- 编译时的编码 -->
  24. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  25. <!-- JAVA版本 -->
  26. <java.version>1.8</java.version>
  27. </properties>
  28. <!-- 版本管理,会引入jar -->
  29. <dependencies>
  30. <!-- lombok -->
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. </dependency>
  35. <!-- ==========================spring-boot========================== -->
  36. <!-- web -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. <scope>provided</scope>
  41. <exclusions><!-- 去掉默认配置 -->
  42. <exclusion>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-logging</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. <!-- configuration -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-configuration-processor</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <!-- data-jdbc -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-data-jdbc</artifactId>
  58. <scope>provided</scope>
  59. </dependency>
  60. <!-- data-jpa -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-data-jpa</artifactId>
  64. <scope>provided</scope>
  65. </dependency>
  66. <!-- quartz -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-quartz</artifactId>
  70. <scope>provided</scope>
  71. </dependency>
  72. <!-- log4j2 -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-log4j2</artifactId>
  76. <scope>provided</scope>
  77. </dependency>
  78. <!-- test -->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <!-- ==========================jsp========================== -->
  85. <!-- https://mvnrepository.com/artifact/javax.servlet.jsp/jsp-api -->
  86. <dependency>
  87. <groupId>javax.servlet.jsp</groupId>
  88. <artifactId>jsp-api</artifactId>
  89. <version>2.2.1-b03</version>
  90. <scope>provided</scope>
  91. </dependency>
  92. <!-- ==========================数据库========================== -->
  93. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  94. <dependency>
  95. <groupId>mysql</groupId>
  96. <artifactId>mysql-connector-java</artifactId>
  97. <scope>provided</scope>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-sql -->
  100. <dependency>
  101. <groupId>com.querydsl</groupId>
  102. <artifactId>querydsl-sql</artifactId>
  103. <version>${querydsl.version}</version>
  104. <scope>provided</scope>
  105. </dependency>
  106. <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa -->
  107. <dependency>
  108. <groupId>com.querydsl</groupId>
  109. <artifactId>querydsl-jpa</artifactId>
  110. <scope>provided</scope>
  111. </dependency>
  112. <!-- https://mvnrepository.com/artifact/org.hibernate.validator/hibernate-validator -->
  113. <dependency>
  114. <groupId>org.hibernate.validator</groupId>
  115. <artifactId>hibernate-validator</artifactId>
  116. </dependency>
  117. <!-- ==========================工具========================== -->
  118. <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
  119. <dependency>
  120. <groupId>com.google.guava</groupId>
  121. <artifactId>guava</artifactId>
  122. <version>29.0-jre</version>
  123. </dependency>
  124. <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt -->
  125. <dependency>
  126. <groupId>io.jsonwebtoken</groupId>
  127. <artifactId>jjwt</artifactId>
  128. <version>0.9.1</version>
  129. </dependency>
  130. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  131. <dependency>
  132. <groupId>com.alibaba</groupId>
  133. <artifactId>fastjson</artifactId>
  134. <version>1.2.73</version>
  135. </dependency>
  136. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  137. <dependency>
  138. <groupId>commons-codec</groupId>
  139. <artifactId>commons-codec</artifactId>
  140. </dependency>
  141. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  142. <dependency>
  143. <groupId>commons-io</groupId>
  144. <artifactId>commons-io</artifactId>
  145. <version>2.7</version>
  146. </dependency>
  147. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  148. <dependency>
  149. <groupId>org.apache.commons</groupId>
  150. <artifactId>commons-lang3</artifactId>
  151. </dependency>
  152. <!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
  153. <dependency>
  154. <groupId>joda-time</groupId>
  155. <artifactId>joda-time</artifactId>
  156. <version>2.10.6</version>
  157. </dependency>
  158. <!-- ==========================测试•========================== -->
  159. <!-- https://mvnrepository.com/artifact/junit/junit -->
  160. <dependency>
  161. <groupId>junit</groupId>
  162. <artifactId>junit</artifactId>
  163. <scope>test</scope>
  164. </dependency>
  165. </dependencies>
  166. <!-- 版本管理,不会引入jar -->
  167. <dependencyManagement>
  168. <dependencies>
  169. <dependency>
  170. <groupId>org.springframework.cloud</groupId>
  171. <artifactId>spring-cloud-dependencies</artifactId>
  172. <version>Greenwich.SR3</version>
  173. <type>pom</type>
  174. <scope>import</scope>
  175. </dependency>
  176. </dependencies>
  177. </dependencyManagement>
  178. <!-- 开发者(非必须) -->
  179. <developers>
  180. <developer>
  181. <name>136305973</name>
  182. <email>136305973@qq.com</email>
  183. </developer>
  184. </developers>
  185. <!-- 编译 -->
  186. <build>
  187. <finalName>fast-boot</finalName>
  188. <resources>
  189. <resource>
  190. <directory>src/main/resources</directory>
  191. <includes>
  192. <include>**/*.*</include>
  193. </includes>
  194. <filtering>false</filtering>
  195. </resource>
  196. </resources>
  197. <plugins>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-jar-plugin</artifactId>
  201. <configuration>
  202. <archive>
  203. <manifest>
  204. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  205. </manifest>
  206. </archive>
  207. </configuration>
  208. </plugin>
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-surefire-plugin</artifactId>
  212. <configuration>
  213. <skipTests>true</skipTests><!-- 忽略测试 -->
  214. </configuration>
  215. </plugin>
  216. </plugins>
  217. </build>
  218. </project>