Fix for maven warnings