Fixing registration with new ambra dependency and for maven 3