pom.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.tzld.piaoquan</groupId>
  6. <artifactId>long-article-manage</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>long-article-server</artifactId>
  10. <name>long-article-server</name>
  11. <url>http://maven.apache.org</url>
  12. <properties>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <build>
  18. <!-- 固定包名 避免随着版本变动 -->
  19. <finalName>long-article-server</finalName>
  20. <resources>
  21. <resource>
  22. <directory>src/main/resources</directory>
  23. <includes>
  24. <include>**/*.yml</include>
  25. <include>**/*.yaml</include>
  26. <include>**/*.xml</include>
  27. <include>**/*.properties</include>
  28. </includes>
  29. <filtering>false</filtering>
  30. </resource>
  31. </resources>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. </plugin>
  37. </plugins>
  38. </build>
  39. </project>