Spurious ClassNotFound Exception during maven builds

I first observed this behavior on our build server running Jenkins. We have two build jobs, building snapshot versions. Project A and B. Project B depends on A. Always dealing with snapshots. Jenkins ran the standard mvn clean install command. Now, when both jobs were running in parallel on Jenkins, sometimes project B failed during compilation or running unit tests with weird ClassNotFound exceptions. The missing classes were from project A, of course.


Andreas Dangel | subscribe via RSS | adangel | .onion © Copyright 2021. (22 November 2021)