Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ name: Release to Maven Central
# One-time setup (required before the first release can succeed):
# 1. Central Portal account: https://central.sonatype.com (register, then generate a
# User Token under Account settings — this is the MAVEN_CENTRAL_USERNAME/PASSWORD pair).
# 2. Namespace `dev.openan`: claim it in the Portal once the openan.dev domain is
# available, by adding the TXT record the Portal specifies to the domain's DNS.
# Until the namespace is verified, the Portal rejects every dev.openan upload.
# 2. Namespace `net.openan`: already owned by the Central Portal account that
# publishes the a2a-t-sdk artifacts (same user token), so no extra namespace
# claim is needed. Migrating to `dev.openan` is a future change once the
# openan.dev domain is verified.
# 3. GPG signing key: generate one (RSA 4096, no expiry or far expiry), publish the
# public key to a keyserver (e.g. https://keyserver.ubuntu.com). The Portal
# validates artifact signatures against keyservers.
Expand All @@ -22,10 +23,11 @@ name: Release to Maven Central
# SIGNING_KEY_ID key id (last 8 hex chars is enough)
# SIGNING_PASSWORD private key passphrase
#
# Publishing scope: only workflow-engine and spring-boot-starter are deployed.
# samples is excluded from deployment via maven.deploy.skip, but the release gate still
# builds and tests the full main reactor (main has no vendor-jar dependency; the Eastcom
# adapter exists only on the dev branch).
# Publishing scope: the parent pom, workflow-engine and spring-boot-starter are deployed.
# The parent must ship: module poms take their groupId from it, and Central rejects a
# bundle whose module coordinates cannot be resolved. samples is excluded from deployment
# via maven.deploy.skip, but the release gate still builds and tests the full main reactor
# (main has no vendor-jar dependency; the Eastcom adapter exists only on the dev branch).

on:
push:
Expand Down Expand Up @@ -133,7 +135,6 @@ jobs:
VERSION="${GITHUB_REF_NAME#v}"
echo "Publishing version ${VERSION} from tag ${GITHUB_REF_NAME}"
mvn -B -Prelease deploy \
-pl workflow-engine,spring-boot-starter \
-Drevision="${VERSION}" \
-Dgpg.executable=gpg \
-Dgpg.keyname="${SIGNING_KEY_ID}"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ upgrade guidance.

```xml
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>1.0.0</version>
</dependency>
Expand All @@ -57,7 +57,7 @@ For Spring Boot server-side integration:

```xml
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>1.0.0</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion docs/en/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add to your `pom.xml`:

```xml
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>1.0.0</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion docs/en/INTEGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ callbacks own A2A-T generation, semantic validation, schemas and any LLM calls.
```xml

<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>1.0.0</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

```xml
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>1.0.0</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/INTEGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A2A-T 工作流执行引擎是一个 Java SDK,用于基于 A2A 协议和 A2A-T
```xml

<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>1.0.0</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine-parent</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
Expand Down
6 changes: 3 additions & 3 deletions samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -21,7 +21,7 @@
<dependencies>
<!-- The workflow execution SDK -->
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>${revision}</version>
</dependency>
Expand Down Expand Up @@ -51,7 +51,7 @@
</dependency>
<!-- Spring Boot starter: auto-assembles A2A server beans, partner only implements AgentExecutor -->
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${revision}</version>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand All @@ -24,7 +24,7 @@

<dependencies>
<dependency>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine</artifactId>
<version>${revision}</version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion workflow-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>dev.openan.workflow.sdk</groupId>
<groupId>net.openan.workflow.sdk</groupId>
<artifactId>workflow-engine-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
Expand Down
Loading