After reading through a lot of SO questions as well as other sites I still haven't been able to exactly address this problem.
We have a long build cycle (10-20 mins) because there are a lot of dependencies. It sometimes happens that you start a build with everything up do date, but while it's being done, someone pushes new changes to the remote svn.
I would like Maven to check on the validate
and verify
phases if svn is still up to date basically, on all dependent projects.
I've tried using the Enforcer plugin, and the Build number plugin with no success yet. The enforcer seems like it could do the trick, but I haven't figured out which rules to set. The build number plugin on the other hand checks if there are no local modifications, but I don't think it checks the remote changes.
I don't think the POM is very relevant to the question, but if anyone needs it, or some parts please let me know and I'll update with it.