Skip to content

Commit

Permalink
优化各模块之间的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
manzhizhen committed Aug 9, 2020
1 parent 9548035 commit bae3232
Show file tree
Hide file tree
Showing 28 changed files with 140 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,5 @@ SDS的目标是打造一个简单、易用、可靠的限流、熔断和降级

## 12. 协议

<img alt="Apache-2.0 license" src="https://lucene.apache.org/images/mantle-power.png" width="128">
<img alt="Apache-2.0 license" src="https://lucene.apache.org/images/mantle-power.png" width="128"><br />
SDS 基于 Apache-2.0 协议进行分发和使用,更多信息参见 [协议文件](LICENSE)
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-base</artifactId>
<packaging>pom</packaging>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>

<name>SDS</name>

Expand All @@ -19,6 +19,8 @@
</modules>

<properties>
<revision>1.0.1-SNAPSHOT</revision>

<spring-boot.version>2.1.1.RELEASE</spring-boot.version>
<apache.dubbo.version>2.7.5</apache.dubbo.version>
<!-- Plugin dependency -->
Expand All @@ -39,6 +41,16 @@
<artifactId>sds-easy</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-dubbo</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-okhttp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-aspectj</artifactId>
Expand Down
6 changes: 5 additions & 1 deletion sds-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-base</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-admin</artifactId>

<name>sds-admin</name>

<url>https://github.com/didi/sds</url>
Expand Down
6 changes: 4 additions & 2 deletions sds-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-base</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>


<url>https://github.com/didi/sds</url>

Expand Down
6 changes: 5 additions & 1 deletion sds-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-base</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-client</artifactId>

<name>sds-client</name>

<url>https://github.com/didi/sds</url>
Expand Down
5 changes: 3 additions & 2 deletions sds-easy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-base</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-easy</artifactId>
<version>1.0.1-SNAPSHOT</version>

<name>sds-easy</name>

Expand Down
50 changes: 7 additions & 43 deletions sds-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
<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">
<parent>
<artifactId>sds-base</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-base</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-example</artifactId>

<packaging>pom</packaging>

<name>sds-example</name>

<url>https://github.com/didi/sds</url>
Expand All @@ -21,45 +26,4 @@
<maven.compiler.target>1.7</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-easy</artifactId>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-aspectj</artifactId>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</dependency>

</dependencies>

</project>
68 changes: 68 additions & 0 deletions sds-example/sds-client-example/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?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">
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-example</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-example</artifactId>

<name>sds-example</name>

<url>https://github.com/didi/sds</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-easy</artifactId>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-aspectj</artifactId>
</dependency>
<dependency>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</dependency>

</dependencies>

</project>
7 changes: 5 additions & 2 deletions sds-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
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">
<parent>
<artifactId>sds-base</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-base</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-extension</artifactId>

<packaging>pom</packaging>

<modules>
Expand Down
9 changes: 4 additions & 5 deletions sds-extension/sds-apache-dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<parent>
<artifactId>sds-extension</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-extension</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-apache-dubbo</artifactId>
<version>1.0.1-SNAPSHOT</version>

<packaging>jar</packaging>

<modelVersion>4.0.0</modelVersion>

Expand Down
8 changes: 5 additions & 3 deletions sds-extension/sds-aspectj/pom.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>sds-extension</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-extension</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-aspectj</artifactId>
<version>1.0.1-SNAPSHOT</version>

<packaging>jar</packaging>
<name>sds-aspectj</name>
Expand Down
7 changes: 4 additions & 3 deletions sds-extension/sds-dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<parent>
<artifactId>sds-extension</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-extension</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-dubbo</artifactId>
<version>1.0.1-SNAPSHOT</version>

<packaging>jar</packaging>

Expand Down
9 changes: 6 additions & 3 deletions sds-extension/sds-okhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
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>
<parent>
<artifactId>sds-extension</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-extension</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-okhttp</artifactId>

<url>https://github.com/didi/sds</url>

<artifactId>sds-okhttp</artifactId>
<dependencies>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
Expand Down
5 changes: 3 additions & 2 deletions sds-extension/sds-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
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">
<parent>
<artifactId>sds-extension</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-extension</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
<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">
<parent>
<artifactId>sds-spring-boot</artifactId>
<groupId>com.didiglobal.sds</groupId>
<version>1.0.1-SNAPSHOT</version>
<artifactId>sds-spring-boot</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-spring-boot-autoconfigure</artifactId>
<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
<parent>
<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-spring-boot</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<groupId>com.didiglobal.sds</groupId>
<artifactId>sds-spring-boot-starter</artifactId>

<url>https://github.com/didi/sds</url>
Expand Down

0 comments on commit bae3232

Please sign in to comment.