pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. <!--JWT start-->
  52. <dependency>
  53. <groupId>com.auth0</groupId>
  54. <artifactId>java-jwt</artifactId>
  55. <version>3.5.0</version>
  56. </dependency>
  57. <!--JWT end-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. <scope>test</scope>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.junit.vintage</groupId>
  65. <artifactId>junit-vintage-engine</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. </dependencies>
  70. <dependencyManagement>
  71. <dependencies>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-dependencies</artifactId>
  75. <version>${spring-boot.version}</version>
  76. <type>pom</type>
  77. <scope>import</scope>
  78. </dependency>
  79. </dependencies>
  80. </dependencyManagement>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-compiler-plugin</artifactId>
  86. <version>3.8.1</version>
  87. <configuration>
  88. <source>1.8</source>
  89. <target>1.8</target>
  90. <encoding>UTF-8</encoding>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. <version>2.3.0.RELEASE</version>
  97. <configuration>
  98. <mainClass>com.idiot.operationbackend.OperationBackendApplication</mainClass>
  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>