Fix compile error updating maven version to 1.5

I think that this is a good patch to resolve the compile error :)