pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-validation</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-aop</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.h2database</groupId>
  34. <artifactId>h2</artifactId>
  35. <scope>runtime</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springdoc</groupId>
  49. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  50. <version>2.1.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>net.coobird</groupId>
  54. <artifactId>thumbnailator</artifactId>
  55. <version>0.4.20</version>
  56. </dependency>
  57. </dependencies>
  58. <!-- 配置阿里云仓库 -->
  59. <repositories>
  60. <repository>
  61. <id>aliyun-repos</id>
  62. <url>https://maven.aliyun.com/repository/public</url>
  63. <releases>
  64. <enabled>true</enabled>
  65. </releases>
  66. <snapshots>
  67. <enabled>false</enabled>
  68. </snapshots>
  69. </repository>
  70. </repositories>
  71. <pluginRepositories>
  72. <pluginRepository>
  73. <id>aliyun-repos</id>
  74. <url>https://maven.aliyun.com/repository/public</url>
  75. <releases>
  76. <enabled>true</enabled>
  77. </releases>
  78. <snapshots>
  79. <enabled>false</enabled>
  80. </snapshots>
  81. </pluginRepository>
  82. </pluginRepositories>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-maven-plugin</artifactId>
  88. <configuration>
  89. <excludes>
  90. <exclude>
  91. <groupId>org.projectlombok</groupId>
  92. <artifactId>lombok</artifactId>
  93. </exclude>
  94. </excludes>
  95. </configuration>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>