Hi,
I have a maven dependency on a library, which in turn has a transitive dependency.
Unfortunately, this transitive dependency has a corrupted pom.xml (http://central.maven.org/maven2/javax/jdo/jdo2-api/2.2/jdo2-api-2.2.pom):
<groupId>javax.jdo</groupId>
<artifactId>jdo2-api</artifactId>
<version>${currentVersion}</version>
This fails the build:
FAILURE: Build failed with an exception.
- What went wrong:
Could not resolve all dependencies for configuration ‘:com.ysoft.safeq.module:core:compile’.
Could not resolve javax.jdo:jdo2-api:2.2.
Required by:
------------- some_internal:dependencyA -------------
inconsistent module metadata found. Descriptor: C:\storage.mvnrepo\javax\jdo\jdo2-api\2.2\jdo2-api-2.2.pom Errors: bad version: expected=‘2.2’ found=‘${currentVersion}’
The question is if there is any patching mechanism I can use to solve this issue…
Thank you in advance for any hint, Marian