updating maven implementation to use file metadata