pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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>fs</artifactId>
  7. <groupId>com.fs</groupId>
  8. <version>1.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>fs-company-app</artifactId>
  12. <description>
  13. 销售端APP
  14. </description>
  15. <dependencies>
  16. <!-- spring-boot-devtools -->
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-devtools</artifactId>
  20. <optional>true</optional> <!-- 表示依赖不会传递 -->
  21. </dependency>
  22. <!-- Mysql驱动包 -->
  23. <dependency>
  24. <groupId>com.mysql</groupId>
  25. <artifactId>mysql-connector-j</artifactId>
  26. </dependency>
  27. <!-- SpringBoot Web容器 -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <!-- SpringBoot 拦截器 -->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-aop</artifactId>
  36. </dependency>
  37. <!-- 阿里数据库连接池 -->
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>druid-spring-boot-starter</artifactId>
  41. </dependency>
  42. <!-- 验证码 -->
  43. <dependency>
  44. <groupId>com.github.penggle</groupId>
  45. <artifactId>kaptcha</artifactId>
  46. <exclusions>
  47. <exclusion>
  48. <artifactId>javax.servlet-api</artifactId>
  49. <groupId>javax.servlet</groupId>
  50. </exclusion>
  51. </exclusions>
  52. </dependency>
  53. <!-- 获取系统信息 -->
  54. <dependency>
  55. <groupId>com.github.oshi</groupId>
  56. <artifactId>oshi-core</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.fs</groupId>
  60. <artifactId>fs-service</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.github.tencentyun</groupId>
  64. <artifactId>tls-sig-api-v2</artifactId>
  65. <version>2.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-websocket</artifactId>
  70. <version>5.1.10.RELEASE</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springdoc</groupId>
  74. <artifactId>springdoc-openapi-ui</artifactId>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-maven-plugin</artifactId>
  82. <configuration>
  83. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>repackage</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-war-plugin</artifactId>
  96. <version>3.1.0</version>
  97. <configuration>
  98. <failOnMissingWebXml>false</failOnMissingWebXml>
  99. <warName>${project.artifactId}</warName>
  100. </configuration>
  101. </plugin>
  102. </plugins>
  103. <finalName>${project.artifactId}</finalName>
  104. </build>
  105. </project>