pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <modelVersion>4.0.0</modelVersion> <parent>
  6. <groupId>com.hcloud.microserver</groupId>
  7. <artifactId>common-parent</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.hywa</groupId>
  11. <artifactId>supply-chain-order-client</artifactId>
  12. <version>${supply.chain.order.client.version}</version>
  13. <name>supply-chain-order-client</name>
  14. <properties>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <dependencies>
  18. <!--web远程调用-->
  19. <dependency>
  20. <groupId>org.springframework.cloud</groupId>
  21. <artifactId>spring-cloud-starter-feign</artifactId>
  22. <version>1.3.1.RELEASE</version>
  23. </dependency>
  24. <!--父包-->
  25. <dependency>
  26. <groupId>com.hcloud.microserver</groupId>
  27. <artifactId>common-core</artifactId>
  28. <version>${common.core.version}</version>
  29. </dependency>
  30. <!--分页-->
  31. <dependency>
  32. <groupId>com.github.pagehelper</groupId>
  33. <artifactId>pagehelper-spring-boot-starter</artifactId>
  34. </dependency>
  35. </dependencies>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-maven-plugin</artifactId>
  41. <executions>
  42. <execution>
  43. <goals>
  44. <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中 -->
  45. </goals>
  46. <!--可以生成不含依赖包的不可执行Jar包 -->
  47. <configuration>
  48. <classifier>exec</classifier>
  49. </configuration>
  50. </execution>
  51. </executions>
  52. </plugin>
  53. </plugins>
  54. </build>
  55. </project>