pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.0</version>
  9. <relativePath/>
  10. </parent>
  11. <groupId>com.lianda</groupId>
  12. <artifactId>auth</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>auth</name>
  15. <description>Authentication Server for Lianda Tugboat System</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-data-jpa</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-security</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-oauth2-client</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.security</groupId>
  42. <artifactId>spring-security-oauth2-authorization-server</artifactId>
  43. <version>0.4.2</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>io.jsonwebtoken</groupId>
  47. <artifactId>jjwt-api</artifactId>
  48. <version>0.11.5</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.jsonwebtoken</groupId>
  52. <artifactId>jjwt-impl</artifactId>
  53. <version>0.11.5</version>
  54. <scope>runtime</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.jsonwebtoken</groupId>
  58. <artifactId>jjwt-jackson</artifactId>
  59. <version>0.11.5</version>
  60. <scope>runtime</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. <scope>runtime</scope>
  66. </dependency>
  67. <!-- H2 Database -->
  68. <dependency>
  69. <groupId>com.h2database</groupId>
  70. <artifactId>h2</artifactId>
  71. <scope>runtime</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.projectlombok</groupId>
  75. <artifactId>lombok</artifactId>
  76. <optional>true</optional>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-test</artifactId>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.security</groupId>
  85. <artifactId>spring-security-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <configuration>
  95. <excludes>
  96. <exclude>
  97. <groupId>org.projectlombok</groupId>
  98. <artifactId>lombok</artifactId>
  99. </exclude>
  100. </excludes>
  101. </configuration>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>