pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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>fframwork</artifactId>
  7. <groupId>com.tofly</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tofly-auth</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <!--配置中心客户端-->
  15. <dependency>
  16. <groupId>org.springframework.cloud</groupId>
  17. <artifactId>spring-cloud-starter-config</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.tofly</groupId>
  21. <artifactId>common-oauth</artifactId>
  22. <version>1.0.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.tofly</groupId>
  26. <artifactId>common-log</artifactId>
  27. <version>1.0.0</version>
  28. </dependency>
  29. <!--web 模块-->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. <exclusions>
  34. <!--排除tomcat依赖-->
  35. <exclusion>
  36. <artifactId>spring-boot-starter-tomcat</artifactId>
  37. <groupId>org.springframework.boot</groupId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <!--undertow容器-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-undertow</artifactId>
  45. </dependency>
  46. <!--spring security 、oauth、jwt依赖-->
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-security</artifactId>
  50. <exclusions>
  51. <!--旧版本 redis操作有问题-->
  52. <exclusion>
  53. <artifactId>spring-security-oauth2</artifactId>
  54. <groupId>org.springframework.security.oauth</groupId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.security.oauth</groupId>
  60. <artifactId>spring-security-oauth2</artifactId>
  61. <version>${security.oauth.version}</version>
  62. </dependency>
  63. <!--JDBC相关-->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-jdbc</artifactId>
  67. </dependency>
  68. <!--<dependency>-->
  69. <!--<groupId>com.oracle</groupId>-->
  70. <!--<artifactId>ojdbc6</artifactId>-->
  71. <!--<version>11.2.0.4.0-atlassian-hosted</version>-->
  72. <!--</dependency>-->
  73. <!--<dependency>-->
  74. <!--<groupId>mysql</groupId>-->
  75. <!--<artifactId>mysql-connector-java</artifactId>-->
  76. <!--</dependency>-->
  77. <!-- <dependency>
  78. <groupId>com.baomidou</groupId>
  79. <artifactId>mybatis-plus-boot-starter</artifactId>
  80. <version>${mybatis-plus.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.oracle</groupId>
  84. <artifactId>ojdbc14</artifactId>
  85. <version>10.2.0.5.0</version>
  86. </dependency>-->
  87. </dependencies>
  88. <!--<build>-->
  89. <!--<plugins>-->
  90. <!--<plugin>-->
  91. <!--<groupId>org.apache.maven.plugins</groupId>-->
  92. <!--<artifactId>maven-compiler-plugin</artifactId>-->
  93. <!--<configuration>-->
  94. <!--<source>1.8</source>-->
  95. <!--<target>1.8</target>-->
  96. <!--</configuration>-->
  97. <!--</plugin>-->
  98. <!--<plugin>-->
  99. <!--<groupId>org.springframework.boot</groupId>-->
  100. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  101. <!--<configuration>-->
  102. <!--<includeSystemScope>true</includeSystemScope>-->
  103. <!--</configuration>-->
  104. <!--</plugin>-->
  105. <!--</plugins>-->
  106. <!--</build>-->
  107. <build>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. <executions>
  113. <execution>
  114. <goals>
  115. <goal>repackage</goal>
  116. </goals>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. </project>