You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ch...@apache.org on 2021/06/28 02:55:40 UTC
[apisix-java-plugin-runner] branch main updated: feat: release
0.1.0 (#44)
This is an automated email from the ASF dual-hosted git repository.
chenjunxu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/apisix-java-plugin-runner.git
The following commit(s) were added to refs/heads/main by this push:
new a08926e feat: release 0.1.0 (#44)
a08926e is described below
commit a08926ec414a0963a83280fffae53373eb4a4a22
Author: tzssangglass <tz...@gmail.com>
AuthorDate: Mon Jun 28 10:55:32 2021 +0800
feat: release 0.1.0 (#44)
---
Makefile | 14 +++++++-------
pom.xml | 2 +-
runner-core/pom.xml | 4 ++--
runner-dist/apisix-runner-bin-dist/pom.xml | 4 ++--
runner-dist/apisix-runner-src-dist/pom.xml | 10 +++++-----
.../apisix-runner-src-dist/src/main/assembly/assemble.xml | 7 +++----
runner-dist/pom.xml | 4 ++--
runner-plugin-sdk/pom.xml | 2 +-
runner-plugin/pom.xml | 4 ++--
runner-starter/pom.xml | 6 +++---
sample/pom.xml | 4 ++--
11 files changed, 30 insertions(+), 31 deletions(-)
diff --git a/Makefile b/Makefile
index 1bf7a5c..a7de5e6 100644
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,18 @@
SHELL := /bin/bash -o pipefail
-VERSION ?= 0.1.0-SNAPSHOT
-RELEASE_SRC = apache-apisix-java-plugin-runner-${VERSION}-src
+VERSION ?= 0.1.0
+RELEASE_SRC = apisix-java-plugin-runner-${VERSION}-src
.PHONY: release-src
release-src: compress-tar
- gpg --batch --yes --armor --detach-sig ./dist/$(RELEASE_SRC).tgz
- shasum -a 512 ./dist/$(RELEASE_SRC).tgz > ./dist/$(RELEASE_SRC).tgz.sha512
+ gpg --batch --yes --armor --detach-sig ./$(RELEASE_SRC).tgz
+ shasum -a 512 ./$(RELEASE_SRC).tgz > ./$(RELEASE_SRC).tgz.sha512
mkdir -p release
- mv ./dist/$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
- mv ./dist/$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
- mv ./dist/$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
+ mv ./$(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
+ mv ./$(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
+ mv ./$(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
.PHONY: compress-tar
compress-tar:
diff --git a/pom.xml b/pom.xml
index c8a66c9..6099f6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
<parent>
<groupId>org.apache</groupId>
diff --git a/runner-core/pom.xml b/runner-core/pom.xml
index 6594fd8..89343ae 100644
--- a/runner-core/pom.xml
+++ b/runner-core/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-core</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
diff --git a/runner-dist/apisix-runner-bin-dist/pom.xml b/runner-dist/apisix-runner-bin-dist/pom.xml
index 77069bd..01d97db 100644
--- a/runner-dist/apisix-runner-bin-dist/pom.xml
+++ b/runner-dist/apisix-runner-bin-dist/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-dist</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-bin-dist</artifactId>
@@ -57,7 +57,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>dist</id>
+ <id>dist-bin</id>
<phase>package</phase>
<goals>
<goal>run</goal>
diff --git a/runner-dist/apisix-runner-src-dist/pom.xml b/runner-dist/apisix-runner-src-dist/pom.xml
index 05f7339..035109c 100644
--- a/runner-dist/apisix-runner-src-dist/pom.xml
+++ b/runner-dist/apisix-runner-src-dist/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-dist</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-src-dist</artifactId>
@@ -31,7 +31,7 @@
<name>${project.artifactId}</name>
<build>
- <finalName>apisix-runner-src</finalName>
+ <finalName>apisix-java-plugin-runner</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -56,15 +56,15 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>dist</id>
+ <id>dist-src</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
- <copy file="${project.build.directory}/apisix-runner-src.tgz"
- tofile="${project.basedir}/../../dist/apache-apisix-java-plugin-runner-${project.version}-src.tgz"
+ <copy file="${project.build.directory}/apisix-java-plugin-runner.tgz"
+ tofile="${project.basedir}/../../apisix-java-plugin-runner-${project.version}-src.tgz"
overwrite="true" />
</target>
</configuration>
diff --git a/runner-dist/apisix-runner-src-dist/src/main/assembly/assemble.xml b/runner-dist/apisix-runner-src-dist/src/main/assembly/assemble.xml
index b4d2951..75bb139 100644
--- a/runner-dist/apisix-runner-src-dist/src/main/assembly/assemble.xml
+++ b/runner-dist/apisix-runner-src-dist/src/main/assembly/assemble.xml
@@ -26,7 +26,7 @@
<format>tgz</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
- <baseDirectory>${project.build.finalName}-src-release</baseDirectory>
+ <baseDirectory>${project.build.finalName}</baseDirectory>
<fileSets>
<fileSet>
<directory>../../</directory>
@@ -46,6 +46,7 @@
<exclude>**/*.zip</exclude>
<exclude>**/*.tar</exclude>
<exclude>**/*.tar.gz</exclude>
+ <exclude>**/*.tgz</exclude>
<!-- maven plugin ignore -->
<exclude>release.properties</exclude>
@@ -75,12 +76,10 @@
<!-- system ignore -->
<exclude>**/.DS_Store</exclude>
- <exclude>**/Thumbs.db</exclude>
<!-- modules ignore -->
- <exclude>sample/**</exclude>
- <exclude>runner-dist/**</exclude>
<exclude>docs/**</exclude>
+ <exclude>release/**</exclude>
</excludes>
</fileSet>
</fileSets>
diff --git a/runner-dist/pom.xml b/runner-dist/pom.xml
index 0419b22..b0c455d 100644
--- a/runner-dist/pom.xml
+++ b/runner-dist/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-dist</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-starter</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
</dependencies>
<modules>
diff --git a/runner-plugin-sdk/pom.xml b/runner-plugin-sdk/pom.xml
index f2f5d5f..50ecbb0 100644
--- a/runner-plugin-sdk/pom.xml
+++ b/runner-plugin-sdk/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-plugin-sdk</artifactId>
diff --git a/runner-plugin/pom.xml b/runner-plugin/pom.xml
index 5f5a93b..bb71b2d 100644
--- a/runner-plugin/pom.xml
+++ b/runner-plugin/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-plugin</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin-sdk</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
diff --git a/runner-starter/pom.xml b/runner-starter/pom.xml
index 72ce898..a3f80cb 100644
--- a/runner-starter/pom.xml
+++ b/runner-starter/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-starter</artifactId>
@@ -35,12 +35,12 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-core</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
<dependency>
diff --git a/sample/pom.xml b/sample/pom.xml
index 86bf052..313fd60 100644
--- a/sample/pom.xml
+++ b/sample/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-plugin-runner</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</parent>
<artifactId>apisix-runner-sample</artifactId>
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.apisix</groupId>
<artifactId>apisix-runner-plugin-sdk</artifactId>
- <version>0.1.0-SNAPSHOT</version>
+ <version>0.1.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>