This is an automated email from the ASF dual-hosted git repository.
ranke pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/dubbo-spi-extensions.git
The following commit(s) were added to refs/heads/2.7.x by this push:
new 94e072d release dubbo-api-docs 2.7.8.2
new c830737 Merge pull request #21 from KeRan213539/2.7.8.2-release
94e072d is described below
commit 94e072df003a12182f41ca8fbbc0aee7fd696ac8
Author: 邪影oO <[email protected]>
AuthorDate: Fri Mar 26 17:34:03 2021 +0800
release dubbo-api-docs 2.7.8.2
---
distribution/src/assembly/source-release.xml | 8 ++++++++
dubbo-api-docs/README.md | 10 +++++-----
dubbo-api-docs/README_ch.md | 10 +++++-----
pom.xml | 6 ++++++
4 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/distribution/src/assembly/source-release.xml
b/distribution/src/assembly/source-release.xml
index 89297e5..79a75b7 100644
--- a/distribution/src/assembly/source-release.xml
+++ b/distribution/src/assembly/source-release.xml
@@ -24,6 +24,14 @@
<baseDirectory>dubbo-api-docs-src</baseDirectory>
<fileSets>
+ <fileSet>
+ <directory>../</directory>
+ <includes>
+ <include>DISCLAIMER</include>
+ <include>NOTICE</include>
+ <include>LICENSE</include>
+ </includes>
+ </fileSet>
<fileSet>
<directory>../</directory>
<useDefaultExcludes>true</useDefaultExcludes>
diff --git a/dubbo-api-docs/README.md b/dubbo-api-docs/README.md
index baebc8d..381ae68 100644
--- a/dubbo-api-docs/README.md
+++ b/dubbo-api-docs/README.md
@@ -25,19 +25,19 @@ Adding some annotations can generate a swagger like
document without turning a n
memory for caching. In the future, it will consider putting the
contents of the cache into the metadata
center
-### Current Version: Same as Dubbo version
+### Current Version: 2.7.8.2
```
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-api-docs-annotations</artifactId>
- <version>${dubbo-version}</version>
+ <version>${dubbo-api-docs-version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-api-docs-core</artifactId>
- <version>${dubbo-version}</version>
+ <version>${dubbo-api-docs-version}</version>
</dependency>
```
@@ -56,11 +56,11 @@ Download
[dubbo-admin](https://github.com/apache/dubbo-admin) [Download](https:/
* @ApiModule: class annotation, dubbo API module information, used to mark the
purpose of an interface class module
* value: module name
* apiInterface: Provider implemented interface
- * version: module version
+ * ~~version: module version~~
* @ApiDoc: method annotation, dubbo API information, used to mark the purpose
of an dubbo API
* value: API name
* description: API description(HTML tags available)
- * version: API version
+ * ~~version: API version~~
* responseClassDescription: response class description
* @RequestParam: class property/method Parameter annotation, mark request
parameters
* value: parameter name
diff --git a/dubbo-api-docs/README_ch.md b/dubbo-api-docs/README_ch.md
index 4633a4d..b3a406c 100644
--- a/dubbo-api-docs/README_ch.md
+++ b/dubbo-api-docs/README_ch.md
@@ -22,19 +22,19 @@ dubbo 接口文档、测试工具,根据注解生成文档,并提供测试功能
* 为避免增加生产环境中的资源占用, 建议单独创建一个配制类用于启用Dubbo Api Docs, 并配合 @Profile("dev")
注解使用
* 当然, Dubbo Api Docs 仅在项目启动时多消耗了点CPU资源, 并使用了一点点内存用于缓存,
将来会考虑将缓存中的内容放到元数据中心.
-### 当前版本: 同Dubbo版本号
+### 当前版本: 2.7.8.2
```
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-api-docs-annotations</artifactId>
- <version>${dubbo-version}</version>
+ <version>${dubbo-api-docs-version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-api-docs-core</artifactId>
- <version>${dubbo-version}</version>
+ <version>${dubbo-api-docs-version}</version>
</dependency>
```
@@ -52,11 +52,11 @@ dubbo 接口文档、测试工具,根据注解生成文档,并提供测试功能
* @ApiModule: 类注解, dubbo接口模块信息,用于标注一个接口类模块的用途
* value: 模块名称
* apiInterface: 提供者实现的接口
- * version: 模块版本
+ * ~~version: 模块版本~~
* @ApiDoc: 方法注解, dubbo 接口信息,用于标注一个接口的用途
* value: 接口名称
* description: 接口描述(可使用html标签)
- * version: 接口版本
+ * ~~version: 接口版本~~
* responseClassDescription: 响应的数据的描述
* @RequestParam: 类属性/方法参数注解,标注请求参数
* value: 参数名
diff --git a/pom.xml b/pom.xml
index 6f57b69..c88ede0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,12 @@
<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">
<modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>23</version>
+ </parent>
<groupId>org.apache.dubbo.spi</groupId>
<artifactId>dubbo-spi-extensions</artifactId>