pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <!-- mybatisplus与springboot整合 -->
  36. <dependency>
  37. <groupId>com.baomidou</groupId>
  38. <artifactId>mybatis-plus-boot-starter</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.apache.commons</groupId>
  42. <artifactId>commons-lang3</artifactId>
  43. </dependency>
  44. <!--feign(默认集成hystrix熔断器)-->
  45. <dependency>
  46. <groupId>org.springframework.cloud</groupId>
  47. <artifactId>spring-cloud-starter-openfeign</artifactId>
  48. <version>2.1.0.RELEASE</version>
  49. </dependency>
  50. <!--使用security-jwt-->
  51. <dependency>
  52. <groupId>org.springframework.security</groupId>
  53. <artifactId>spring-security-jwt</artifactId>
  54. </dependency>
  55. <!--jwt解析相关-->
  56. <dependency>
  57. <groupId>io.jsonwebtoken</groupId>
  58. <artifactId>jjwt</artifactId>
  59. <version>0.9.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.projectlombok</groupId>
  63. <artifactId>lombok</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-maven-plugin</artifactId>
  72. <configuration>
  73. <!--被依赖的公共模块必须加上这个,打包之后启动,选择后面带EXE的启动,依赖该模块的其他模块就不会因为找不到依赖而打包出错-->
  74. <classifier>exe</classifier>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. <repositories>
  80. <repository>
  81. <id>spring-snapshots</id>
  82. <name>Spring Snapshots</name>
  83. <url>https://repo.spring.io/snapshot</url>
  84. <snapshots>
  85. <enabled>true</enabled>
  86. </snapshots>
  87. </repository>
  88. <repository>
  89. <id>spring-milestones</id>
  90. <name>Spring Milestones</name>
  91. <url>https://repo.spring.io/milestone</url>
  92. </repository>
  93. </repositories>
  94. </project>