pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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>superdesk-data-extract</artifactId>
  7. <groupId>cn.superdesk</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>superdesk-data-extract-api</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.superdesk</groupId>
  15. <artifactId>superdesk-data-extract-service</artifactId>
  16. <version>0.0.1-SNAPSHOT</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. </dependencies>
  23. <!--build配置-->
  24. <build>
  25. <resources>
  26. <resource>
  27. <directory>src/main/resources</directory>
  28. <excludes>
  29. <exclude>**/*.yml</exclude>
  30. </excludes>
  31. </resource>
  32. <resource>
  33. <directory>src/main/resources</directory>
  34. <includes>
  35. <include>application.yml</include>
  36. <include>application-${spring.profiles.active}.yml</include>
  37. </includes>
  38. <filtering>true</filtering>
  39. </resource>
  40. </resources>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-resources-plugin</artifactId>
  45. <configuration>
  46. <delimiters>@</delimiters>
  47. <useDefaultDelimiters>false</useDefaultDelimiters>
  48. </configuration>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-deploy-plugin</artifactId>
  53. <configuration>
  54. <skip>true</skip>
  55. </configuration>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-install-plugin</artifactId>
  60. <configuration>
  61. <skip>true</skip>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-maven-plugin</artifactId>
  67. <executions>
  68. <execution>
  69. <goals>
  70. <goal>repackage</goal>
  71. </goals>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-surefire-plugin</artifactId>
  78. <configuration>
  79. <skipTests>true</skipTests>
  80. </configuration>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </project>