pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. <groupId>com.yx.face</groupId>
  7. <artifactId>nm-yqk</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>hhface-middleware</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.yx.face</groupId>
  15. <artifactId>hhface-common</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-freemarker</artifactId>
  21. </dependency>
  22. <!-- websocket相关 -->
  23. <!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
  24. <dependency>
  25. <groupId>io.netty</groupId>
  26. <artifactId>netty-all</artifactId>
  27. <version>4.1.45.Final</version>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <finalName>hhface-middleware</finalName>
  32. <!--加上这个才能打包时将静态资源打进去-->
  33. <resources>
  34. <resource>
  35. <directory>${basedir}/src/main/webapp</directory>
  36. <targetPath>META-INF/resources</targetPath>
  37. <includes>
  38. <include>**/**</include>
  39. </includes>
  40. </resource>
  41. <resource>
  42. <directory>src/main/resources</directory>
  43. <includes>
  44. <include>**/*.*</include>
  45. </includes>
  46. <filtering>true</filtering>
  47. </resource>
  48. <resource>
  49. <directory>src/main/java</directory>
  50. <includes>
  51. <include>**/*.xml</include>
  52. <include>**/*.yml</include>
  53. <include>**/*.properties</include>
  54. </includes>
  55. </resource>
  56. </resources>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <!--<configuration>
  62. <fork>true</fork>
  63. </configuration>-->
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>3.2</version>
  69. <configuration>
  70. <fork>true</fork>
  71. <source>1.8</source>
  72. <target>1.8</target>
  73. <verbose>true</verbose>
  74. <encoding>UTF-8</encoding>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. </project>