I have been struggling to add the Git project as the dependency in my maven project. I have the Git as the SSO based repository where it returns me the https repo path as https://username@git.server.name/scm/pathToRepo I tried adding repositories tag in my pom.xml but I am getting PKIX path building failed error I even tried adding the server.cer to the cacerts of my Java. I also tried passing username:password to the github repo path.
My intention here is to avoid the way to manually download the project using git command and converting it to jar and want pom.xml to take care of the cloning the project from the Git repo path , compiling and adding it as a dependency.