1
0

pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <artifactId>seecoder-devcloud-common</artifactId>
  6. <version>0.1.0</version>
  7. <build>
  8. <plugins>
  9. <plugin>
  10. <groupId>org.apache.maven.plugins</groupId>
  11. <artifactId>maven-compiler-plugin</artifactId>
  12. <configuration>
  13. <source>6</source>
  14. <target>6</target>
  15. </configuration>
  16. </plugin>
  17. </plugins>
  18. </build>
  19. <packaging>jar</packaging>
  20. <description>Demo project for Spring Boot</description>
  21. <parent>
  22. <artifactId>seecoder-devcloud-parent</artifactId>
  23. <groupId>cn.seecoder</groupId>
  24. <version>0.1.0</version>
  25. </parent>
  26. <properties>
  27. <java.version>1.8</java.version>
  28. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  29. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  30. <spring-boot.version>2.3.4.RELEASE</spring-boot.version>
  31. <jjwt.version>0.11.2</jjwt.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>io.jsonwebtoken</groupId>
  36. <artifactId>jjwt-api</artifactId>
  37. <version>${jjwt.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.jsonwebtoken</groupId>
  41. <artifactId>jjwt-impl</artifactId>
  42. <scope>runtime</scope>
  43. <version>${jjwt.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>io.jsonwebtoken</groupId>
  47. <artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
  48. <scope>runtime</scope>
  49. <version>${jjwt.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>joda-time</groupId>
  53. <artifactId>joda-time</artifactId>
  54. <version>2.9.3</version>
  55. <scope>compile</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-validation</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-web</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <optional>true</optional>
  69. </dependency>
  70. <dependency>
  71. <groupId>io.jsonwebtoken</groupId>
  72. <artifactId>jjwt</artifactId>
  73. <version>0.9.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.commons</groupId>
  77. <artifactId>commons-lang3</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.junit.vintage</groupId>
  86. <artifactId>junit-vintage-engine</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.slf4j</groupId>
  92. <artifactId>slf4j-api</artifactId>
  93. </dependency>
  94. </dependencies>
  95. <dependencyManagement>
  96. <dependencies>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-dependencies</artifactId>
  100. <version>${spring-boot.version}</version>
  101. <type>pom</type>
  102. <scope>import</scope>
  103. </dependency>
  104. </dependencies>
  105. </dependencyManagement>
  106. </project>