spring-projects / spring-projects/spring-ai

support java 9 JPMS

Open
#5,237 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
1d 7h
Merged PRs (30d)
6

Description

Expected Behavior
spring-ai libraries could be used in module-info.java

Current Behavior

spring-ai-commons and spring-ai-model share the same package "org.springframework.ai.embedding", and it causes split package problem in JPMS project.

Context

My JPMS project, spring-ai libraries cannot be used in module-info.java

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names spring-ai-commons, spring-ai-model, org.springframework.ai.embedding, and module-info.java, but no source files or tests. Start by locating those package declarations and module metadata, then determine how a JPMS consumer can use both libraries without a split package. Done means a module-info.java consumer can resolve the libraries successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.