Skip to content

chore(distribution): add missing jackson-datatype-jsr310 dependency to agentscope-all#507

Merged
AlbumenJ merged 1 commit intoagentscope-ai:mainfrom
fang-tech:fang-tech/chore(pom)-add-jsr-to-all-pom
Jan 12, 2026
Merged

chore(distribution): add missing jackson-datatype-jsr310 dependency to agentscope-all#507
AlbumenJ merged 1 commit intoagentscope-ai:mainfrom
fang-tech:fang-tech/chore(pom)-add-jsr-to-all-pom

Conversation

@fang-tech
Copy link
Contributor

@fang-tech fang-tech commented Jan 11, 2026

close #506

AgentScope-Java Version

1.0.7-SNAPSHOT

Description

The dependency was added to agentscope-core but not synced to agentscope-all, causing NoClassDefFoundError for users of the all-in-one artifact.

Root Cause

The jackson-datatype-jsr310 dependency was added to agentscope-core in commit 5f19549 (#413), but was not synchronized to agentscope-all/pom.xml.

Since agentscope-core is declared with <optional>true</optional> in agentscope-all, its transitive dependencies are not propagated to downstream users.

Solution

Add the missing jackson-datatype-jsr310 dependency to agentscope-distribution/agentscope-all/pom.xml.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

The dependency was added to agentscope-core but not synced to
agentscope-all, causing NoClassDefFoundError for users of the
all-in-one artifact.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a missing dependency issue where jackson-datatype-jsr310 was added to agentscope-core but not synchronized to the all-in-one distribution artifact agentscope-all. Since agentscope-core is marked as optional in agentscope-all, its transitive dependencies don't propagate to downstream users, causing NoClassDefFoundError at runtime.

Changes:

  • Added jackson-datatype-jsr310 dependency to agentscope-all/pom.xml to fix transitive dependency propagation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Jan 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fang-tech fang-tech changed the title chore(pom): add missing jackson-datatype-jsr310 dependency to agentscope-all chore(distribution): add missing jackson-datatype-jsr310 dependency to agentscope-all Jan 11, 2026
@AlbumenJ AlbumenJ merged commit f704934 into agentscope-ai:main Jan 12, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]:

2 participants