Build for maven

Allow to push artifacts to maven, original from Stephen Nelson