pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-configuration-processor</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <!--mysql mybatis-plus start-->
  31. <dependency>
  32. <groupId>com.baomidou</groupId>
  33. <artifactId>mybatis-plus-boot-starter</artifactId>
  34. <version>3.4.0</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>mysql</groupId>
  38. <artifactId>mysql-connector-java</artifactId>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <!--mysql mybatis-plus end-->
  42. <!-- swagger2 start -->
  43. <dependency>
  44. <groupId>com.github.xiaoymin</groupId>
  45. <artifactId>knife4j-spring-boot-starter</artifactId>
  46. <version>2.0.4</version>
  47. </dependency>
  48. <!-- swagger2 start -->
  49. <!--JWT start-->
  50. <dependency>
  51. <groupId>com.auth0</groupId>
  52. <artifactId>java-jwt</artifactId>
  53. <version>3.5.0</version>
  54. </dependency>
  55. <!--JWT end-->
  56. <!--微信需要使用到的包 start-->
  57. <!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
  58. <dependency>
  59. <groupId>dom4j</groupId>
  60. <artifactId>dom4j</artifactId>
  61. <version>1.6.1</version>
  62. </dependency>
  63. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  64. <dependency>
  65. <groupId>commons-codec</groupId>
  66. <artifactId>commons-codec</artifactId>
  67. <version>1.9</version>
  68. </dependency>
  69. <!-- 仅仅是熟悉api 便使用了-->
  70. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  71. <dependency>
  72. <groupId>com.alibaba</groupId>
  73. <artifactId>fastjson</artifactId>
  74. <version>1.2.73</version>
  75. </dependency>
  76. <!--微信需要使用到的包 end-->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>org.junit.vintage</groupId>
  84. <artifactId>junit-vintage-engine</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. </dependencies>
  89. <dependencyManagement>
  90. <dependencies>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-dependencies</artifactId>
  94. <version>${spring-boot.version}</version>
  95. <type>pom</type>
  96. <scope>import</scope>
  97. </dependency>
  98. </dependencies>
  99. </dependencyManagement>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <version>3.8.1</version>
  106. <configuration>
  107. <source>1.8</source>
  108. <target>1.8</target>
  109. <encoding>UTF-8</encoding>
  110. </configuration>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-maven-plugin</artifactId>
  115. <version>2.3.0.RELEASE</version>
  116. <configuration>
  117. <mainClass>com.idiot.operationbackend.OperationBackendApplication</mainClass>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <id>repackage</id>
  122. <goals>
  123. <goal>repackage</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>