Smaller fixes (POM update, ContentLocator)

Changes
* update NX to latest released 2.8.1
* fix NPM ContentLocator to reuse core provided class/be simpler