pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>com.citu</groupId>
  5. <artifactId>menduner</artifactId>
  6. <version>${revision}</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>menduner-mall-biz</artifactId>
  10. <packaging>jar</packaging>
  11. <name>${project.artifactId}</name>
  12. <description>
  13. 门墩儿商城 模块
  14. </description>
  15. <dependencies>
  16. <!-- Spring Cloud 基础 -->
  17. <dependency>
  18. <groupId>org.springframework.cloud</groupId>
  19. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.citu</groupId>
  23. <artifactId>citu-spring-boot-starter-env</artifactId>
  24. </dependency>
  25. <!-- 依赖服务 -->
  26. <dependency>
  27. <groupId>com.citu</groupId>
  28. <artifactId>citu-module-system-api</artifactId>
  29. <version>${revision}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.citu</groupId>
  33. <artifactId>citu-module-infra-api</artifactId>
  34. <version>${revision}</version>
  35. </dependency>
  36. <!-- 业务组件 -->
  37. <dependency>
  38. <groupId>com.citu</groupId>
  39. <artifactId>citu-spring-boot-starter-biz-data-permission</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.citu</groupId>
  43. <artifactId>citu-spring-boot-starter-biz-tenant</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.citu</groupId>
  47. <artifactId>citu-spring-boot-starter-biz-ip</artifactId>
  48. </dependency>
  49. <!-- Web 相关 -->
  50. <dependency>
  51. <groupId>com.citu</groupId>
  52. <artifactId>citu-spring-boot-starter-security</artifactId>
  53. </dependency>
  54. <!-- DB 相关 -->
  55. <dependency>
  56. <groupId>com.citu</groupId>
  57. <artifactId>citu-spring-boot-starter-mybatis</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.citu</groupId>
  61. <artifactId>citu-spring-boot-starter-redis</artifactId>
  62. </dependency>
  63. <!-- RPC 远程调用相关 -->
  64. <dependency>
  65. <groupId>com.citu</groupId>
  66. <artifactId>citu-spring-boot-starter-rpc</artifactId>
  67. </dependency>
  68. <!-- Registry 注册中心相关 -->
  69. <dependency>
  70. <groupId>com.alibaba.cloud</groupId>
  71. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  72. </dependency>
  73. <!-- Config 配置中心相关 -->
  74. <dependency>
  75. <groupId>com.alibaba.cloud</groupId>
  76. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  77. </dependency>
  78. <!-- Test 测试相关 -->
  79. <dependency>
  80. <groupId>com.citu</groupId>
  81. <artifactId>citu-spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <!-- 监控相关 -->
  85. <dependency>
  86. <groupId>com.citu</groupId>
  87. <artifactId>citu-spring-boot-starter-monitor</artifactId>
  88. </dependency>
  89. </dependencies>
  90. <build>
  91. <!-- 设置构建的 jar 包名 -->
  92. <finalName>${project.artifactId}</finalName>
  93. <plugins>
  94. <!-- 打包 -->
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <version>${spring.boot.version}</version>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. </plugins>
  108. </build>
  109. </project>