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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public class ReferenceBomVerifier extends DynamicBomVerifier {
"test-utils-docker/", // Test utilities for Docker-based tests
"compat-0.3/client/", // Compat 0.3 client modules (part of SDK BOM)
"compat-0.3/http-client/", // Compat 0.3 HTTP client (part of SDK BOM)
"compat-0.3/tck/" // Compat 0.3 TCK (not yet enabled)
"compat-0.3/tck/", // Compat 0.3 TCK (not yet enabled)
"compat-0.3/tests/" // Compat 0.3 test utilities
// Note: reference/ and compat-0.3/reference/ are NOT excluded - we verify those classes load
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
public class SdkBomVerifier extends DynamicBomVerifier {

private static final Set<String> SDK_EXCLUSIONS = Set.of(
"boms/", // BOM test modules themselves
"examples/", // Example applications
"tck/", // TCK test suite
"compat-0.3/tck/", // Compat 0.3 TCK (not yet enabled)
"boms/", // BOM test modules themselves
"examples/", // Example applications
"tck/", // TCK test suite
"compat-0.3/tck/", // Compat 0.3 TCK (not yet enabled)
"compat-0.3/reference/", // Compat 0.3 reference implementations (in reference BOM)
"tests/", // Integration tests
"test-utils-docker/" // Test utilities for Docker-based tests
"compat-0.3/tests/", // Compat 0.3 test utilities)
"tests/", // Integration tests
"test-utils-docker/" // Test utilities for Docker-based tests
);

private static final Set<String> SDK_FORBIDDEN = Set.of(
Expand Down
8 changes: 8 additions & 0 deletions compat-0.3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@
<type>test-jar</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-compat-0.3-tests-server-common</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -116,6 +121,9 @@
<!-- Server conversion (0.3 to 1.0 translation layer) -->
<module>server-conversion</module>

<!-- Test infrastructure -->
<module>tests/server-common</module>

<!-- Client modules -->
<module>client/base</module>
<module>client/transport/spi</module>
Expand Down
7 changes: 6 additions & 1 deletion compat-0.3/reference/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-compat-0.3-tests-server-common</artifactId>
<scope>test</scope>
</dependency>
<!-- Client for testing -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down Expand Up @@ -131,4 +136,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
5 changes: 5 additions & 0 deletions compat-0.3/reference/jsonrpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-compat-0.3-tests-server-common</artifactId>
<scope>test</scope>
</dependency>
<!-- Client for testing -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
5 changes: 5 additions & 0 deletions compat-0.3/reference/rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-compat-0.3-tests-server-common</artifactId>
<scope>test</scope>
</dependency>
<!-- Client for testing -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
53 changes: 53 additions & 0 deletions compat-0.3/tests/server-common/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.a2aproject.sdk</groupId>
<artifactId>a2a-java-sdk-compat-0.3-parent</artifactId>
<version>1.0.0.CR2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>a2a-java-sdk-compat-0.3-tests-server-common</artifactId>

<packaging>jar</packaging>

<name>Java A2A Compat 0.3 Server Tests Common</name>
<description>Java SDK for the Agent2Agent Protocol (A2A) - Compat 0.3 Server Tests Common</description>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-spec</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>a2a-java-sdk-server-common</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<skipPublishing>true</skipPublishing>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="https://jakarta.ee/xml/ns/jakartaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd"
version="4.0"
bean-discovery-mode="all">
</beans>