You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
3.1 KiB

3 years ago
  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>xujiecloud</artifactId>
  7. <groupId>org.xujie</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>xujie-common</artifactId>
  12. <description>服务公共依赖模块</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <!--mybatis-plus-->
  19. <dependency>
  20. <groupId>com.baomidou</groupId>
  21. <artifactId>mybatis-plus-boot-starter</artifactId>
  22. <version>3.2.0</version>
  23. </dependency>
  24. <!--lombok-->
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <version>1.18.4</version>
  29. </dependency>
  30. <!-- 导入mysql驱动 -->
  31. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  32. <dependency>
  33. <groupId>mysql</groupId>
  34. <artifactId>mysql-connector-java</artifactId>
  35. <version>8.0.17</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.httpcomponents</groupId>
  39. <artifactId>httpcore</artifactId>
  40. <version>4.4.13</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>commons-lang</groupId>
  44. <artifactId>commons-lang</artifactId>
  45. <version>2.6</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>javax.servlet</groupId>
  49. <artifactId>servlet-api</artifactId>
  50. <version>2.5</version>
  51. <scope>provided</scope>
  52. </dependency>
  53. <!-- 服务注册/发现-->
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  57. </dependency>
  58. <!-- 配置中心来做配置管理-->
  59. <dependency>
  60. <groupId>com.alibaba.cloud</groupId>
  61. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.validation</groupId>
  65. <artifactId>validation-api</artifactId>
  66. <version>2.0.1.Final</version>
  67. </dependency>
  68. </dependencies>
  69. <!-- 引入spring cloud alibaba -->
  70. <dependencyManagement>
  71. <dependencies>
  72. <dependency>
  73. <groupId>com.alibaba.cloud</groupId>
  74. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  75. <!-- <version>2.2.3.RELEASE</version> -->
  76. <version>2.1.0.RELEASE</version>
  77. <type>pom</type>
  78. <scope>import</scope>
  79. </dependency>
  80. </dependencies>
  81. </dependencyManagement>
  82. </project>