pom.xml 2.2 KB

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