pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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>csc-szls-parent</artifactId>
  7. <groupId>com.unissoft</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. <relativePath>../csc-szls-parent/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>csc-szls-common-utils</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>jar</packaging>
  15. <description>公共工具</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>2020.0.0-SNAPSHOT</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <!--redis-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-data-redis</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.session</groupId>
  37. <artifactId>spring-session-data-redis</artifactId>
  38. </dependency>
  39. <!-- mybatisplus与springboot整合 -->
  40. <dependency>
  41. <groupId>com.baomidou</groupId>
  42. <artifactId>mybatis-plus-boot-starter</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.commons</groupId>
  46. <artifactId>commons-lang3</artifactId>
  47. </dependency>
  48. <!--feign(默认集成hystrix熔断器)-->
  49. <dependency>
  50. <groupId>org.springframework.cloud</groupId>
  51. <artifactId>spring-cloud-starter-openfeign</artifactId>
  52. <version>2.1.0.RELEASE</version>
  53. </dependency>
  54. <!--使用security-jwt-->
  55. <dependency>
  56. <groupId>org.springframework.security</groupId>
  57. <artifactId>spring-security-jwt</artifactId>
  58. </dependency>
  59. <!--jwt解析相关-->
  60. <dependency>
  61. <groupId>io.jsonwebtoken</groupId>
  62. <artifactId>jjwt</artifactId>
  63. <version>0.9.1</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <optional>true</optional>
  69. </dependency>
  70. </dependencies>
  71. <build>
  72. <plugins>
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <configuration>
  77. <!--被依赖的公共模块必须加上这个,打包之后启动,选择后面带EXE的启动,依赖该模块的其他模块就不会因为找不到依赖而打包出错-->
  78. <classifier>exe</classifier>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. <repositories>
  84. <repository>
  85. <id>spring-snapshots</id>
  86. <name>Spring Snapshots</name>
  87. <url>https://repo.spring.io/snapshot</url>
  88. <snapshots>
  89. <enabled>true</enabled>
  90. </snapshots>
  91. </repository>
  92. <repository>
  93. <id>spring-milestones</id>
  94. <name>Spring Milestones</name>
  95. <url>https://repo.spring.io/milestone</url>
  96. </repository>
  97. </repositories>
  98. </project>