pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. <artifactId>parent</artifactId>
  7. <groupId>com.sp.friendship</groupId>
  8. <version>5.1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>task</artifactId>
  13. <version>5.1.0</version>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.sp.friendship</groupId>
  17. <artifactId>core</artifactId>
  18. <version>${version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-test</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-aop -->
  26. <dependency>
  27. <groupId>com.alibaba</groupId>
  28. <artifactId>druid-spring-boot-starter</artifactId>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <finalName>friendship-task</finalName>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-maven-plugin</artifactId>
  37. <configuration>
  38. <includeSystemScope>true</includeSystemScope>
  39. </configuration>
  40. </plugin>
  41. <!-- 打包的时候跳过测试用例 -->
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-surefire-plugin</artifactId>
  45. <version>2.18.1</version>
  46. <configuration>
  47. <skipTests>true</skipTests>
  48. </configuration>
  49. </plugin>
  50. </plugins>
  51. <resources>
  52. <resource>
  53. <directory>src/main/java</directory>
  54. <includes>
  55. <include>**/*.xml</include>
  56. </includes>
  57. <filtering>true</filtering>
  58. </resource>
  59. <resource>
  60. <directory>src/main/resources</directory>
  61. <includes>
  62. <include>**/*.*</include>
  63. </includes>
  64. <filtering>true</filtering>
  65. </resource>
  66. </resources>
  67. </build>
  68. </project>