bump version to 2.2.0

This commit is contained in:
zengqiao
2021-01-23 12:41:38 +08:00
parent 2829947b93
commit fc109fd1b1
15 changed files with 33 additions and 33 deletions

View File

@@ -4,8 +4,9 @@ cd $workspace
## constant ## constant
OUTPUT_DIR=./output OUTPUT_DIR=./output
KM_VERSION=2.1.0 KM_VERSION=2.2.0
APP_NAME=kafka-manager-$KM_VERSION APP_NAME=kafka-manager
APP_DIR=${APP_NAME}-${KM_VERSION}
MYSQL_TABLE_SQL_FILE=./docs/install_guide/create_mysql_table.sql MYSQL_TABLE_SQL_FILE=./docs/install_guide/create_mysql_table.sql
CONFIG_FILE=./kafka-manager-web/src/main/resources/application.yml CONFIG_FILE=./kafka-manager-web/src/main/resources/application.yml
@@ -28,15 +29,15 @@ function build() {
function make_output() { function make_output() {
# 新建output目录 # 新建output目录
rm -rf ${OUTPUT_DIR} &>/dev/null rm -rf ${OUTPUT_DIR} &>/dev/null
mkdir -p ${OUTPUT_DIR}/${APP_NAME} &>/dev/null mkdir -p ${OUTPUT_DIR}/${APP_DIR} &>/dev/null
# 填充output目录, output内的内容 # 填充output目录, output内的内容
( (
cp -rf ${MYSQL_TABLE_SQL_FILE} ${OUTPUT_DIR}/${APP_NAME} && # 拷贝 sql 初始化脚本 至output目录 cp -rf ${MYSQL_TABLE_SQL_FILE} ${OUTPUT_DIR}/${APP_DIR} && # 拷贝 sql 初始化脚本 至output目录
cp -rf ${CONFIG_FILE} ${OUTPUT_DIR}/${APP_NAME} && # 拷贝 application.yml 至output目录 cp -rf ${CONFIG_FILE} ${OUTPUT_DIR}/${APP_DIR} && # 拷贝 application.yml 至output目录
# 拷贝程序包到output路径 # 拷贝程序包到output路径
cp kafka-manager-web/target/kafka-manager-web-${KM_VERSION}-SNAPSHOT.jar ${OUTPUT_DIR}/${APP_NAME}/${APP_NAME}-SNAPSHOT.jar cp kafka-manager-web/target/kafka-manager-web-${KM_VERSION}-SNAPSHOT.jar ${OUTPUT_DIR}/${APP_DIR}/${APP_NAME}.jar
echo -e "make output ok." echo -e "make output ok."
) || { echo -e "make output error"; exit 2; } # 填充output目录失败后, 退出码为 非0 ) || { echo -e "make output error"; exit 2; } # 填充output目录失败后, 退出码为 非0
} }
@@ -44,7 +45,7 @@ function make_output() {
function make_package() { function make_package() {
# 压缩output目录 # 压缩output目录
( (
cd ${OUTPUT_DIR} && tar cvzf ${APP_NAME}.tar.gz ${APP_NAME} cd ${OUTPUT_DIR} && tar cvzf ${APP_DIR}.tar.gz ${APP_DIR}
echo -e "make package ok." echo -e "make package ok."
) || { echo -e "make package error"; exit 2; } # 压缩output目录失败后, 退出码为 非0 ) || { echo -e "make package error"; exit 2; } # 压缩output目录失败后, 退出码为 非0
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

View File

@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager-common</artifactId> <artifactId>kafka-manager-common</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<properties> <properties>

View File

@@ -8,7 +8,7 @@
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<build> <build>

View File

@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager-core</artifactId> <artifactId>kafka-manager-core</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<properties> <properties>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-dao</artifactId> <artifactId>kafka-manager-dao</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<properties> <properties>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-account</artifactId> <artifactId>kafka-manager-account</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-bpm</artifactId> <artifactId>kafka-manager-bpm</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-kcm</artifactId> <artifactId>kafka-manager-kcm</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager-monitor</artifactId> <artifactId>kafka-manager-monitor</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager-notify</artifactId> <artifactId>kafka-manager-notify</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-openapi</artifactId> <artifactId>kafka-manager-openapi</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

View File

@@ -5,13 +5,13 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager-task</artifactId> <artifactId>kafka-manager-task</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<properties> <properties>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<artifactId>kafka-manager-web</artifactId> <artifactId>kafka-manager-web</artifactId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
</parent> </parent>
<properties> <properties>

View File

@@ -6,7 +6,7 @@
<groupId>com.xiaojukeji.kafka</groupId> <groupId>com.xiaojukeji.kafka</groupId>
<artifactId>kafka-manager</artifactId> <artifactId>kafka-manager</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>2.1.0-SNAPSHOT</version> <version>${kafka-manager.revision}</version>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@@ -16,11 +16,10 @@
</parent> </parent>
<properties> <properties>
<kafka-manager.revision>2.0.0-SNAPSHOT</kafka-manager.revision> <kafka-manager.revision>2.2.0-SNAPSHOT</kafka-manager.revision>
<swagger2.version>2.7.0</swagger2.version> <swagger2.version>2.7.0</swagger2.version>
<swagger.version>1.5.13</swagger.version> <swagger.version>1.5.13</swagger.version>
<!-- maven properties -->
<maven.test.skip>true</maven.test.skip> <maven.test.skip>true</maven.test.skip>
<downloadSources>true</downloadSources> <downloadSources>true</downloadSources>
<java_source_version>1.8</java_source_version> <java_source_version>1.8</java_source_version>