|
|
@@ -1,118 +1,86 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
- <groupId>com.cloud.ssj</groupId>
|
|
|
- <artifactId>ssj-aijia</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- <packaging>pom</packaging>
|
|
|
+ <groupId>com.cloud.ssj</groupId>
|
|
|
+ <artifactId>ssj-aijia</artifactId>
|
|
|
+ <packaging>pom</packaging>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <modules>
|
|
|
+ <module>ssj-aijia-api</module>
|
|
|
+ <module>ssj-aijia-sys</module>
|
|
|
+
|
|
|
+ <module>ssj-aijia-common-config</module>
|
|
|
+ <module>ssj-aijia-common-utils</module>
|
|
|
+ <module>ssj-aijia-common-model</module>
|
|
|
+ <module>ssj-aijia-common-service</module>
|
|
|
+
|
|
|
+ </modules>
|
|
|
+
|
|
|
+ <!--父工程-->
|
|
|
+ <parent>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
+ <version>2.1.3.RELEASE</version>
|
|
|
+ </parent>
|
|
|
|
|
|
- <parent>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.1.7.RELEASE</version>
|
|
|
- </parent>
|
|
|
+ <!--依赖版本的锁定-->
|
|
|
+ <properties>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
|
|
+ <spring-cloud-alibaba.version>2.1.0.RELEASE</spring-cloud-alibaba.version>
|
|
|
+ </properties>
|
|
|
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
+ <version>${spring-cloud-alibaba.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
|
|
|
- <modules>
|
|
|
- <module>ssj-aijia-api</module>
|
|
|
- <module>ssj-aijia-sys</module>
|
|
|
-
|
|
|
- <module>ssj-aijia-common-config</module>
|
|
|
- <module>ssj-aijia-common-model</module>
|
|
|
- <module>ssj-aijia-common-utils</module>
|
|
|
- </modules>
|
|
|
+ <dependencies>
|
|
|
+ <!-- 链路追踪 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-sleuth</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- zipkin -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-zipkin</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <java.version>1.8</java.version>
|
|
|
- <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
|
|
|
- <alibaba-spring-cloud.version>0.9.0.RELEASE</alibaba-spring-cloud.version>
|
|
|
- <nacos.version>2.2.1.RELEASE</nacos.version>
|
|
|
- <swagger.version>2.9.2</swagger.version>
|
|
|
- </properties>
|
|
|
-
|
|
|
-
|
|
|
- <dependencies>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger2</artifactId>
|
|
|
- <version>${swagger.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.springfox</groupId>
|
|
|
- <artifactId>springfox-swagger-ui</artifactId>
|
|
|
- <version>${swagger.version}</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.xiaoymin</groupId>
|
|
|
- <artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
- <version>1.9.3</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>net.sf.json-lib</groupId>
|
|
|
- <artifactId>json-lib-ext-spring</artifactId>
|
|
|
- <version>1.0.2</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
- <version>2.2.1.RELEASE</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- </dependencies>
|
|
|
-
|
|
|
-
|
|
|
- <dependencyManagement>
|
|
|
- <dependencies>
|
|
|
- <!--子版本依赖-->
|
|
|
- <dependency>
|
|
|
- <groupId>com.cloud.ssj</groupId>
|
|
|
- <artifactId>ssj-aijia-common-config</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
- <version>${spring-cloud.version}</version>
|
|
|
- <type>pom</type>
|
|
|
- <scope>import</scope>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
- <version>${alibaba-spring-cloud.version}</version>
|
|
|
- <type>pom</type>
|
|
|
- <scope>import</scope>
|
|
|
- </dependency>
|
|
|
-
|
|
|
-
|
|
|
- </dependencies>
|
|
|
- </dependencyManagement>
|
|
|
-
|
|
|
-
|
|
|
+ <repositories><!-- 代码库 -->
|
|
|
+ <repository>
|
|
|
+ <id>maven-ali</id>
|
|
|
+ <url>http://maven.aliyun.com/nexus/content/groups/public//</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </releases>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ <updatePolicy>always</updatePolicy>
|
|
|
+ <checksumPolicy>fail</checksumPolicy>
|
|
|
+ </snapshots>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
-
|
|
|
-</project>
|
|
|
+</project>
|