=pro load sample builds with project dependencies

* load sample builds from their definitions and replace library dependencies with project ones
* remove redefined sample build definitions
* test osgi sample by running a maven command
Merge pull request #16201 from 2m/wip-samples-with-project-deps

=pro load sample builds with project dependencies