Skip to content

Commit ef8b25e

Browse files
authored
Merge pull request #115 from kabir/async-improvements
Async improvements
2 parents 2e944f9 + e882130 commit ef8b25e

File tree

17 files changed

+44
-244
lines changed

17 files changed

+44
-244
lines changed

core/pom.xml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -59,46 +59,4 @@
5959
</dependency>
6060
</dependencies>
6161

62-
<build>
63-
<pluginManagement>
64-
<plugins>
65-
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-compiler-plugin</artifactId>
68-
<version>${compiler-plugin.version}</version>
69-
<configuration>
70-
<compilerArgs>
71-
<arg>-parameters</arg>
72-
</compilerArgs>
73-
</configuration>
74-
</plugin>
75-
<plugin>
76-
<artifactId>maven-surefire-plugin</artifactId>
77-
<version>${surefire-plugin.version}</version>
78-
<configuration>
79-
<systemPropertyVariables>
80-
<maven.home>${maven.home}</maven.home>
81-
</systemPropertyVariables>
82-
</configuration>
83-
</plugin>
84-
85-
</plugins>
86-
</pluginManagement>
87-
<plugins>
88-
<plugin>
89-
<groupId>org.apache.maven.plugins</groupId>
90-
<artifactId>maven-compiler-plugin</artifactId>
91-
<version>${maven-compiler-plugin.version}</version>
92-
<configuration>
93-
<source>17</source>
94-
<target>17</target>
95-
</configuration>
96-
</plugin>
97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-surefire-plugin</artifactId>
100-
<version>${maven-surefire-plugin.version}</version>
101-
</plugin>
102-
</plugins>
103-
</build>
10462
</project>

examples/pom.xml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,6 @@
1515
<name>Java SDK A2A Examples</name>
1616
<description>Examples for the Java SDK for the Agent2Agent Protocol (A2A)</description>
1717

18-
<properties>
19-
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
20-
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
21-
<jakarta.enterprise.cdi-api.version>4.1.0</jakarta.enterprise.cdi-api.version>
22-
<quarkus.platform.version>3.22.3</quarkus.platform.version>
23-
</properties>
24-
25-
<dependencyManagement>
26-
<dependencies>
27-
<dependency>
28-
<groupId>io.quarkus</groupId>
29-
<artifactId>quarkus-bom</artifactId>
30-
<version>${quarkus.platform.version}</version>
31-
<type>pom</type>
32-
<scope>import</scope>
33-
</dependency>
34-
</dependencies>
35-
</dependencyManagement>
36-
3718
<dependencies>
3819
<dependency>
3920
<groupId>io.a2a.sdk</groupId>
@@ -48,7 +29,6 @@
4829
<dependency>
4930
<groupId>jakarta.enterprise</groupId>
5031
<artifactId>jakarta.enterprise.cdi-api</artifactId>
51-
<version>${jakarta.enterprise.cdi-api.version}</version>
5232
<scope>provided</scope>
5333
</dependency>
5434
<dependency>
@@ -59,24 +39,9 @@
5939

6040
<build>
6141
<plugins>
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-compiler-plugin</artifactId>
65-
<version>${maven-compiler-plugin.version}</version>
66-
<configuration>
67-
<source>17</source>
68-
<target>17</target>
69-
</configuration>
70-
</plugin>
71-
<plugin>
72-
<groupId>org.apache.maven.plugins</groupId>
73-
<artifactId>maven-surefire-plugin</artifactId>
74-
<version>${maven-surefire-plugin.version}</version>
75-
</plugin>
7642
<plugin>
7743
<groupId>io.quarkus</groupId>
7844
<artifactId>quarkus-maven-plugin</artifactId>
79-
<version>${quarkus.platform.version}</version>
8045
<extensions>true</extensions>
8146
<executions>
8247
<execution>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157

158158
<modules>
159159
<module>core</module>
160-
<module>sdk</module>
161-
<module>quarkus-sdk</module>
160+
<module>sdk-jakarta</module>
161+
<module>sdk-quarkus</module>
162162
<module>tck</module>
163163
<module>examples</module>
164164
</modules>

