Generate POM does not include customizations (relocations) in generated POM

(steve) #1

(this title validation is wonky. Any attempt to use “generatePomFileForMavenJavaPublication” cause it to fail)

Generating a POM with relocation (probably any pom customization from what I can tell) using generatePomFileForMavenJavaPublication does not use the customization. Seems like a bug.

You can see an example here:

(steve) #2

And to be clear… publishing does do the proper thing.

Anyway, makes generatePomFileForMavenJavaPublication kind of useless if it can’t be used to validate the POM