pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <artifactId>citu-module-mp</artifactId>
  7. <groupId>com.citu</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>citu-module-mp-biz</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>
  15. mp 模块,我们放微信微信公众号。
  16. 例如说:提供微信公众号的账号、菜单、粉丝、标签、消息、自动回复、素材、模板通知、运营数据等功能
  17. </description>
  18. <dependencies>
  19. <!-- Spring Cloud 基础 -->
  20. <dependency>
  21. <groupId>org.springframework.cloud</groupId>
  22. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  23. </dependency>
  24. <!-- 依赖服务 -->
  25. <dependency>
  26. <groupId>com.citu</groupId>
  27. <artifactId>citu-module-mp-api</artifactId>
  28. <version>${revision}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.citu</groupId>
  32. <artifactId>citu-module-system-api</artifactId>
  33. <version>${revision}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.citu</groupId>
  37. <artifactId>citu-module-infra-api</artifactId>
  38. <version>${revision}</version>
  39. </dependency>
  40. <!-- 业务组件 -->
  41. <dependency>
  42. <groupId>com.citu</groupId>
  43. <artifactId>citu-spring-boot-starter-biz-tenant</artifactId>
  44. </dependency>
  45. <!-- Web 相关 -->
  46. <dependency>
  47. <groupId>com.citu</groupId>
  48. <artifactId>citu-spring-boot-starter-security</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-validation</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. <!-- 工具类相关 -->
  90. <dependency>
  91. <groupId>com.citu</groupId>
  92. <artifactId>citu-spring-boot-starter-excel</artifactId>
  93. </dependency>
  94. <!-- 三方云服务相关 -->
  95. <dependency>
  96. <groupId>com.github.binarywang</groupId>
  97. <artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
  98. </dependency>
  99. </dependencies>
  100. <build>
  101. <!-- 设置构建的 jar 包名 -->
  102. <finalName>${project.artifactId}</finalName>
  103. <plugins>
  104. <!-- 打包 -->
  105. <plugin>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-maven-plugin</artifactId>
  108. <version>${spring.boot.version}</version>
  109. <executions>
  110. <execution>
  111. <goals>
  112. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  113. </goals>
  114. </execution>
  115. </executions>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. </project>