pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. </properties>
  18. <dependencies>
  19. <!-- Spring Boot Web -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- Spring Boot Data JPA -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-jpa</artifactId>
  28. </dependency>
  29. <!-- MySQL Connector -->
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. <version>8.0.28</version>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <!-- Spring Boot Security -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-security</artifactId>
  40. </dependency>
  41. <!-- JWT Authentication -->
  42. <dependency>
  43. <groupId>io.jsonwebtoken</groupId>
  44. <artifactId>jjwt-api</artifactId>
  45. <version>0.11.5</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>io.jsonwebtoken</groupId>
  49. <artifactId>jjwt-impl</artifactId>
  50. <version>0.11.5</version>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.jsonwebtoken</groupId>
  55. <artifactId>jjwt-jackson</artifactId>
  56. <version>0.11.5</version>
  57. <scope>runtime</scope>
  58. </dependency>
  59. <!-- Spring Security OAuth2 Client -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-oauth2-client</artifactId>
  63. </dependency>
  64. <!-- Spring Security OAuth2 Resource Server -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  68. </dependency>
  69. <!-- Spring Boot DevTools -->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-devtools</artifactId>
  73. <scope>runtime</scope>
  74. <optional>true</optional>
  75. </dependency>
  76. <!-- Spring Boot Test -->
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <!-- Lombok -->
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. <optional>true</optional>
  87. </dependency>
  88. <!-- Apache Commons CSV -->
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-csv</artifactId>
  92. <version>1.9.0</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>3.8.1</version>
  101. <configuration>
  102. <source>${java.version}</source>
  103. <target>${java.version}</target>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-maven-plugin</artifactId>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>