diff --git a/README.md b/README.md index 591611e48..5460f910b 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,13 @@ The A2A Java SDK provides two A2A server endpoint implementations, one based on Add **one** of the following dependencies to your project: +> *⚠️ The `io.github.a2asdk` `groupId` below is temporary and will likely change for future releases.* + ```xml - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-server-jakarta + ${io.a2a.sdk.version} ``` @@ -54,8 +57,9 @@ OR ```xml - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-server-quarkus + ${io.a2a.sdk.version} ``` @@ -198,10 +202,15 @@ public class WeatherAgentExecutorProducer { The A2A Java SDK provides a Java client implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A), allowing communication with A2A servers. To make use of the Java `A2AClient`, simply add the following dependency: +---- +> *⚠️ The `io.github.a2asdk` `groupId` below is temporary and will likely change for future releases.* +---- + ```xml - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-client + ${io.a2a.sdk.version} ``` diff --git a/client/pom.xml b/client/pom.xml index 975fb2928..3a0810318 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/common/pom.xml b/common/pom.xml index 3b6aabc36..faea6f033 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/examples/helloworld/client/pom.xml b/examples/helloworld/client/pom.xml index 9750da890..641d1012d 100644 --- a/examples/helloworld/client/pom.xml +++ b/examples/helloworld/client/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-examples-parent 0.2.4-SNAPSHOT @@ -17,7 +17,7 @@ - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-client @@ -27,14 +27,12 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} diff --git a/examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/HelloWorldRunner.java b/examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/HelloWorldRunner.java index 33064a9e9..10544f43c 100644 --- a/examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/HelloWorldRunner.java +++ b/examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/HelloWorldRunner.java @@ -1,5 +1,5 @@ ///usr/bin/env jbang "$0" "$@" ; exit $? -//DEPS io.a2a.sdk:a2a-java-sdk-client:0.2.4-SNAPSHOT +//DEPS io.github.a2asdk:a2a-java-sdk-client:0.2.4-SNAPSHOT //SOURCES HelloWorldClient.java /** diff --git a/examples/helloworld/pom.xml b/examples/helloworld/pom.xml index 672d76655..de38c1ad1 100644 --- a/examples/helloworld/pom.xml +++ b/examples/helloworld/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT ../../pom.xml @@ -27,12 +27,12 @@ import - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-client ${project.version} - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-server-quarkus ${project.version} diff --git a/examples/helloworld/server/pom.xml b/examples/helloworld/server/pom.xml index 5e0b6c58e..03fcee860 100644 --- a/examples/helloworld/server/pom.xml +++ b/examples/helloworld/server/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-examples-parent 0.2.4-SNAPSHOT @@ -17,7 +17,7 @@ - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-server-quarkus diff --git a/pom.xml b/pom.xml index 2cf37a9c7..620416977 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT @@ -13,10 +13,37 @@ Java SDK A2A Parent Java SDK for the Agent2Agent Protocol (A2A) + https://github.com/a2asdk/a2a-java-sdk + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + + a2a-java + The a2a-java developers + a2aproject + https://github.com/a2aproject/a2a-java + + + + + scm:git:git://github.com/a2asdk/a2a-java-sdk.git + scm:git:ssh://github.com:a2asdk/a2a-java-sdk.git + https://github.com/a2asdk/a2a-java-sdk + + + UTF-8 3.11.0 + 3.4.2 + 3.3.1 3.1.2 + 0.8.0 2.17.0 4.1.0 2.0.1 @@ -33,6 +60,7 @@ true + 3.8.0 @@ -131,7 +159,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${compiler-plugin.version} + ${maven-compiler-plugin.version} 17 17 @@ -142,13 +170,18 @@ maven-surefire-plugin - ${surefire-plugin.version} + ${maven-surefire-plugin.version} ${maven.home} + + org.apache.maven.plugins + maven-jar-plugin + 3.4.2 + io.quarkus quarkus-maven-plugin @@ -164,21 +197,56 @@ - + + org.sonatype.central + central-publishing-maven-plugin + ${sonatype-central-publishing-plugin.version} + true + + + central-a2asdk-temp + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + attach-javadocs + + jar + + + + org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} - - org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + + + org.sonatype.central + central-publishing-maven-plugin @@ -194,4 +262,44 @@ examples/helloworld tests/server-common + + + + + release + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + + + + + \ No newline at end of file diff --git a/sdk-jakarta/pom.xml b/sdk-jakarta/pom.xml index af290970e..d01235686 100644 --- a/sdk-jakarta/pom.xml +++ b/sdk-jakarta/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/sdk-quarkus/pom.xml b/sdk-quarkus/pom.xml index 6e232d297..1e2410278 100644 --- a/sdk-quarkus/pom.xml +++ b/sdk-quarkus/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java b/sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java index 827cc7041..7c45c0f9f 100644 --- a/sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java +++ b/sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java @@ -154,7 +154,6 @@ public AgentCard getAgentCard() { * Handles incoming GET requests to the authenticated extended agent card endpoint. * Returns the agent card in JSON format. * - * @return the authenticated extended agent card */ @Route(path = "/agent/authenticatedExtendedCard", methods = Route.HttpMethod.GET, produces = APPLICATION_JSON) public void getAuthenticatedExtendedAgentCard(RoutingExchange re) { diff --git a/sdk-server-common/pom.xml b/sdk-server-common/pom.xml index 848f943fe..7ae5e1835 100644 --- a/sdk-server-common/pom.xml +++ b/sdk-server-common/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/spec/pom.xml b/spec/pom.xml index 450db7489..7de1871d2 100644 --- a/spec/pom.xml +++ b/spec/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT diff --git a/tck/pom.xml b/tck/pom.xml index b89071fc1..45440c86e 100644 --- a/tck/pom.xml +++ b/tck/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT @@ -17,7 +17,7 @@ - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-server-quarkus ${project.version} diff --git a/tests/server-common/pom.xml b/tests/server-common/pom.xml index 394320f6c..6bdd88f5d 100644 --- a/tests/server-common/pom.xml +++ b/tests/server-common/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - io.a2a.sdk + io.github.a2asdk a2a-java-sdk-parent 0.2.4-SNAPSHOT ../../pom.xml