pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. <!--测试依赖-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-test</artifactId>
  67. <scope>test</scope>
  68. </dependency>
  69. <!--验证码-->
  70. <dependency>
  71. <groupId>com.github.axet</groupId>
  72. <artifactId>kaptcha</artifactId>
  73. <version>0.0.9</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>net.logstash.logback</groupId>
  77. <artifactId>logstash-logback-encoder</artifactId>
  78. <version>4.9</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>ch.qos.logback</groupId>
  82. <artifactId>logback-core</artifactId>
  83. <version>1.2.3</version>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <finalName>spring-boot-sb-base-rest</finalName>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>