added support for custom mimetype, removed deprecated method call
added nexus deploy script, adapted to RLC needs