I am converting project from maven to Gradle and getting following error.
Error:
Couldn't not resolve com.wellsfargo.lendingGrid:base-pom:Release
I understood the problem that is
In Maven pom.xml, following dependency is mentioned and it’s internal dependency is as given as follows,
<dependency>
<groupId>xxx.xxx.xxx</groupId>
<artifactId>lgrid-encryption</artifactId>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
</exclusions>
<version>1.0.3</version>
</dependency>
Internal dependency of above artifact:
Internal dependency
<modelVersion>4.0.0</modelVersion>
<artifactId>lgrid-encryption</artifactId>
<version>1.0.3</version>
<name>lgrid-encryption</name>
<description>lgrid-encryption</description>
<parent>
<groupId>xxx.xxx.xxx</groupId>
<artifactId>base-pom</artifactId>
<version>RELEASE</version>
</parent>
it is unable to resolve internal dependency who version is “RELEASE”
In Maven “RELASE” is replace with parent version and it fetches that artifact from repository but in Gradle, it is looking for artifact “com.wellsfargo.lendingGrid:base-pom:Release”.
Actually it should replace “RELASE” with parent version and then it has to fetch from artifactory.
Can anyone please tell me how to resolve this issue?
I attached screenshot as text I pasted is not showing properly
It is the dependency which is mentioned in pom.xml
Internal dependency: