pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.7.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jiayue</groupId>
  12. <artifactId>passback</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>passback</name>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>org.apache.commons</groupId>
  21. <artifactId>commons-lang3</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>mysql</groupId>
  29. <artifactId>mysql-connector-java</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.baomidou</groupId>
  33. <artifactId>mybatis-plus-boot-starter</artifactId>
  34. <version>3.5.2</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.freemarker</groupId>
  47. <artifactId>freemarker</artifactId>
  48. <version>2.3.23</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-undertow</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.projectlombok</groupId>
  56. <artifactId>lombok</artifactId>
  57. <version>1.18.22</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>cn.hutool</groupId>
  61. <artifactId>hutool-all</artifactId>
  62. <version>5.8.10</version>
  63. <scope>compile</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>net.jodah</groupId>
  67. <artifactId>expiringmap</artifactId>
  68. <version>0.5.8</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.jsonwebtoken</groupId>
  72. <artifactId>jjwt</artifactId>
  73. <version>0.9.0</version>
  74. <scope>compile</scope>
  75. </dependency>
  76. <!--SFTP-->
  77. <dependency>
  78. <groupId>com.jcraft</groupId>
  79. <artifactId>jsch</artifactId>
  80. <version>0.1.55</version>
  81. </dependency>
  82. <!--SFTP-->
  83. <dependency>
  84. <groupId>commons-io</groupId>
  85. <artifactId>commons-io</artifactId>
  86. <version>2.8.0</version> <!-- 请使用最新的稳定版本 -->
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-resources-plugin</artifactId>
  98. <version>3.1.0</version>
  99. <executions>
  100. <execution>
  101. <id>copy config</id>
  102. <phase>package</phase>
  103. <goals>
  104. <goal>copy-resources</goal>
  105. </goals>
  106. <configuration>
  107. <resources>
  108. <resource>
  109. <directory>src/main/resources</directory>
  110. <includes>
  111. <include>application.properties</include>
  112. <include>template/**</include>
  113. </includes>
  114. </resource>
  115. </resources>
  116. <outputDirectory>../</outputDirectory>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>