IDE-1453 support publish to remote server for maven
IDE-1453 fixed other places that don't use getMavenProject( monitor ) api