pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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.7.14</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.zhaoliangsz</groupId>
  12. <artifactId>grain-search</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>grain-search</name>
  15. <description>grain-search</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-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.httpcomponents</groupId>
  26. <artifactId>httpclient</artifactId>
  27. <version>4.5.13</version> <!-- 请使用最新的稳定版本 -->
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-test</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <!-- Redis start -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-data-redis</artifactId>
  38. </dependency>
  39. <!-- Redis end -->
  40. <!--MySQL jdbc 驱动 start-->
  41. <dependency>
  42. <groupId>mysql</groupId>
  43. <artifactId>mysql-connector-java</artifactId>
  44. <version>8.0.28</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.projectlombok</groupId>
  48. <artifactId>lombok</artifactId>
  49. <version>1.18.4</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <!--MySQL jdbc 驱动 end-->
  53. <dependency>
  54. <groupId>org.apache.commons</groupId>
  55. <artifactId>commons-lang3</artifactId>
  56. <version>3.12.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.zxing</groupId>
  60. <artifactId>core</artifactId>
  61. <version>3.3.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.google.zxing</groupId>
  65. <artifactId>javase</artifactId>
  66. <version>3.3.0</version>
  67. </dependency>
  68. <!-- 引入mybatis-plus-generator依赖 -->
  69. <!-- mybatis_plus -->
  70. <dependency>
  71. <groupId>com.baomidou</groupId>
  72. <artifactId>mybatis-plus-boot-starter</artifactId>
  73. <version>3.5.3.1</version>
  74. </dependency>
  75. <!-- 代码生成器 -->
  76. <dependency>
  77. <groupId>com.baomidou</groupId>
  78. <artifactId>mybatis-plus-generator</artifactId>
  79. <version>3.5.3.1</version>
  80. </dependency>
  81. <!-- 代码生成器的模板引擎 -->
  82. <dependency>
  83. <groupId>org.apache.velocity</groupId>
  84. <artifactId>velocity-engine-core</artifactId>
  85. <version>2.3</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. <version>1.2.73</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>cn.hutool</groupId>
  94. <artifactId>hutool-all</artifactId>
  95. <version>5.4.3</version>
  96. </dependency>
  97. </dependencies>
  98. <build>
  99. <!-- 添加资源 -->
  100. <resources>
  101. <resource>
  102. <directory>src/main/resources</directory>
  103. <!-- src/main/resources下的指定资源放行 -->
  104. <includes>
  105. <include>**/*.properties</include>
  106. <include>**/*.yml</include>
  107. <include>**/*.xml</include>
  108. <include>**/*.vm</include>
  109. </includes>
  110. <filtering>false</filtering>
  111. </resource>
  112. </resources>
  113. <plugins>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-compiler-plugin</artifactId>
  121. <version>3.1</version>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>