pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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>wuye-third</artifactId>
  7. <groupId>com.cyzh</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>jar</packaging>
  12. <artifactId>wuye-third-biz</artifactId>
  13. <description>第三方接口推送业务实现模块</description>
  14. <dependencies>
  15. <!-- ===================================== Or JAR ===================================== -->
  16. <!-- MySql -->
  17. <dependency>
  18. <groupId>mysql</groupId>
  19. <artifactId>mysql-connector-java</artifactId>
  20. </dependency>
  21. <!-- druid 数据源 -->
  22. <dependency>
  23. <groupId>com.alibaba</groupId>
  24. <artifactId>druid</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. </dependency>
  30. <!-- ===================================== Modular JAR ===================================== -->
  31. <dependency>
  32. <groupId>com.cyzh</groupId>
  33. <artifactId>wuye-third-api</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <!-- 物业服务接口 -->
  37. <dependency>
  38. <groupId>com.cyzh</groupId>
  39. <artifactId>wuye-estate-api</artifactId>
  40. <version>${project.version}</version>
  41. </dependency>
  42. <!-- 物联网服务接口 -->
  43. <dependency>
  44. <groupId>com.cyzh</groupId>
  45. <artifactId>wuye-iot-api</artifactId>
  46. <version>${project.version}</version>
  47. </dependency>
  48. <!-- 视频云服务接口 -->
  49. <dependency>
  50. <groupId>com.cyzh</groupId>
  51. <artifactId>wuye-video-cloud-api</artifactId>
  52. <version>${project.version}</version>
  53. </dependency>
  54. <!-- ===================================== Spring Boot JAR ===================================== -->
  55. <!-- mybatis-plus -->
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatis-plus-boot-starter</artifactId>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <finalName>wuye-third</finalName>
  63. <pluginManagement>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-maven-plugin</artifactId>
  68. <version>2.0.7.RELEASE</version>
  69. <configuration>
  70. <finalName>${project.build.finalName}</finalName>
  71. <layout>ZIP</layout>
  72. <includes>
  73. <include>
  74. <groupId>nothing</groupId>
  75. <artifactId>nothing</artifactId>
  76. </include>
  77. </includes>
  78. </configuration>
  79. <executions>
  80. <execution>
  81. <goals>
  82. <goal>repackage</goal>
  83. </goals>
  84. </execution>
  85. </executions>
  86. </plugin>
  87. </plugins>
  88. </pluginManagement>
  89. <plugins>
  90. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-dependency-plugin</artifactId>
  98. <executions>
  99. <execution>
  100. <id>copy-dependencies</id>
  101. <phase>package</phase>
  102. <goals>
  103. <goal>copy-dependencies</goal>
  104. </goals>
  105. <configuration>
  106. <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
  107. <outputDirectory>target/lib</outputDirectory>
  108. <excludeTransitive>false</excludeTransitive>
  109. <stripVersion>false</stripVersion>
  110. <includeScope>runtime</includeScope>
  111. </configuration>
  112. </execution>
  113. </executions>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-resources-plugin</artifactId>
  118. <executions>
  119. <execution>
  120. <id>copy-resources</id>
  121. <phase>package</phase>
  122. <goals>
  123. <goal>copy-resources</goal>
  124. </goals>
  125. <configuration>
  126. <resources>
  127. <resource>
  128. <directory>src/main/resources</directory>
  129. </resource>
  130. </resources>
  131. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  132. </configuration>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>