Warning during publish: 'Maven publication 'pluginMaven' pom metadata warnings'
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 402
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 20
Description
Full warning:
```
> Task :pkl-gradle:generatePomFileForPluginMavenPublication
Maven publication 'pluginMaven' pom metadata warnings (silence with 'suppressPomMetadataWarningsFor(variant)'):
- Variant runtimeElements:
- contains dependencies that cannot be represented in a published pom file.
- dependency on project ':pkl-tools' declared with Gradle attributes
```
Contributor guide
Research direction
Start by reproducing :pkl-gradle:generatePomFileForPluginMavenPublication and inspect the publication configuration for pluginMaven, runtimeElements, and the :pkl-tools dependency. Determine how the Gradle attributes are introduced and whether the warning should be resolved or intentionally suppressed; done when the publish task has an agreed warning-free or documented result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100