WIP [NX-525] shared database support

https://issues.sonatype.org/browse/NX-525