pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <!-- Redis start -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-data-redis</artifactId>
  33. </dependency>
  34. <!-- Redis end -->
  35. <!--MySQL jdbc 驱动 start-->
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. <version>8.0.28</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. <version>1.18.4</version>
  45. <scope>compile</scope>
  46. </dependency>
  47. <!--MySQL jdbc 驱动 end-->
  48. <dependency>
  49. <groupId>org.apache.commons</groupId>
  50. <artifactId>commons-lang3</artifactId>
  51. <version>3.12.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.google.zxing</groupId>
  55. <artifactId>core</artifactId>
  56. <version>3.3.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.zxing</groupId>
  60. <artifactId>javase</artifactId>
  61. <version>3.3.0</version>
  62. </dependency>
  63. <!-- 引入mybatis-plus-generator依赖 -->
  64. <!-- mybatis_plus -->
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-boot-starter</artifactId>
  68. <version>3.5.3.1</version>
  69. </dependency>
  70. <!-- 代码生成器 -->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-generator</artifactId>
  74. <version>3.5.3.1</version>
  75. </dependency>
  76. <!-- 代码生成器的模板引擎 -->
  77. <dependency>
  78. <groupId>org.apache.velocity</groupId>
  79. <artifactId>velocity-engine-core</artifactId>
  80. <version>2.3</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>cn.hutool</groupId>
  84. <artifactId>hutool-all</artifactId>
  85. <version>5.4.3</version>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <!-- 添加资源 -->
  90. <resources>
  91. <resource>
  92. <directory>src/main/resources</directory>
  93. <!-- src/main/resources下的指定资源放行 -->
  94. <includes>
  95. <include>**/*.properties</include>
  96. <include>**/*.yml</include>
  97. <include>**/*.xml</include>
  98. <include>**/*.vm</include>
  99. </includes>
  100. <filtering>false</filtering>
  101. </resource>
  102. </resources>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-maven-plugin</artifactId>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-compiler-plugin</artifactId>
  111. <version>3.1</version>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </project>