pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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-estate</artifactId>
  7. <groupId>com.cyzh</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>wuye-estate-biz</artifactId>
  12. <description>物业业务实现模块</description>
  13. <dependencies>
  14. <!-- ===================================== Or JAR ===================================== -->
  15. <!-- MySql -->
  16. <dependency>
  17. <groupId>mysql</groupId>
  18. <artifactId>mysql-connector-java</artifactId>
  19. </dependency>
  20. <!-- druid 数据源 -->
  21. <dependency>
  22. <groupId>com.alibaba</groupId>
  23. <artifactId>druid</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. </dependency>
  29. <!-- ===================================== Modular JAR ===================================== -->
  30. <!-- 物业服务接口 -->
  31. <dependency>
  32. <groupId>com.cyzh</groupId>
  33. <artifactId>wuye-estate-api</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <!-- ===================================== Spring Boot JAR ===================================== -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <!-- 测试用例 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. </dependency>
  46. <!-- mybatis-plus -->
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>mybatis-plus-boot-starter</artifactId>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <finalName>wuye-estate</finalName>
  54. <pluginManagement>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-maven-plugin</artifactId>
  59. <version>2.0.7.RELEASE</version>
  60. <configuration>
  61. <finalName>${project.build.finalName}</finalName>
  62. <layout>ZIP</layout>
  63. <includes>
  64. <include>
  65. <groupId>nothing</groupId>
  66. <artifactId>nothing</artifactId>
  67. </include>
  68. </includes>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>repackage</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. </plugins>
  79. </pluginManagement>
  80. <plugins>
  81. <!-- Spring Boot 打包插件( 非“Web模块”请勿引入) -->
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.asciidoctor</groupId>
  88. <artifactId>asciidoctor-maven-plugin</artifactId>
  89. <version>1.5.7</version>
  90. <configuration>
  91. <sourceDirectory>./docs/asciidoc/generated</sourceDirectory>
  92. <outputDirectory>./docs/asciidoc/html</outputDirectory>
  93. <headerFooter>true</headerFooter>
  94. <doctype>book</doctype>
  95. <backend>html</backend>
  96. <sourceHighlighter>coderay</sourceHighlighter>
  97. <attributes>
  98. <!--菜单栏在左边-->
  99. <toc>left</toc>
  100. <!--多标题排列-->
  101. <toclevels>3</toclevels>
  102. <!--自动打数字序号-->
  103. <sectnums>true</sectnums>
  104. </attributes>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-dependency-plugin</artifactId>
  110. <executions>
  111. <execution>
  112. <id>copy-dependencies</id>
  113. <phase>package</phase>
  114. <goals>
  115. <goal>copy-dependencies</goal>
  116. </goals>
  117. <configuration>
  118. <!--target/lib是依赖jar包的输出目录,根据自己喜好配置-->
  119. <outputDirectory>target/lib</outputDirectory>
  120. <excludeTransitive>false</excludeTransitive>
  121. <stripVersion>false</stripVersion>
  122. <includeScope>runtime</includeScope>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-resources-plugin</artifactId>
  130. <executions>
  131. <execution>
  132. <id>copy-resources</id>
  133. <phase>package</phase>
  134. <goals>
  135. <goal>copy-resources</goal>
  136. </goals>
  137. <configuration>
  138. <resources>
  139. <resource>
  140. <directory>src/main/resources</directory>
  141. </resource>
  142. </resources>
  143. <outputDirectory>${project.build.directory}/resources</outputDirectory>
  144. </configuration>
  145. </execution>
  146. </executions>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>