sdk-jakarta/pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<parent>
8+
<groupId>io.a2a.sdk</groupId>
9+
<artifactId>a2a-java-sdk-parent</artifactId>
10+
<version>1.0.0-SNAPSHOT</version>
11+
</parent>
12+
<artifactId>a2a-java-sdk-server-jakarta</artifactId>
13+
14+
<packaging>jar</packaging>
15+
16+
<name>Java A2A SDK for Jakarta</name>
17+
<description>Java SDK for the Agent2Agent Protocol (A2A) - SDK - Jakarta</description>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>${project.groupId}</groupId>
22+
<artifactId>a2a-java-sdk-core</artifactId>
23+
<version>${project.version}</version>
24+
</dependency>
25+
<dependency>
26+
<groupId>jakarta.enterprise</groupId>
27+
<artifactId>jakarta.enterprise.cdi-api</artifactId>
28+
</dependency>
29+
<dependency>
30+
<groupId>jakarta.json</groupId>
31+
<artifactId>jakarta.json-api</artifactId>
32+
<scope>provided</scope>
33+
</dependency>
34+
<dependency>
35+
<groupId>jakarta.ws.rs</groupId>
36+
<artifactId>jakarta.ws.rs-api</artifactId>
37+
<scope>provided</scope>
38+
</dependency>
39+
</dependencies>
40+
</project>

sdk/src/main/java/io/a2a/server/apps/A2ARequestFilter.java renamed to sdk-jakarta/src/main/java/io/a2a/server/apps/A2ARequestFilter.java

File renamed without changes.

sdk/src/main/java/io/a2a/server/apps/A2AServerResource.java renamed to sdk-jakarta/src/main/java/io/a2a/server/apps/A2AServerResource.java

File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<artifactId>a2a-java-sdk-parent</artifactId>
1010
<version>1.0.0-SNAPSHOT</version>
1111
</parent>
12-
<artifactId>a2a-java-sdk-quarkus</artifactId>
12+
<artifactId>a2a-java-sdk-server-quarkus</artifactId>
1313

1414
<packaging>jar</packaging>
1515

16-
<name>Java SDK A2A SDK for Quarkus</name>
16+
<name>Java A2A SDK for Quarkus</name>
1717
<description>Java SDK for the Agent2Agent Protocol (A2A) - SDK - Quarkus</description>
1818

1919
<dependencies>
@@ -47,57 +47,12 @@
4747
<dependency>
4848
<groupId>org.junit.jupiter</groupId>
4949
<artifactId>junit-jupiter-api</artifactId>
50-
<version>${junit.version}</version>
5150
<scope>test</scope>
5251
</dependency>
5352
<dependency>
5453
<groupId>io.rest-assured</groupId>
5554
<artifactId>rest-assured</artifactId>
56-
<version>${rest-assured.version}</version>
5755
<scope>test</scope>
5856
</dependency>
5957
</dependencies>
60-
61-
<build>
62-
<pluginManagement>
63-
<plugins>
64-
<plugin>
65-
<groupId>org.apache.maven.plugins</groupId>
66-
<artifactId>maven-compiler-plugin</artifactId>
67-
<version>${compiler-plugin.version}</version>
68-
<configuration>
69-
<compilerArgs>
70-
<arg>-parameters</arg>
71-
</compilerArgs>
72-
</configuration>
73-
</plugin>
74-
<plugin>
75-
<artifactId>maven-surefire-plugin</artifactId>
76-
<version>${surefire-plugin.version}</version>
77-
<configuration>
78-
<systemPropertyVariables>
79-
<maven.home>${maven.home}</maven.home>
80-
</systemPropertyVariables>
81-
</configuration>
82-
</plugin>
83-
84-
</plugins>
85-
</pluginManagement>
86-
<plugins>
87-
<plugin>
88-
<groupId>org.apache.maven.plugins</groupId>
89-
<artifactId>maven-compiler-plugin</artifactId>
90-
<version>${maven-compiler-plugin.version}</version>
91-
<configuration>
92-
<source>17</source>
93-
<target>17</target>
94-
</configuration>
95-
</plugin>
96-
<plugin>
97-
<groupId>org.apache.maven.plugins</groupId>
98-
<artifactId>maven-surefire-plugin</artifactId>
99-
<version>${maven-surefire-plugin.version}</version>
100-
</plugin>
101-
</plugins>
102-
</build>
10358
</project>

quarkus-sdk/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java renamed to sdk-quarkus/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)