-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Milestone
Description
I want to set the pom name and description like this to satisfy the maven central requirements:
publishing {
publications.all {
pom {
name = 'My Library'
description = 'A concise description of my library'
url = 'http://www.example.com/library'
}
}
}
Expected Behavior
Generated poms should contain:
<?xml version="1.0" encoding="UTF-8"?>
<project ...>
...
<name>My Library</name>
<description>A concise description of my library</description>
<url>http://www.example.com/library</url>
</project>
Current Behavior
The 3 lines exist in the actual artifact's pom. However the pom for the plugin marker does not contain the name and description.
Context
This worked in Gradle 4.10.3. On newer versions it is broken. Tested it with 5.0, 5.6.4, 6.0 and 6.2.
Because of this issue it's not possible to publish plugin markers to maven central.
Steps to Reproduce
This is a sample project with publishing set up. If you run publish
it will write to build/repo
:
publish-sample.zip
martinbonnin, swankjesse and gschueler