pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. <!-- MySQL Connector -->
  32. <dependency>
  33. <groupId>mysql</groupId>
  34. <artifactId>mysql-connector-java</artifactId>
  35. <version>8.0.28</version>
  36. <scope>runtime</scope>
  37. </dependency>
  38. <!-- Spring Boot Security -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-security</artifactId>
  42. </dependency>
  43. <!-- Apache POI for Excel export -->
  44. <dependency>
  45. <groupId>org.apache.poi</groupId>
  46. <artifactId>poi</artifactId>
  47. <version>5.2.3</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.poi</groupId>
  51. <artifactId>poi-ooxml</artifactId>
  52. <version>5.2.3</version>
  53. </dependency>
  54. <!-- JWT Authentication -->
  55. <dependency>
  56. <groupId>io.jsonwebtoken</groupId>
  57. <artifactId>jjwt-api</artifactId>
  58. <version>0.11.5</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt-impl</artifactId>
  63. <version>0.11.5</version>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.jsonwebtoken</groupId>
  68. <artifactId>jjwt-jackson</artifactId>
  69. <version>0.11.5</version>
  70. <scope>runtime</scope>
  71. </dependency>
  72. <!-- Spring Security OAuth2 Client -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-oauth2-client</artifactId>
  76. </dependency>
  77. <!-- Spring Security OAuth2 Resource Server -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  81. </dependency>
  82. <!-- Spring Boot DevTools -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-devtools</artifactId>
  86. <scope>runtime</scope>
  87. <optional>true</optional>
  88. </dependency>
  89. <!-- Spring Boot Test -->
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-test</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95. <!-- Lombok -->
  96. <dependency>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. <optional>true</optional>
  100. </dependency>
  101. <!-- Apache Commons CSV -->
  102. <dependency>
  103. <groupId>org.apache.commons</groupId>
  104. <artifactId>commons-csv</artifactId>
  105. <version>1.9.0</version>
  106. </dependency>
  107. </dependencies>
  108. <build>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-compiler-plugin</artifactId>
  113. <version>3.8.1</version>
  114. <configuration>
  115. <source>${java.version}</source>
  116. <target>${java.version}</target>
  117. <annotationProcessorPaths>
  118. <path>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. <version>1.18.24</version>
  122. </path>
  123. </annotationProcessorPaths>
  124. </configuration>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-maven-plugin</artifactId>
  129. <configuration>
  130. <jvmArguments>-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8</jvmArguments>
  131. </configuration>
  132. </plugin>
  133. </plugins>
  134. </build>
  135. </project>