So my job has 2 parts. The first part
downloads all the required maven artifacts from a central online repository. The second part
uses the download folder as an online repository(by changing URL from central repo to local folder) to build our product.
But there are certain artifacts which do not have a maven-metadata.xml
after the first part of the job. As a result, the second part fails. I don't want to hardcode the online repo and curl as it's not what we're looking for. Neither do I want to copy some other maven-metadata.xml
and edit my changes. Also, I cant give the offline
option during build, as I do need the artifacts to be picked up from my local repo
(downloads).
Any solution to this? Thanks IA.