pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.fjhx</groupId>
  7. <artifactId>email-sync</artifactId>
  8. <version>1.0</version>
  9. <properties>
  10. <maven.compiler.source>8</maven.compiler.source>
  11. <maven.compiler.target>8</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. </properties>
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.7.6</version>
  18. </parent>
  19. <dependencies>
  20. <!-- SpringBoot Web容器 -->
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!-- mysql数据库驱动 -->
  26. <dependency>
  27. <groupId>mysql</groupId>
  28. <artifactId>mysql-connector-java</artifactId>
  29. </dependency>
  30. <!-- lombok -->
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. </dependency>
  35. <!-- mail -->
  36. <dependency>
  37. <groupId>com.sun.mail</groupId>
  38. <artifactId>jakarta.mail</artifactId>
  39. </dependency>
  40. <!-- mybatis-plus -->
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. <version>3.5.3.1</version>
  45. </dependency>
  46. <!-- hutool -->
  47. <dependency>
  48. <groupId>cn.hutool</groupId>
  49. <artifactId>hutool-all</artifactId>
  50. <version>5.8.18</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-generator</artifactId>
  55. <version>3.5.3.1</version>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.velocity</groupId>
  60. <artifactId>velocity-engine-core</artifactId>
  61. <version>2.3</version>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba.fastjson2</groupId>
  66. <artifactId>fastjson2</artifactId>
  67. <version>2.0.25</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.huaweicloud</groupId>
  71. <artifactId>esdk-obs-java</artifactId>
  72. <version>3.22.12</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.squareup.okio</groupId>
  76. <artifactId>okio</artifactId>
  77. <version>3.3.0</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>junit</groupId>
  86. <artifactId>junit</artifactId>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-io</groupId>
  91. <artifactId>commons-io</artifactId>
  92. <version>2.6</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <finalName>${project.artifactId}</finalName>
  97. <plugins>
  98. <!-- springBoot plugin -->
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. </plugin>
  103. <!-- 指定java版本 -->
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <configuration>
  108. <encoding>UTF-8</encoding>
  109. <source>1.8</source>
  110. <target>1.8</target>
  111. </configuration>
  112. </plugin>
  113. </plugins>
  114. <resources>
  115. <resource>
  116. <directory>src/main/java</directory>
  117. <includes>
  118. <include>com/fjhx/email/mapper/xml/*.xml</include>
  119. </includes>
  120. </resource>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. </resource>
  124. </resources>
  125. </build>
  126. </project>