diff --git a/boms/sdk/src/it/sdk-usage-test/pom.xml b/boms/sdk/src/it/sdk-usage-test/pom.xml
index 0468502e7..d1e2388e4 100644
--- a/boms/sdk/src/it/sdk-usage-test/pom.xml
+++ b/boms/sdk/src/it/sdk-usage-test/pom.xml
@@ -104,10 +104,6 @@
-
- com.fasterxml.jackson.core
- jackson-databind
-
org.slf4j
slf4j-api
diff --git a/extras/queue-manager-replicated/core/src/main/java/io/a2a/extras/queuemanager/replicated/core/ReplicatedEventQueueItem.java b/extras/queue-manager-replicated/core/src/main/java/io/a2a/extras/queuemanager/replicated/core/ReplicatedEventQueueItem.java
index 30527b797..87c10fb4e 100644
--- a/extras/queue-manager-replicated/core/src/main/java/io/a2a/extras/queuemanager/replicated/core/ReplicatedEventQueueItem.java
+++ b/extras/queue-manager-replicated/core/src/main/java/io/a2a/extras/queuemanager/replicated/core/ReplicatedEventQueueItem.java
@@ -1,9 +1,5 @@
package io.a2a.extras.queuemanager.replicated.core;
-import com.fasterxml.jackson.annotation.JsonGetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonSetter;
import io.a2a.server.events.EventQueueItem;
import io.a2a.spec.A2AError;
import io.a2a.spec.Event;
@@ -12,10 +8,8 @@
public class ReplicatedEventQueueItem implements EventQueueItem {
private String taskId;
- @JsonInclude(JsonInclude.Include.NON_NULL)
private StreamingEventKind event;
- @JsonInclude(JsonInclude.Include.NON_NULL)
private A2AError error;
private boolean closedEvent;
@@ -71,13 +65,10 @@ public void setTaskId(String taskId) {
* Get the StreamingEventKind event field (for JSON serialization).
* @return the StreamingEventKind event or null
*/
- @JsonGetter("event")
- @JsonInclude(JsonInclude.Include.NON_NULL)
public StreamingEventKind getStreamingEvent() {
return event;
}
- @JsonSetter("event")
public void setEvent(StreamingEventKind event) {
this.event = event;
this.error = null; // Clear error when setting event
@@ -87,13 +78,10 @@ public void setEvent(StreamingEventKind event) {
* Get the A2AError field (for JSON serialization).
* @return the A2AError or null
*/
- @JsonGetter("error")
- @JsonInclude(JsonInclude.Include.NON_NULL)
public A2AError getErrorObject() {
return error;
}
- @JsonSetter("error")
public void setError(A2AError error) {
this.error = error;
this.event = null; // Clear event when setting error
@@ -104,7 +92,6 @@ public void setError(A2AError error) {
* This is the method required by the EventQueueItem interface.
* @return the event (StreamingEventKind, A2AError, or QueueClosedEvent) or null if none is set
*/
- @JsonIgnore
@Override
public Event getEvent() {
if (closedEvent) {
@@ -120,7 +107,6 @@ public Event getEvent() {
* Indicates this is a replicated event (implements EventQueueItem).
* @return always true for replicated events
*/
- @JsonIgnore
@Override
public boolean isReplicated() {
return true;
@@ -147,7 +133,6 @@ public boolean hasError() {
* For JSON serialization.
* @return true if this is a queue closed event
*/
- @JsonGetter("closedEvent")
public boolean isClosedEvent() {
return closedEvent;
}
@@ -156,7 +141,6 @@ public boolean isClosedEvent() {
* Set the closed event flag (for JSON deserialization).
* @param closedEvent true if this is a queue closed event
*/
- @JsonSetter("closedEvent")
public void setClosedEvent(boolean closedEvent) {
this.closedEvent = closedEvent;
if (closedEvent) {
diff --git a/server-common/pom.xml b/server-common/pom.xml
index e41442c96..1f8633c77 100644
--- a/server-common/pom.xml
+++ b/server-common/pom.xml
@@ -38,14 +38,6 @@
${project.groupId}
a2a-java-sdk-client-transport-jsonrpc
-
- com.fasterxml.jackson.core
- jackson-databind
-
-
- com.fasterxml.jackson.datatype
- jackson-datatype-jsr310
-
io.smallrye.reactive
mutiny-zero
diff --git a/transport/rest/pom.xml b/transport/rest/pom.xml
index 42987ee78..685de4977 100644
--- a/transport/rest/pom.xml
+++ b/transport/rest/pom.xml
@@ -56,10 +56,6 @@
mockito-core
test
-
- com.fasterxml.jackson.datatype
- jackson-datatype-jsr310
-
com.google.protobuf
protobuf-java-util