pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.yx.face</groupId>
  8. <artifactId>nm-yqk</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>yqk-websocket</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.yx.face</groupId>
  15. <artifactId>yqk-websocket-common</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-tomcat</artifactId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-undertow</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-validation</artifactId>
  35. <exclusions>
  36. <exclusion>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter</artifactId>
  39. </exclusion>
  40. </exclusions>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <optional>true</optional>
  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.boot</groupId>
  54. <artifactId>spring-boot-starter-aop</artifactId>
  55. </dependency>
  56. <!--========================【数据库相关依赖】===============================-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-redis</artifactId>
  60. <version>1.4.1.RELEASE</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>commons-net</groupId>
  64. <artifactId>commons-net</artifactId>
  65. <version>3.6</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  70. <version>1.5.10.RELEASE</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-configuration-processor</artifactId>
  75. <optional>true</optional>
  76. </dependency>
  77. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  78. <dependency>
  79. <groupId>org.bouncycastle</groupId>
  80. <artifactId>bcprov-jdk15on</artifactId>
  81. <version>1.70</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>net.jodah</groupId>
  85. <artifactId>expiringmap</artifactId>
  86. <version>0.5.8</version>
  87. </dependency>
  88. <!-- websocket相关 -->
  89. <!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
  90. <dependency>
  91. <groupId>io.netty</groupId>
  92. <artifactId>netty-all</artifactId>
  93. <version>4.1.45.Final</version>
  94. </dependency>
  95. </dependencies>
  96. <build>
  97. <finalName>hhface-middleware</finalName>
  98. <!--加上这个才能打包时将静态资源打进去-->
  99. <resources>
  100. <resource>
  101. <directory>${basedir}/src/main/webapp</directory>
  102. <targetPath>META-INF/resources</targetPath>
  103. <includes>
  104. <include>**/**</include>
  105. </includes>
  106. </resource>
  107. <resource>
  108. <directory>src/main/resources</directory>
  109. <includes>
  110. <include>**/*.*</include>
  111. </includes>
  112. <filtering>true</filtering>
  113. </resource>
  114. <resource>
  115. <directory>src/main/java</directory>
  116. <includes>
  117. <include>**/*.xml</include>
  118. <include>**/*.yml</include>
  119. <include>**/*.properties</include>
  120. </includes>
  121. </resource>
  122. </resources>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-maven-plugin</artifactId>
  127. <configuration>
  128. <mainClass>com.yx.face.hhface.HhFaceMiddlewareApplication</mainClass>
  129. <excludes>
  130. <exclude>
  131. <groupId>org.projectlombok</groupId>
  132. <artifactId>lombok</artifactId>
  133. </exclude>
  134. </excludes>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>