pom.xml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <!-- TODO 芋艿:多模块 -->
  22. <dependency>
  23. <groupId>cn.iocoder.boot</groupId>
  24. <artifactId>yudao-module-member-biz</artifactId>
  25. <version>${revision}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.iocoder.boot</groupId>
  29. <artifactId>yudao-module-system-biz</artifactId>
  30. <version>${revision}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>cn.iocoder.boot</groupId>
  34. <artifactId>yudao-module-infra-biz</artifactId>
  35. <version>${revision}</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.iocoder.boot</groupId>
  39. <artifactId>yudao-module-pay-biz</artifactId>
  40. <version>${revision}</version>
  41. </dependency>
  42. <!-- 默认引入 yudao-module-bpm-biz-flowable 实现,可以替换为 yudao-module-bpm-biz-activiti 实现-->
  43. <dependency>
  44. <groupId>cn.iocoder.boot</groupId>
  45. <artifactId>yudao-module-bpm-biz-flowable</artifactId>
  46. <version>${revision}</version>
  47. </dependency>
  48. <!-- <dependency>-->
  49. <!-- <groupId>cn.iocoder.boot</groupId>-->
  50. <!-- <artifactId>yudao-module-bpm-biz-activiti</artifactId>-->
  51. <!-- <version>${revision}</version>-->
  52. <!-- </dependency>-->
  53. <!-- spring boot 配置所需依赖 -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-configuration-processor</artifactId>
  57. <optional>true</optional>
  58. </dependency>
  59. <!-- 服务保障相关 -->
  60. <dependency>
  61. <groupId>cn.iocoder.boot</groupId>
  62. <artifactId>yudao-spring-boot-starter-protection</artifactId>
  63. </dependency>
  64. </dependencies>
  65. <build>
  66. <!-- 设置构建的 jar 包名 -->
  67. <finalName>${project.artifactId}</finalName>
  68. <plugins>
  69. <!-- 打包 -->
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. <version>2.5.12</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
  74. <configuration>
  75. <fork>true</fork>
  76. </configuration>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>