pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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>
  6. <groupId>com.ydw.yunbuyer.service.pm_office</groupId>
  7. <artifactId>krock-service-pm-office</artifactId>
  8. <version>0.0.1</version>
  9. <packaging>jar</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.0.4.RELEASE</version>
  14. <relativePath /> <!-- lookup parent from repository -->
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  21. </properties>
  22. <dependencies>
  23. <!-- eureka -->
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.ydw.yunbuyer.api</groupId>
  38. <artifactId>krock-api-user</artifactId>
  39. <version>0.0.1</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.ydw.yunbuyer.api</groupId>
  43. <artifactId>krock-api-pm-office</artifactId>
  44. <version>0.0.1</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.ydw.yunbuyer.api</groupId>
  48. <artifactId>krock-api-system</artifactId>
  49. <version>0.0.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.ydw.yunbuyer.common</groupId>
  53. <artifactId>krock-core-common</artifactId>
  54. <version>0.0.1</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-data-jpa</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid</artifactId>
  67. <version>1.1.10</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-test</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. </dependencies>
  75. <dependencyManagement>
  76. <dependencies>
  77. <dependency>
  78. <groupId>org.springframework.cloud</groupId>
  79. <artifactId>spring-cloud-dependencies</artifactId>
  80. <version>${spring-cloud.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. </dependencies>
  85. </dependencyManagement>
  86. <build>
  87. <!-- mvn package -DskipTests -->
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-jar-plugin</artifactId>
  96. <configuration>
  97. <archive>
  98. <manifest>
  99. <addClasspath>true</addClasspath>
  100. <mainClass>com.ydw.yunbuyer.serv_pm_office.KrockServicePmOfficeApplication</mainClass>
  101. <classpathPrefix>lib/</classpathPrefix>
  102. </manifest>
  103. </archive>
  104. </configuration>
  105. </plugin>
  106. </plugins>
  107. <defaultGoal>compile</defaultGoal>
  108. </build>
  109. </project>