pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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>3.1.1</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.zhixinghe1</groupId>
  12. <artifactId>ots</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>ots</name>
  15. <description>a online tool service</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <mapstruct.version>1.5.5.Final</mapstruct.version>
  19. <mybatis.plus.version>3.5.3.1</mybatis.plus.version>
  20. <thumbnailator.version>0.4.20</thumbnailator.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-validation</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-aop</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.h2database</groupId>
  37. <artifactId>h2</artifactId>
  38. <scope>runtime</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. <optional>true</optional>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springdoc</groupId>
  52. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  53. <version>2.1.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>net.coobird</groupId>
  57. <artifactId>thumbnailator</artifactId>
  58. <version>${thumbnailator.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.baomidou</groupId>
  62. <artifactId>mybatis-plus-boot-starter</artifactId>
  63. <version>${mybatis.plus.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mapstruct</groupId>
  67. <artifactId>mapstruct</artifactId>
  68. <version>${mapstruct.version}</version>
  69. </dependency>
  70. </dependencies>
  71. <!-- 配置阿里云仓库 -->
  72. <repositories>
  73. <repository>
  74. <id>aliyun-repos</id>
  75. <url>https://maven.aliyun.com/repository/public</url>
  76. <releases>
  77. <enabled>true</enabled>
  78. </releases>
  79. <snapshots>
  80. <enabled>false</enabled>
  81. </snapshots>
  82. </repository>
  83. </repositories>
  84. <pluginRepositories>
  85. <pluginRepository>
  86. <id>aliyun-repos</id>
  87. <url>https://maven.aliyun.com/repository/public</url>
  88. <releases>
  89. <enabled>true</enabled>
  90. </releases>
  91. <snapshots>
  92. <enabled>false</enabled>
  93. </snapshots>
  94. </pluginRepository>
  95. </pluginRepositories>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <configuration>
  102. <excludes>
  103. <exclude>
  104. <groupId>org.projectlombok</groupId>
  105. <artifactId>lombok</artifactId>
  106. </exclude>
  107. </excludes>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>