pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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>xy-device</artifactId>
  7. <groupId>com.xy</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>device-start</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <maven.compiler.source>1.8</maven.compiler.source>
  15. <maven.compiler.target>1.8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.xy</groupId>
  20. <artifactId>device-api-service</artifactId>
  21. <version>1.0</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.xy</groupId>
  25. <artifactId>device-api-service-merc-mini</artifactId>
  26. <version>1.0</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.xy</groupId>
  30. <artifactId>device-api-service-member</artifactId>
  31. <version>1.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.xy</groupId>
  35. <artifactId>authorize-api-cloud</artifactId>
  36. <version>1.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.xy</groupId>
  40. <artifactId>order-api-cloud</artifactId>
  41. <version>1.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.xy</groupId>
  45. <artifactId>goods-api-cloud</artifactId>
  46. <version>1.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.xy</groupId>
  50. <artifactId>merc-api-cloud</artifactId>
  51. <version>1.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.xy</groupId>
  55. <artifactId>sys-api-feign</artifactId>
  56. <version>1.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.xy</groupId>
  60. <artifactId>xy-logback</artifactId>
  61. <version>1.0</version>
  62. </dependency>
  63. <!-- torna swagger 插件 -->
  64. <dependency>
  65. <groupId>com.xy</groupId>
  66. <artifactId>xy-torna</artifactId>
  67. <version>1.0</version>
  68. </dependency>
  69. <!-- es -->
  70. <dependency>
  71. <groupId>org.elasticsearch.client</groupId>
  72. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  73. <version>7.14.0</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.elasticsearch</groupId>
  77. <artifactId>elasticsearch</artifactId>
  78. <version>7.14.0</version>
  79. </dependency>
  80. </dependencies>
  81. <build>
  82. <plugins>
  83. <!-- 打包 -->
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-assembly-plugin</artifactId>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <version>2.3.12.RELEASE</version>
  92. <configuration>
  93. <mainClass>com.xy.StartCloud</mainClass>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <!-- 上传源码 -->
  104. <plugin>
  105. <artifactId>maven-source-plugin</artifactId>
  106. <version>2.4</version>
  107. <configuration>
  108. <attach>true</attach>
  109. </configuration>
  110. <executions>
  111. <execution>
  112. <phase>compile</phase>
  113. <goals>
  114. <goal>jar</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>