Skip to content

Exclude fonts from javadoc jars - #1990

Merged
snicoll merged 2 commits into
spring-projects:5.0.xfrom
shuseng8:gh-1989-javadoc-no-fonts
Nov 23, 2026
Merged

snicoll merged 2 commits into
spring-projects:5.0.xfrom
shuseng8:gh-1989-javadoc-no-fonts

Conversation

@shuseng8

Copy link
Copy Markdown
Contributor

The published javadoc jars each embed about 4MB of web fonts in resource-files/fonts. This change configures every javadoc task with -no-fonts, following the approach Spring Framework used in spring-projects/spring-framework@298e1db.

On spring-xml, the javadoc jar went from 4.2 MB to 291 KB. The font files are also omitted from the aggregated API docs in spring-ws-docs.

Closes gh-1989

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 21, 2026
The published javadoc jars each embed about 4MB of web fonts in
resource-files/fonts. Configure every javadoc task with -no-fonts,
as Spring Framework did.

See spring-projectsgh-1990

Signed-off-by: Shubham <87247136+shuseng8@users.noreply.github.com>
@snicoll snicoll added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 23, 2026
@snicoll snicoll added this to the 5.0.5 milestone Nov 23, 2026
@snicoll snicoll self-assigned this Nov 23, 2026
@snicoll
snicoll force-pushed the gh-1989-javadoc-no-fonts branch from 3c69511 to 4aeb82b Compare November 23, 2026 08:15
@snicoll
snicoll changed the base branch from main to 5.0.x November 23, 2026 08:16
@snicoll
snicoll merged commit e472cd7 into spring-projects:5.0.x Nov 23, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exclude fonts from javadoc jars

3 participants