Have the goals clean and install been specified? If we are extra paranoid I would imagine the -U flag could be used to force a check on all the remote repositories. Usually not necessary though.
-Lennard ----- Original Message ----- From: "Jens Hübel" <[email protected]> To: [email protected] Sent: Wednesday, May 5, 2010 1:36:58 PM GMT -07:00 U.S. Mountain Time (Arizona) Subject: Build failure with fresh maven repo Hi Chemistries, I detected a build failure caused by some outdated dependencies in our pom.xmls. It concerns me a bit that these kind of errors remain undetected in our complete build and verification chain. The problem is that after a refactoring the maven repository is not cleared and keeps all artifacts that ever have been produced. So all our builds internally and on Hudson succeed even if a pom.xml is invalid. If someone builds from scratch however the build fails. It seems to be good idea to manually clear the chemistry branch in the maven repository after any change in the dependencies. Perhaps there is a better way to address this kind of problem? Is there something like mvn uninstall perhaps? Jens
