pom.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.github.microservice</groupId>
  7. <artifactId>PParent</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <relativePath>../../../super/PParent</relativePath>
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>feigncall</artifactId>
  13. <name>feigncall</name>
  14. <properties>
  15. <java.version>11</java.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.github.microservice</groupId>
  20. <artifactId>PCore</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <!--应用中心客户端-->
  24. <dependency>
  25. <groupId>com.github.microservice.components</groupId>
  26. <artifactId>ApplicationClient</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.example</groupId>
  31. <artifactId>feignclient</artifactId>
  32. <version>1.0.0-SNAPSHOT</version>
  33. </dependency>
  34. </dependencies>
  35. <!--构建-->
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-maven-plugin</artifactId>
  41. <configuration>
  42. <fork>true</fork>
  43. </configuration>
  44. <executions>
  45. <execution>
  46. <goals>
  47. <goal>repackage</goal>
  48. </goals>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. </plugins>
  53. <!-- properties 取 pom 配置 -->
  54. <resources>
  55. <resource>
  56. <directory>src/main/resources</directory>
  57. <filtering>true</filtering>
  58. </resource>
  59. </resources>
  60. </build>
  61. </project>