pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>cn.tz.cloud</groupId>
  6. <artifactId>tz-module-grape-city</artifactId>
  7. <version>${revision}</version>
  8. </parent>
  9. <artifactId>tz-module-grape-city-biz</artifactId>
  10. <packaging>jar</packaging>
  11. <name>tz-module-grape-city-biz</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>cn.tz.cloud</groupId>
  19. <artifactId>tz-common</artifactId>
  20. </dependency>
  21. <!-- 5. 新增依赖,这里引入的都是比较常用的业务组件、技术组件 -->
  22. <!-- Spring Cloud 基础 -->
  23. <dependency>
  24. <groupId>cn.tz.cloud</groupId>
  25. <artifactId>tz-spring-boot-starter-env</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>cn.tz.cloud</groupId>
  29. <artifactId>tz-module-grape-city-api</artifactId>
  30. <version>${revision}</version>
  31. </dependency>
  32. <!-- 业务组件 -->
  33. <dependency>
  34. <groupId>cn.tz.cloud</groupId>
  35. <artifactId>tz-spring-boot-starter-biz-data-permission</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>cn.tz.cloud</groupId>
  39. <artifactId>tz-spring-boot-starter-biz-tenant</artifactId>
  40. </dependency>
  41. <!-- Web 相关 -->
  42. <dependency>
  43. <groupId>cn.tz.cloud</groupId>
  44. <artifactId>tz-spring-boot-starter-web</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>cn.tz.cloud</groupId>
  48. <artifactId>tz-spring-boot-starter-security</artifactId>
  49. </dependency>
  50. <!-- DB 相关 -->
  51. <dependency>
  52. <groupId>cn.tz.cloud</groupId>
  53. <artifactId>tz-spring-boot-starter-mybatis</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>cn.tz.cloud</groupId>
  57. <artifactId>tz-spring-boot-starter-redis</artifactId>
  58. </dependency>
  59. <!-- RPC 远程调用相关 -->
  60. <dependency>
  61. <groupId>cn.tz.cloud</groupId>
  62. <artifactId>tz-spring-boot-starter-rpc</artifactId>
  63. </dependency>
  64. <!-- Registry 注册中心相关 -->
  65. <!-- <dependency>-->
  66. <!-- <groupId>com.alibaba.cloud</groupId>-->
  67. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
  68. <!-- </dependency>-->
  69. <!-- Config 配置中心相关 -->
  70. <!-- <dependency>-->
  71. <!-- <groupId>com.alibaba.cloud</groupId>-->
  72. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
  73. <!-- </dependency>-->
  74. <!-- Test 测试相关 -->
  75. <dependency>
  76. <groupId>cn.tz.cloud</groupId>
  77. <artifactId>tz-spring-boot-starter-test</artifactId>
  78. </dependency>
  79. <!-- 工具类相关 -->
  80. <dependency>
  81. <groupId>cn.tz.cloud</groupId>
  82. <artifactId>tz-spring-boot-starter-excel</artifactId>
  83. </dependency>
  84. <!-- 监控相关 -->
  85. <dependency>
  86. <groupId>cn.tz.cloud</groupId>
  87. <artifactId>tz-spring-boot-starter-monitor</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.grapecitysoft.documents</groupId>
  91. <artifactId>gcexcel</artifactId>
  92. </dependency>
  93. </dependencies>
  94. <build>
  95. <!-- 设置构建的 jar 包名 -->
  96. <finalName>${project.artifactId}</finalName>
  97. <plugins>
  98. <!-- 打包 -->
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>