pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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>authorize-api-cloud</artifactId>
  31. <version>1.0</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.xy</groupId>
  35. <artifactId>order-api-cloud</artifactId>
  36. <version>1.0</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.xy</groupId>
  40. <artifactId>goods-api-cloud</artifactId>
  41. <version>1.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.xy</groupId>
  45. <artifactId>merc-api-cloud</artifactId>
  46. <version>1.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.xy</groupId>
  50. <artifactId>sys-api-feign</artifactId>
  51. <version>1.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.xy</groupId>
  55. <artifactId>xy-logback</artifactId>
  56. <version>1.0</version>
  57. </dependency>
  58. <!-- torna swagger 插件 -->
  59. <dependency>
  60. <groupId>com.xy</groupId>
  61. <artifactId>xy-torna</artifactId>
  62. <version>1.0</version>
  63. </dependency>
  64. <!-- es -->
  65. <dependency>
  66. <groupId>org.elasticsearch.client</groupId>
  67. <artifactId>elasticsearch-rest-high-level-client</artifactId>
  68. <version>7.14.0</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.elasticsearch</groupId>
  72. <artifactId>elasticsearch</artifactId>
  73. <version>7.14.0</version>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <!-- 打包 -->
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-assembly-plugin</artifactId>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <version>2.3.12.RELEASE</version>
  87. <configuration>
  88. <mainClass>com.xy.StartCloud</mainClass>
  89. </configuration>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>repackage</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <!-- 上传源码 -->
  99. <plugin>
  100. <artifactId>maven-source-plugin</artifactId>
  101. <version>2.4</version>
  102. <configuration>
  103. <attach>true</attach>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <phase>compile</phase>
  108. <goals>
  109. <goal>jar</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>