pom.xml 4.2 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. <groupId>lttc.cn</groupId>
  6. <artifactId>centeen</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>centeen</name>
  10. <description>centeen</description>
  11. <properties>
  12. <java.version>11</java.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <spring-boot.version>3.0.2</spring-boot.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-devtools</artifactId>
  25. <scope>runtime</scope>
  26. <optional>true</optional>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.projectlombok</groupId>
  30. <artifactId>lombok</artifactId>
  31. <optional>true</optional>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-test</artifactId>
  36. <scope>test</scope>
  37. </dependency>
  38. <!-- https://mvnrepository.com/artifact/io.minio/minio -->
  39. <dependency>
  40. <groupId>io.minio</groupId>
  41. <artifactId>minio</artifactId>
  42. <version>8.5.2</version>
  43. </dependency>
  44. <!-- MyBatis Plus -->
  45. <dependency>
  46. <groupId>com.baomidou</groupId>
  47. <artifactId>mybatis-plus-boot-starter</artifactId>
  48. <version>3.5.3.2</version> <!-- 请替换为实际的最新版本号 -->
  49. </dependency>
  50. <!-- MySQL驱动 -->
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. <scope>runtime</scope>
  55. </dependency>
  56. </dependencies>
  57. <dependencyManagement>
  58. <dependencies>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-dependencies</artifactId>
  62. <version>${spring-boot.version}</version>
  63. <type>pom</type>
  64. <scope>import</scope>
  65. </dependency>
  66. </dependencies>
  67. </dependencyManagement>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-compiler-plugin</artifactId>
  73. <version>3.10.1</version>
  74. <configuration>
  75. <source>11</source>
  76. <target>11</target>
  77. <encoding>UTF-8</encoding>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-jar-plugin</artifactId>
  83. <version>3.2.0</version>
  84. <configuration>
  85. <archive>
  86. <manifest>
  87. <mainClass>lttc.cn.centeen.CanteenApplication</mainClass>
  88. </manifest>
  89. </archive>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. <version>${spring-boot.version}</version>
  96. <configuration>
  97. <mainClass>lttc.cn.centeen.CanteenApplication</mainClass>
  98. <!-- <skip>true</skip>-->
  99. </configuration>
  100. <executions>
  101. <execution>
  102. <id>repackage</id>
  103. <goals>
  104. <goal>repackage</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>