pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>fs</artifactId>
  6. <groupId>com.fs</groupId>
  7. <version>1.1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>fs-socket</artifactId>
  11. <dependencies>
  12. <!-- spring-boot-devtools -->
  13. <dependency>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-devtools</artifactId>
  16. <optional>true</optional> <!-- 表示依赖不会传递 -->
  17. </dependency>
  18. <!-- Mysql驱动包 -->
  19. <dependency>
  20. <groupId>mysql</groupId>
  21. <artifactId>mysql-connector-java</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.google.zxing</groupId>
  25. <artifactId>javase</artifactId>
  26. <version>3.4.1</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.github.penggle</groupId>
  30. <artifactId>kaptcha</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <artifactId>javax.servlet-api</artifactId>
  34. <groupId>javax.servlet</groupId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!-- swagger2-->
  39. <dependency>
  40. <groupId>io.springfox</groupId>
  41. <artifactId>springfox-swagger2</artifactId>
  42. </dependency>
  43. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  44. <dependency>
  45. <groupId>io.swagger</groupId>
  46. <artifactId>swagger-annotations</artifactId>
  47. <version>1.5.21</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>io.swagger</groupId>
  51. <artifactId>swagger-models</artifactId>
  52. <version>1.5.21</version>
  53. </dependency>
  54. <!-- swagger2-UI-->
  55. <dependency>
  56. <groupId>io.springfox</groupId>
  57. <artifactId>springfox-swagger-ui</artifactId>
  58. </dependency>
  59. <!-- SpringBoot Web容器 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </dependency>
  64. <!-- SpringBoot 拦截器 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-aop</artifactId>
  68. </dependency>
  69. <!-- spring security 安全认证 -->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-security</artifactId>
  73. </dependency>
  74. <!-- 阿里数据库连接池 -->
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>druid-spring-boot-starter</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.slf4j</groupId>
  81. <artifactId>slf4j-api</artifactId>
  82. <version>1.7.30</version>
  83. <scope>provided</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>fastjson</artifactId>
  88. <version>1.2.70</version>
  89. </dependency>
  90. <!-- 系统模块-->
  91. <dependency>
  92. <groupId>com.fs</groupId>
  93. <artifactId>fs-service-system</artifactId>
  94. </dependency>
  95. <!-- WebSocket -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-websocket</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-tx</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>commons-codec</groupId>
  106. <artifactId>commons-codec</artifactId>
  107. <version>1.11</version>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <finalName>${project.artifactId}</finalName>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. <version>2.1.1.RELEASE</version>
  117. <configuration>
  118. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  119. </configuration>
  120. <executions>
  121. <execution>
  122. <goals>
  123. <goal>repackage</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-war-plugin</artifactId>
  131. <version>3.1.0</version>
  132. <configuration>
  133. <failOnMissingWebXml>false</failOnMissingWebXml>
  134. <warName>${project.artifactId}</warName>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>