We have a problem at our project, where the pom file of the downloaded jar is not correct. It does not contain a 1.0 tag. So what we did was installing our "corrected" pom file for that library and added is a 3rd party library to nexus.
The problem we are now facing is that it does not take the version that we added as a 3rd party library. In a similar case, when we deleted the file out of the maven central nexus repository, than it took the 3rd party library, and it did not try to fetch it again from maven central.
Now we did the same for a corrupted jar, but when we delete the jar in the openSAML nexus repository, instead of using the 3rd party library, it refetches it from the openSAML nexus repository and it does not take ours.
Does anyone have an idea to why it refetches it and does not take the 3rd party library?