pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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.lianda</groupId>
  7. <artifactId>java-backend</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.7.15</version>
  13. <relativePath/> <!-- lookup parent from repository -->
  14. </parent>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. </properties>
  20. <dependencies>
  21. <!-- Spring Boot Web -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <!-- Spring Boot Data JPA -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-jpa</artifactId>
  30. </dependency>
  31. <!-- Spring Boot Validation -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-validation</artifactId>
  35. </dependency>
  36. <!-- MySQL Connector -->
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. <version>8.0.28</version>
  41. <scope>runtime</scope>
  42. </dependency>
  43. <!-- Spring Boot Security -->
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-security</artifactId>
  47. </dependency>
  48. <!-- Apache POI for Excel export -->
  49. <dependency>
  50. <groupId>org.apache.poi</groupId>
  51. <artifactId>poi</artifactId>
  52. <version>5.2.3</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.apache.poi</groupId>
  56. <artifactId>poi-ooxml</artifactId>
  57. <version>5.2.3</version>
  58. </dependency>
  59. <!-- JWT Authentication -->
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt-api</artifactId>
  63. <version>0.11.5</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>io.jsonwebtoken</groupId>
  67. <artifactId>jjwt-impl</artifactId>
  68. <version>0.11.5</version>
  69. <scope>runtime</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.jsonwebtoken</groupId>
  73. <artifactId>jjwt-jackson</artifactId>
  74. <version>0.11.5</version>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <!-- Spring Security OAuth2 Client -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-oauth2-client</artifactId>
  81. </dependency>
  82. <!-- Spring Security OAuth2 Resource Server -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  86. </dependency>
  87. <!-- Spring Boot DevTools -->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-devtools</artifactId>
  91. <scope>runtime</scope>
  92. <optional>true</optional>
  93. </dependency>
  94. <!-- Spring Boot Test -->
  95. <dependency>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-starter-test</artifactId>
  98. <scope>test</scope>
  99. </dependency>
  100. <!-- Lombok -->
  101. <dependency>
  102. <groupId>org.projectlombok</groupId>
  103. <artifactId>lombok</artifactId>
  104. <optional>true</optional>
  105. </dependency>
  106. <!-- Apache Commons CSV -->
  107. <dependency>
  108. <groupId>org.apache.commons</groupId>
  109. <artifactId>commons-csv</artifactId>
  110. <version>1.9.0</version>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-compiler-plugin</artifactId>
  118. <version>3.8.1</version>
  119. <configuration>
  120. <source>${java.version}</source>
  121. <target>${java.version}</target>
  122. <annotationProcessorPaths>
  123. <path>
  124. <groupId>org.projectlombok</groupId>
  125. <artifactId>lombok</artifactId>
  126. <version>1.18.24</version>
  127. </path>
  128. </annotationProcessorPaths>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. <configuration>
  135. <jvmArguments>-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8</jvmArguments>
  136. </configuration>
  137. </plugin>
  138. </plugins>
  139. </build>
  140. </project>