> in fact content of any jar or pom or sha downloaded is the html page > explaining the user that > > *** Internet2 Shibboleth Project has moved *** > > what is wrong ? > > who has to act ?
This is the result of a poorly configured Maven repository. This is not Maven's fault. The shibboleth repository should not return http 200 status code when it is unable to serve the proper file, which is what it is doing. Maven interprets the http 200 status code as "everything is OK" and saves the resulting HTML as the pom or jar file you requested. Ideally there would be some Maven magic which checks the contents of the file and ensures it seems like a reasonable pom, jar, war, etc before saving it to the local repo cache but that does not currently exist beyond a feature request in JIRA. Problems like this hopefully teach people to be aware of what Maven repositories they are linking to for dependencies and become a little bit more cautious about them. Also if you were running a proper MRM like Nexus, this problem would be dealt with in the MRM. For the best Maven-experience, you really need to be running an MRM. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
