pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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-master</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.yx.face</groupId>
  15. <artifactId>yqk-common</artifactId>
  16. <version>${project.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.java-websocket</groupId>
  20. <artifactId>Java-WebSocket</artifactId>
  21. <version>1.5.6</version>
  22. </dependency>
  23. </dependencies>
  24. <build>
  25. <finalName>yx-fyzd</finalName>
  26. <!--加上这个才能打包时将静态资源打进去-->
  27. <resources>
  28. <resource>
  29. <directory>${basedir}/src/main/webapp</directory>
  30. <targetPath>META-INF/resources</targetPath>
  31. <includes>
  32. <include>**/**</include>
  33. </includes>
  34. </resource>
  35. <resource>
  36. <directory>src/main/resources</directory>
  37. <includes>
  38. <include>**/*.*</include>
  39. </includes>
  40. <filtering>true</filtering>
  41. </resource>
  42. <resource>
  43. <directory>src/main/java</directory>
  44. <includes>
  45. <include>**/*.xml</include>
  46. <include>**/*.yml</include>
  47. <include>**/*.properties</include>
  48. </includes>
  49. </resource>
  50. </resources>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-maven-plugin</artifactId>
  55. <configuration>
  56. <mainClass>com.yx.face.FaceServerApplication</mainClass>
  57. <excludes>
  58. <exclude>
  59. <groupId>org.projectlombok</groupId>
  60. <artifactId>lombok</artifactId>
  61. </exclude>
  62. </excludes>
  63. </configuration>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>