pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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.idiot</groupId>
  6. <artifactId>operation-backend</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>operation-backend</name>
  9. <description>Demo project for Spring Boot</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.3.0.RELEASE</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>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-validation</artifactId>
  24. </dependency>
  25. <!--mysql mybatis-plus start-->
  26. <dependency>
  27. <groupId>com.baomidou</groupId>
  28. <artifactId>mybatis-plus-boot-starter</artifactId>
  29. <version>3.4.0</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <!--mysql mybatis-plus end-->
  37. <!-- swagger2 start -->
  38. <dependency>
  39. <groupId>com.github.xiaoymin</groupId>
  40. <artifactId>knife4j-spring-boot-starter</artifactId>
  41. <version>2.0.4</version>
  42. </dependency>
  43. <!-- swagger2 start -->
  44. <!--kaptcha start-->
  45. <dependency>
  46. <groupId>com.baomidou</groupId>
  47. <artifactId>kaptcha-spring-boot-starter</artifactId>
  48. <version>1.1.0</version>
  49. </dependency>
  50. <!--kaptcha end-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. <exclusions>
  56. <exclusion>
  57. <groupId>org.junit.vintage</groupId>
  58. <artifactId>junit-vintage-engine</artifactId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. </dependencies>
  63. <dependencyManagement>
  64. <dependencies>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-dependencies</artifactId>
  68. <version>${spring-boot.version}</version>
  69. <type>pom</type>
  70. <scope>import</scope>
  71. </dependency>
  72. </dependencies>
  73. </dependencyManagement>
  74. <build>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-compiler-plugin</artifactId>
  79. <version>3.8.1</version>
  80. <configuration>
  81. <source>1.8</source>
  82. <target>1.8</target>
  83. <encoding>UTF-8</encoding>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <version>2.3.0.RELEASE</version>
  90. <configuration>
  91. <mainClass>com.idiot.operationbackend.OperationBackendApplication</mainClass>
  92. </configuration>
  93. <executions>
  94. <execution>
  95. <id>repackage</id>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. </project>