[GRADLE-3041] Request is issued for jar artifact when Maven dependency has packaging of type POM Created: 05/Mar/14 Updated: 06/Apr/14 Resolved: 06/Apr/14
This can be problematic when the jar artifact does not exist, depending on the configuration of the server.
For example, artifactory can be configured to “hide the existence of non existing artifacts” for password protected repositories. In this case, the server will return a HTTP 403 when Gradle requests the jar, which will fail the build.
|Comment by Santoash Cuddalore Rajaram [ 28/Mar/14 ]|
|Comment by Adam Murdoch [ 06/Apr/14 ]|
This is by design, and exactly what Maven does. For this issue we changed the implementation to avoid checking for the jar when the pom is used as a parent pom, but not when the module is used as a dependency.