pom.xml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. <!-- 默认引入 yudao-module-bpm-biz-flowable 实现,可以替换为 yudao-module-bpm-biz-activiti 实现-->
  42. <dependency>
  43. <groupId>cn.iocoder.boot</groupId>
  44. <artifactId>yudao-module-bpm-biz-flowable</artifactId>
  45. <version>${revision}</version>
  46. </dependency>
  47. <!-- <dependency>-->
  48. <!-- <groupId>cn.iocoder.boot</groupId>-->
  49. <!-- <artifactId>yudao-module-bpm-biz-activiti</artifactId>-->
  50. <!-- <version>${revision}</version>-->
  51. <!-- </dependency>-->
  52. <dependency>
  53. <groupId>cn.iocoder.boot</groupId>
  54. <artifactId>yudao-spring-boot-starter-biz-error-code</artifactId>
  55. </dependency>
  56. <!-- spring boot 配置所需依赖 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-configuration-processor</artifactId>
  60. <optional>true</optional>
  61. </dependency>
  62. <!-- 服务保障相关 -->
  63. <dependency>
  64. <groupId>cn.iocoder.boot</groupId>
  65. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <!-- 设置构建的 jar 包名 -->
  70. <finalName>${project.artifactId}</finalName>
  71. <plugins>
  72. <!-- 打包 -->
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <version>2.6.7</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  77. <configuration>
  78. <fork>true</fork>
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  84. </goals>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. </project>