Maven dependencies handling & deployment update

Dependencies are now fetched using Maven.
Some bugfixes to Maven deployment targets.