pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <groupId>com.smart.reader</groupId>
  6. <artifactId>smart-reader</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>smart-reader</name>
  9. <description>Demo project for Spring Boot</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.7.6</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-validation</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>javax.servlet</groupId>
  27. <artifactId>servlet-api</artifactId>
  28. <version>2.5</version>
  29. </dependency>
  30. <!-- jdbc驱动-->
  31. <dependency>
  32. <groupId>com.mysql</groupId>
  33. <artifactId>mysql-connector-j</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <!-- mybatis-plus-->
  37. <dependency>
  38. <groupId>com.baomidou</groupId>
  39. <artifactId>mybatis-plus-boot-starter</artifactId>
  40. <version>3.5.3.1</version>
  41. </dependency>
  42. <!-- pagehelper 分页组件-->
  43. <dependency>
  44. <groupId>com.github.pagehelper</groupId>
  45. <artifactId>pagehelper-spring-boot-starter</artifactId>
  46. <version>1.4.6</version>
  47. </dependency>
  48. <!-- 工具类hutool ,简化开发-->
  49. <dependency>
  50. <groupId>cn.hutool</groupId>
  51. <artifactId>hutool-core</artifactId>
  52. <version>5.8.26</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>cn.hutool</groupId>
  56. <artifactId>hutool-json</artifactId>
  57. <version>5.8.26</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.github.xiaoymin</groupId>
  70. <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
  71. <version>4.4.0</version>
  72. </dependency>
  73. </dependencies>
  74. <dependencyManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-dependencies</artifactId>
  79. <version>${spring-boot.version}</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. </dependencies>
  84. </dependencyManagement>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <version>3.8.1</version>
  91. <configuration>
  92. <source>1.8</source>
  93. <target>1.8</target>
  94. <encoding>UTF-8</encoding>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. <version>${spring-boot.version}</version>
  101. <configuration>
  102. <mainClass>com.smart.reader.SmartReaderApplication</mainClass>
  103. <skip>true</skip>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>repackage</id>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>