pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. </dependencies>
  70. <build>
  71. <plugins>
  72. <!-- 打包 -->
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-assembly-plugin</artifactId>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <version>2.3.12.RELEASE</version>
  81. <configuration>
  82. <mainClass>com.xy.StartCloud</mainClass>
  83. </configuration>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. <!-- 上传源码 -->
  93. <plugin>
  94. <artifactId>maven-source-plugin</artifactId>
  95. <version>2.4</version>
  96. <configuration>
  97. <attach>true</attach>
  98. </configuration>
  99. <executions>
  100. <execution>
  101. <phase>compile</phase>
  102. <goals>
  103. <goal>jar</goal>
  104. </goals>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>