pom.xml 4.4 KB

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