spring-cloud / spring-cloud/spring-cloud-commons

Please provide automatic module-name(s) (Add "Automatic-Module-Name"-Entry to Manifest(s))

Open
#1,493 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
Dominant language
Java
Stars
751
Forks
744
Avg merge
1d 14h
Merged PRs (30d)
9

Description

Using spring-cloud-context in a project where I add a module-descriptor (module-info.java) I get the following warning during the build:
[WARNING] ******************************************************************************************************************************************************
[WARNING] * Required filename-based automodules detected: [spring-cloud-context-4.2.0.jar]. Please don't publish this project to a public artifact repository! *
[WARNING] ******************************************************************************************************************************************************

I examined the reason: the jar does not provide a reliable module-name in its Manifest.
Please add module name(s).

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

Start by inspecting the spring-cloud-context-4.2.0.jar manifest and the repository build configuration that creates it. Identify the affected published JAR manifests and define reliable Automatic-Module-Name entries for them. Done means the build no longer reports required filename-based automodules for the affected artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.