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.neko</groupId>
  6. <artifactId>nekomimi</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>nekomimi</name>
  9. <description>nekomimi</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.6.13</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>com.mysql</groupId>
  23. <artifactId>mysql-connector-j</artifactId>
  24. <scope>runtime</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. <optional>true</optional>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.baomidou</groupId>
  38. <artifactId>mybatis-plus-boot-starter</artifactId>
  39. <version>3.5.4</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.httpcomponents</groupId>
  43. <artifactId>httpclient</artifactId>
  44. <version>4.5.13</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.httpcomponents</groupId>
  48. <artifactId>httpcore</artifactId>
  49. <version>4.4.14</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-lang</groupId>
  53. <artifactId>commons-lang</artifactId>
  54. <version>2.6</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba.fastjson2</groupId>
  58. <artifactId>fastjson2</artifactId>
  59. <version>2.0.35</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.jsonwebtoken</groupId>
  63. <artifactId>jjwt</artifactId>
  64. <version>0.9.1</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>3.13.0</version> <!-- 请使用最新稳定版本 -->
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-data-redis</artifactId>
  74. </dependency>
  75. </dependencies>
  76. <dependencyManagement>
  77. <dependencies>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-dependencies</artifactId>
  81. <version>${spring-boot.version}</version>
  82. <type>pom</type>
  83. <scope>import</scope>
  84. </dependency>
  85. </dependencies>
  86. </dependencyManagement>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>3.8.1</version>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. <encoding>UTF-8</encoding>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <version>${spring-boot.version}</version>
  103. <configuration>
  104. <mainClass>com.neko.NekomimiApplication</mainClass>
  105. <skip>true</skip>
  106. </configuration>
  107. <executions>
  108. <execution>
  109. <id>repackage</id>
  110. <goals>
  111. <goal>repackage</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>