[GRADLE-3359] Plugin publishing plugin does not generate correct POM for project dependencies Created: 10/Nov/15  Updated: 28/Jul/16  Resolved: 28/Jul/16

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Daz DeBoer Assignee: Marco Vermeulen
Resolution: Fixed Votes: 0


 Description   

https://discuss.gradle.org/t/publishplugins-does-not-generate-pom-correctly/12629



 Comments   
Comment by Marco Vermeulen [ 28/Jul/16 ]

A fix has been applied that will now consider project dependencies as a special case.

It will examine each module(project) dependency in a plugin project and determine if it has a publications configuration block.
If it does, it will attempt to use the maven co-ordinates found in this configuration.
If not, it will fall back on the group, name (module name) and version specified in the module.

A caveat exists that if multiple artifacts are published in a dependent module, we will choose the first one. We do log this as a warning.

Comment by Marco Vermeulen [ 28/Jul/16 ]

Fixed and available in release 0.9.5 of the Plugin Publish plugin.

Generated at Wed Jun 30 12:46:44 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.