Skip to content

Something is off with prefix resolution #11252

@cstamas

Description

@cstamas

Affected version

master

Bug description

Subject PR #11072

Problem is demonstrated here:
https://gist.github.com/cstamas/c4ae65fb50a16fbc561ab49027ea0172

tl;dr: mvn spotless:apply stopped working with latest master

Facts:

  • the plugin does not have G level metadata
  • the complex heuristics did download all plugin JARs to figure out prefixes (hence was slow)
  • the PR made Maven rely on metadata only

Debatable:

  • is the change correct, or we need more here?
  • is publishing a plugin to central without (expected) G level metadata (where prefixes are listed) ok?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions