POC: [NX-496] Component metadata api

https://issues.sonatype.org/browse/NX-496
yes please do not use test-jar, this can cause corruption of transitive dependency scope.