pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.cloud.ssj</groupId>
  7. <artifactId>ssj-aijia</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <modules>
  11. <module>ssj-aijia-api</module>
  12. <module>ssj-aijia-sys</module>
  13. <module>ssj-aijia-common-config</module>
  14. <module>ssj-aijia-common-utils</module>
  15. <module>ssj-aijia-common-model</module>
  16. <module>ssj-aijia-common-service</module>
  17. </modules>
  18. <!--父工程-->
  19. <parent>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-parent</artifactId>
  22. <version>2.1.3.RELEASE</version>
  23. </parent>
  24. <!--依赖版本的锁定-->
  25. <properties>
  26. <java.version>1.8</java.version>
  27. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  28. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  29. <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
  30. <spring-cloud-alibaba.version>2.1.0.RELEASE</spring-cloud-alibaba.version>
  31. <nacos.version>0.2.2.RELEASE</nacos.version>
  32. <swagger.version>2.9.2</swagger.version>
  33. </properties>
  34. <dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-dependencies</artifactId>
  39. <version>${spring-cloud.version}</version>
  40. <type>pom</type>
  41. <scope>import</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  46. <version>${spring-cloud-alibaba.version}</version>
  47. <type>pom</type>
  48. <scope>import</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.cloud</groupId>
  52. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  53. <version>${nacos.version}</version>
  54. </dependency>
  55. </dependencies>
  56. </dependencyManagement>
  57. <dependencies>
  58. <!-- 链路追踪 -->
  59. <dependency>
  60. <groupId>org.springframework.cloud</groupId>
  61. <artifactId>spring-cloud-starter-sleuth</artifactId>
  62. </dependency>
  63. <!-- zipkin -->
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-starter-zipkin</artifactId>
  67. </dependency>
  68. <!-- swagger集成 -->
  69. <dependency>
  70. <groupId>io.springfox</groupId>
  71. <artifactId>springfox-swagger2</artifactId>
  72. <version>${swagger.version}</version>
  73. </dependency>
  74. <!-- 默认swagger-ui -->
  75. <dependency>
  76. <groupId>io.springfox</groupId>
  77. <artifactId>springfox-swagger-ui</artifactId>
  78. <version>${swagger.version}</version>
  79. </dependency>
  80. <!-- 更易用第三方swagger-ui组件 -->
  81. <dependency>
  82. <groupId>com.github.xiaoymin</groupId>
  83. <artifactId>swagger-bootstrap-ui</artifactId>
  84. <version>1.9.3</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>net.sf.json-lib</groupId>
  88. <artifactId>json-lib-ext-spring</artifactId>
  89. <version>1.0.2</version>
  90. </dependency>
  91. </dependencies>
  92. <repositories><!-- 代码库 -->
  93. <repository>
  94. <id>maven-ali</id>
  95. <url>http://maven.aliyun.com/nexus/content/groups/public//</url>
  96. <releases>
  97. <enabled>true</enabled>
  98. </releases>
  99. <snapshots>
  100. <enabled>true</enabled>
  101. <updatePolicy>always</updatePolicy>
  102. <checksumPolicy>fail</checksumPolicy>
  103. </snapshots>
  104. </repository>
  105. </repositories>
  106. </project>