pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <groupId>com.zqt.ccj</groupId>
  7. <artifactId>patrol</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>patrol-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. 后端 Server 的主项目,通过引入需要 patrol-module-xxx 的依赖,
  16. 从而实现提供 RESTful API 给 patrol-ui-admin、patrol-ui-user 等前端项目。
  17. 本质上来说,它就是个空壳(容器)!
  18. </description>
  19. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.zqt.ccj</groupId>
  23. <artifactId>patrol-module-member-biz</artifactId>
  24. <version>${revision}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.zqt.ccj</groupId>
  28. <artifactId>patrol-module-system-biz</artifactId>
  29. <version>${revision}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.zqt.ccj</groupId>
  33. <artifactId>patrol-module-infra-biz</artifactId>
  34. <version>${revision}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.zqt.ccj</groupId>
  38. <artifactId>patrol-module-pay-biz</artifactId>
  39. <version>${revision}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.zqt.ccj</groupId>
  43. <artifactId>patrol-module-market-biz</artifactId>
  44. <version>${revision}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.zqt.ccj</groupId>
  48. <artifactId>patrol-module-product-biz</artifactId>
  49. <version>${revision}</version>
  50. </dependency>
  51. <!-- 数据报表 -->
  52. <dependency>
  53. <groupId>com.zqt.ccj</groupId>
  54. <artifactId>patrol-module-visualization-biz</artifactId>
  55. <version>${revision}</version>
  56. </dependency>
  57. <!-- 工作流 -->
  58. <dependency>
  59. <groupId>com.zqt.ccj</groupId>
  60. <artifactId>patrol-module-bpm-biz</artifactId>
  61. <version>${revision}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.zqt.ccj</groupId>
  65. <artifactId>patrol-spring-boot-starter-biz-error-code</artifactId>
  66. </dependency>
  67. <!-- spring boot 配置所需依赖 -->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-configuration-processor</artifactId>
  71. <optional>true</optional>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.zqt.ccj</groupId>
  75. <artifactId>patrol-spring-boot-starter-banner</artifactId>
  76. </dependency>
  77. <!-- 服务保障相关 -->
  78. <dependency>
  79. <groupId>com.zqt.ccj</groupId>
  80. <artifactId>patrol-spring-boot-starter-protection</artifactId>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <!-- 设置构建的 jar 包名 -->
  85. <finalName>${project.artifactId}</finalName>
  86. <plugins>
  87. <!-- 打包 -->
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <version>2.6.7</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  92. <configuration>
  93. <fork>true</fork>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>