pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.studio.nx</groupId>
  6. <artifactId>nx-framework-parent</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>nx-framework-parent</name>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.5.0</version>
  14. <relativePath/> <!-- lookup parent from repository -->
  15. </parent>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  22. <project.build.locales>zh_CN</project.build.locales>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  25. <skipTests>true</skipTests> <!-- 项目打包的时候跳过单元测试 -->
  26. <spring-boot.version>2.5.0</spring-boot.version>
  27. <spring-cloud-starter-openfeign.version>3.0.2</spring-cloud-starter-openfeign.version>
  28. <javax.servlet-api.version>4.0.1</javax.servlet-api.version>
  29. <springfox-boot-starter.version>3.0.0</springfox-boot-starter.version>
  30. <mybatis-plus-boot-starter.version>3.4.3</mybatis-plus-boot-starter.version>
  31. <lombok.version>1.18.20</lombok.version>
  32. <mapstruct.version>1.4.2.Final</mapstruct.version>
  33. <hutool-all.version>5.4.4</hutool-all.version>
  34. <fastjson.version>1.2.76</fastjson.version>
  35. </properties>
  36. <modules>
  37. <module>nx-framework-dto</module>
  38. <module>nx-framework-entity</module>
  39. <module>nx-framework-error</module>
  40. <module>nx-framework-i18n</module>
  41. <module>nx-framework-jwt</module>
  42. <module>nx-framework-util</module>
  43. <module>nx-framework-log</module>
  44. <module>nx-framework-swagger</module><!-- 框架通用的接口文档配置类 -->
  45. <module>nx-uiac</module><!-- 账号认证 -->
  46. </modules>
  47. <dependencyManagement>
  48. <dependencies>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. <version>${spring-boot.version}</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.springframework.cloud</groupId>
  56. <artifactId>spring-cloud-starter-openfeign</artifactId>
  57. <version>${spring-cloud-starter-openfeign.version}</version>
  58. </dependency>
  59. <!-- https://mp.weixin.qq.com/s/CZdLDaJEFc5s_fpAeQ7ZbA -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-validation</artifactId>
  63. <version>${spring-boot.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-redis</artifactId>
  68. <version>${spring-boot.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>javax.servlet</groupId>
  72. <artifactId>javax.servlet-api</artifactId>
  73. <version>${javax.servlet-api.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>io.springfox</groupId>
  77. <artifactId>springfox-boot-starter</artifactId>
  78. <version>${springfox-boot-starter.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.baomidou</groupId>
  82. <artifactId>mybatis-plus-boot-starter</artifactId>
  83. <version>${mybatis-plus-boot-starter.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.projectlombok</groupId>
  87. <artifactId>lombok</artifactId>
  88. <optional>true</optional>
  89. <version>${lombok.version}</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.mapstruct</groupId>
  93. <artifactId>mapstruct</artifactId>
  94. <version>${mapstruct.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mapstruct</groupId>
  98. <artifactId>mapstruct-jdk8</artifactId>
  99. <version>${mapstruct.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.mapstruct</groupId>
  103. <artifactId>mapstruct-processor</artifactId>
  104. <version>${mapstruct.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>cn.hutool</groupId>
  108. <artifactId>hutool-all</artifactId>
  109. <version>${hutool-all.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>${fastjson.version}</version>
  115. </dependency>
  116. </dependencies>
  117. </dependencyManagement>
  118. </project>