pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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.malk</groupId>
  6. <artifactId>tonglibo</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>mjava-tonglibo</name>
  9. <description>mjava-tonglibo</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</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>commons-codec</groupId>
  23. <artifactId>commons-codec</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. <version>8.0.33</version> <!-- 必须 >= 8.0 -->
  39. </dependency>
  40. <dependency>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>mybatis-plus-boot-starter</artifactId>
  43. <version>3.5.3.2</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.malk</groupId>
  47. <artifactId>base</artifactId>
  48. <version>1.3</version>
  49. </dependency>
  50. </dependencies>
  51. <dependencyManagement>
  52. <dependencies>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-dependencies</artifactId>
  56. <version>${spring-boot.version}</version>
  57. <type>pom</type>
  58. <scope>import</scope>
  59. </dependency>
  60. </dependencies>
  61. </dependencyManagement>
  62. <build>
  63. <finalName>tonglibo</finalName>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>3.8.1</version>
  69. <configuration>
  70. <source>1.8</source>
  71. <target>1.8</target>
  72. <encoding>UTF-8</encoding>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <version>${spring-boot.version}</version>
  79. <configuration>
  80. <mainClass>com.malk.tonglibo.MjavaTongliboApplication</mainClass>
  81. <!-- <skip>true</skip>-->
  82. </configuration>
  83. <executions>
  84. <execution>
  85. <id>repackage</id>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>