pom.xml 2.5 KB

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