Fix compilation issues on a clean local maven repo