pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>data-api-cloud</artifactId>
  51. <version>1.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.xy</groupId>
  55. <artifactId>mqtt-api-cloud</artifactId>
  56. <version>1.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.xy</groupId>
  60. <artifactId>merc-api-cloud</artifactId>
  61. <version>1.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.xy</groupId>
  65. <artifactId>sys-api-feign</artifactId>
  66. <version>1.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.xy</groupId>
  70. <artifactId>xy-logback</artifactId>
  71. <version>1.0</version>
  72. </dependency>
  73. <!-- torna swagger 插件 -->
  74. <dependency>
  75. <groupId>com.xy</groupId>
  76. <artifactId>xy-torna</artifactId>
  77. <version>1.0</version>
  78. </dependency>
  79. </dependencies>
  80. <build>
  81. <plugins>
  82. <!-- 打包 -->
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-assembly-plugin</artifactId>
  86. </plugin>
  87. <plugin>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-maven-plugin</artifactId>
  90. <version>2.3.12.RELEASE</version>
  91. <configuration>
  92. <mainClass>com.xy.StartCloud</mainClass>
  93. </configuration>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <!-- 上传源码 -->
  103. <plugin>
  104. <artifactId>maven-source-plugin</artifactId>
  105. <version>2.4</version>
  106. <configuration>
  107. <attach>true</attach>
  108. </configuration>
  109. <executions>
  110. <execution>
  111. <phase>compile</phase>
  112. <goals>
  113. <goal>jar</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>