Skip to content

Include all source artifacts in published sources jars [SPR-12085] #16701

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-12085 and commented

Status Quo

For example, in 4.1 RC2, the META-INF/spring.factories file is present in spring-test-4.1.0.RC2.jar, but it is not present in spring-test-4.1.0.RC2-sources.jar. The same is true for the spring-beans module.

Further analysis reveals that only Java and AspectJ source code are included in the current 'sources' jars.

Deliverables

  1. Ensure that META-INF/spring.factories is included in published 'sources' archives across the framework.
    • This currently is known to affect spring-beans and spring-test.
  2. Ensure that the following file types are also included in published 'sources' archives:
    • Groovy source code
    • Properties files
    • XML files
    • META-INF/services/*
    • mime.types

Affects: 3.2.10, 4.0.6, 4.1 RC2

Issue Links:

Backported to: 4.0.7, 3.2.11

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions