Context : I do not have UI access to Nexus Repository but I have access to Jenkins configured with access to nexus repository. I have a shaded jar in my git repository which needs to be directly uploaded to nexus repository using maven without pom.xml or settings.xml file.
Problem : How to upload a jar in git repo to nexus repository using Jenkins with maven plugin ?
I tried searching for this specific usecase and was not able to find a solution.