pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <parent>
  6. <artifactId>jnpf-boot-common</artifactId>
  7. <groupId>com.jnpf</groupId>
  8. <version>5.2.0-RELEASE</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>jnpf-common-auth</artifactId>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.jnpf</groupId>
  16. <artifactId>jnpf-common-redis</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>cn.dev33</groupId>
  20. <artifactId>sa-token-jwt</artifactId>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>cn.hutool</groupId>
  24. <artifactId>hutool-jwt</artifactId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>cn.dev33</groupId>
  30. <artifactId>sa-token-redis-jackson</artifactId>
  31. <!--<exclusions>
  32. <exclusion>
  33. <artifactId>spring-boot-starter-data-redis</artifactId>
  34. <groupId>org.springframework.boot</groupId>
  35. </exclusion>
  36. </exclusions>-->
  37. </dependency>
  38. </dependencies>
  39. <profiles>
  40. <profile>
  41. <id>boot3</id>
  42. <activation>
  43. <jdk>[17,)</jdk>
  44. </activation>
  45. <dependencies>
  46. <dependency>
  47. <groupId>cn.dev33</groupId>
  48. <artifactId>sa-token-spring-boot3-starter</artifactId>
  49. </dependency>
  50. </dependencies>
  51. </profile>
  52. <profile>
  53. <id>boot2</id>
  54. <activation>
  55. <jdk>(,17)</jdk>
  56. </activation>
  57. <dependencies>
  58. <dependency>
  59. <groupId>cn.dev33</groupId>
  60. <artifactId>sa-token-spring-boot-starter</artifactId>
  61. </dependency>
  62. </dependencies>
  63. </profile>
  64. </profiles>
  65. </project>