How to deal with dependencies having only pom in Maven Central

Hello Gradle users,

having used Gradle for some years now we are currently struggling with new dependencies where in Maven Central there is only a pom, no jar.

One concrete example is itext7-core - http://repo1.maven.org/maven2/com/itextpdf/itext7-core/7.0.2/

Having a dependency compile 'com.itextpdf:itext7-core:7.0.2" leads to error message “Could not resolve com.itextpdf:…”

Any ideas how to get an appropriate dependency working?

Thanks in advance
Axel

Bottom line: You’ll have to find a repository that contains the actual artifact or upload it to your internal binary repository. The other option is to use a flat directory repository and serve it up that way.