pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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>wlyy-parent-pom</artifactId>
  7. <groupId>com.yihu.jw</groupId>
  8. <version>2.0.0</version>
  9. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>svr-authentication</artifactId>
  13. <dependencies>
  14. <!-- 支持Tomcat启动 -->
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. <exclusions>
  19. <exclusion>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-tomcat</artifactId>
  22. </exclusion>
  23. </exclusions>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. <scope>provided</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>javax.servlet</groupId>
  32. <artifactId>javax.servlet-api</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.apache.tomcat.embed</groupId>
  36. <artifactId>tomcat-embed-jasper</artifactId>
  37. </dependency>
  38. <!-- 支持Tomcat启动 -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-security</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.security.oauth</groupId>
  45. <artifactId>spring-security-oauth2</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-test</artifactId>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-config</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-starter-eureka</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-feign</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-starter-ribbon</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-actuator</artifactId>
  71. </dependency>
  72. <!-- Redis -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-redis</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>redis.clients</groupId>
  79. <artifactId>jedis</artifactId>
  80. </dependency>
  81. <!-- Redis -->
  82. <!-- JdbcTemplate-->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-jdbc</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. <scope>runtime</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.commons</groupId>
  94. <artifactId>commons-dbcp2</artifactId>
  95. </dependency>
  96. <!-- JdbcTemplate-->
  97. <dependency>
  98. <groupId>com.yihu</groupId>
  99. <artifactId>utils</artifactId>
  100. <version>2.0.0</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.yihu.jw</groupId>
  104. <artifactId>common-rest-model</artifactId>
  105. </dependency>
  106. </dependencies>
  107. <build>
  108. <finalName>svr-authentication</finalName>
  109. <plugins>
  110. <plugin>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-maven-plugin</artifactId>
  113. <configuration>
  114. <mainClass>com.yihu.AuthServer</mainClass>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <artifactId>maven-war-plugin</artifactId>
  119. <configuration>
  120. <failOnMissingWebXml>false</failOnMissingWebXml>
  121. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  122. </configuration>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>