[GRADLE-2984] Custom packaging in POM is not respected for entries in maven local repository Created: 10/Jan/14  Updated: 10/Jan/14  Resolved: 10/Jan/14

Status: Resolved
Project: Gradle
Affects Version/s: 1.10
Fix Version/s: 1.11-rc-1

Type: Bug
Reporter: Luke Daley Assignee: Luke Daley
Resolution: Fixed Votes: 0

Known Issue Of:

 Description   

If an item is published to the maven local repository (e.g. using `install` task of Maven plugin) with a non-jar packaging, this is not respected.

It is not respected in so far as that Gradle does not use the packaging name as the extension value for the artifact. Regardless of what the packaging is, Gradle looks for a jar file.

Remote repositories do not have the same behaviour. For a remote repository Gradle will look for an artifact with an extension that matches the packaging element.


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