pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>spring-boot-sb-base</artifactId>
  6. <groupId>com.platform</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <packaging>jar</packaging>
  11. <artifactId>platform-rest</artifactId>
  12. <name>platform-rest</name>
  13. <properties>
  14. <security.oauth.version>2.3.5.RELEASE</security.oauth.version>
  15. <security.oauth.auto.version>2.1.2.RELEASE</security.oauth.auto.version>
  16. <jackson.modules>2.9.8</jackson.modules>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.platform</groupId>
  21. <artifactId>platform-service</artifactId>
  22. <version>1.0-SNAPSHOT</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-aop</artifactId>
  27. <version>2.1.6.RELEASE</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. <exclusions>
  33. <!--排除tomcat依赖-->
  34. <exclusion>
  35. <artifactId>spring-boot-starter-tomcat</artifactId>
  36. <groupId>org.springframework.boot</groupId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-undertow</artifactId>
  43. </dependency>
  44. <!--稳定版本,替代spring security bom内置-->
  45. <dependency>
  46. <groupId>org.springframework.security.oauth</groupId>
  47. <artifactId>spring-security-oauth2</artifactId>
  48. <version>${security.oauth.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.security.oauth.boot</groupId>
  52. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  53. <version>${security.oauth.auto.version}</version>
  54. </dependency>
  55. <!--jackson模块-->
  56. <dependency>
  57. <groupId>com.fasterxml.jackson.module</groupId>
  58. <artifactId>jackson-modules-java8</artifactId>
  59. <version>${jackson.modules}</version>
  60. <type>pom</type>
  61. <scope>import</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-data-redis</artifactId>
  66. </dependency>
  67. <!--测试依赖-->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-test</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. <!--验证码-->
  74. <dependency>
  75. <groupId>com.github.axet</groupId>
  76. <artifactId>kaptcha</artifactId>
  77. <version>0.0.9</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>net.logstash.logback</groupId>
  81. <artifactId>logstash-logback-encoder</artifactId>
  82. <version>4.9</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>ch.qos.logback</groupId>
  86. <artifactId>logback-core</artifactId>
  87. <version>1.2.3</version>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <finalName>spring-boot-sb-base-rest</finalName>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>