pom.xml 4.0 KB

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