I have a pipeline that downloads a JAR file from Bitbucket downloads. And save it in the.m2 directory. After that, I do a mvn clean install. At this moment, the JAR that I have in.m2 will be a dependency, but when they try to install it, the next error in the pipeline appears:
error reading /root/.m2/repository/com/lib.jar; zip file is empty
But if I validate the availability of this lib.jar, it's available. Could you please help me understand this error?
Thanks!