pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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-oauth</artifactId>
  13. <description>oauth权限认证服务</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.unissoft</groupId>
  17. <artifactId>csc-szls-common-utils</artifactId>
  18. <version>1.0-SNAPSHOT</version>
  19. <scope>compile</scope>
  20. </dependency>
  21. <!--spring cloud-->
  22. <dependency>
  23. <groupId>org.springframework.cloud</groupId>
  24. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  25. </dependency>
  26. <!--链路追踪-->
  27. <dependency>
  28. <groupId>org.springframework.cloud</groupId>
  29. <artifactId>spring-cloud-starter-sleuth</artifactId>
  30. </dependency>
  31. <!--zipkin依赖-->
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-zipkin</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-config</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-actuator</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.cloud</groupId>
  46. <artifactId>spring-cloud-starter-bus-amqp</artifactId>
  47. </dependency>
  48. <!--spring boot-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <!--swagger-->
  59. <dependency>
  60. <groupId>io.springfox</groupId>
  61. <artifactId>springfox-swagger2</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.springfox</groupId>
  65. <artifactId>springfox-swagger-ui</artifactId>
  66. </dependency>
  67. <!--mysql-->
  68. <dependency>
  69. <groupId>mysql</groupId>
  70. <artifactId>mysql-connector-java</artifactId>
  71. </dependency>
  72. <!--spring-boot-starter-jdbc-->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-jdbc</artifactId>
  76. </dependency>
  77. <!--redis-->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-data-redis</artifactId>
  81. </dependency>
  82. <!--cloud oauth2-->
  83. <dependency>
  84. <groupId>org.springframework.cloud</groupId>
  85. <artifactId>spring-cloud-starter-oauth2</artifactId>
  86. </dependency>
  87. <!--使用security-jwt-->
  88. <dependency>
  89. <groupId>org.springframework.security</groupId>
  90. <artifactId>spring-security-jwt</artifactId>
  91. </dependency>
  92. <!--jwt解析相关-->
  93. <dependency>
  94. <groupId>io.jsonwebtoken</groupId>
  95. <artifactId>jjwt</artifactId>
  96. <version>0.9.1</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba</groupId>
  100. <artifactId>fastjson</artifactId>
  101. <version>1.2.41</version>
  102. </dependency>
  103. <!-- mybatisplus与springboot整合 -->
  104. <dependency>
  105. <groupId>com.baomidou</groupId>
  106. <artifactId>mybatis-plus-boot-starter</artifactId>
  107. </dependency>
  108. <!-- springboot整合mybatis(核心就这一个) -->
  109. <!-- 注意顺序,这个一定要放在最下面 -->
  110. <dependency>
  111. <groupId>org.mybatis.spring.boot</groupId>
  112. <artifactId>mybatis-spring-boot-starter</artifactId>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <plugins>
  117. <plugin>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-maven-plugin</artifactId>
  120. <configuration>
  121. <mainClass>com.unissoft.OauthStart</mainClass>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 -->
  126. <resources>
  127. <resource>
  128. <directory>src/main/java</directory>
  129. <includes>
  130. <include>**/*.properties</include>
  131. <include>**/*.xml</include>
  132. </includes>
  133. <!--<filtering>false</filtering>-->
  134. </resource>
  135. <resource>
  136. <directory>src/main/resources</directory>
  137. </resource>
  138. </resources>
  139. </build>
  140. </project>