sonatype/nexus — pull request #594 by cstamas (2012-10-19 12:48:36+00:00)
Title: Move current REST API into a plugin (WIP)

And mark it as "legacy". This makes Core Restlet-free, plexus-restlet-bridge free
and life better than before.

Any plugin contributing REST API needs to declare a dependency on this new plugin
for now (to use "legacy REST infra in unmodified form"), but once we introduce some other
REST imple, by updating resources in plugins
the dependency will cease too. Ultimately, nexus-legacy-restlet-api-plugin will
remain alone, with no dependant, and easily removed.

Also, since Core classloader now does not have Restlet, plexus-restlet, and
any other "webtech" loaded (is now a real headless app), the doors are open
to introduce any other remoting we want. *As a plugin*, to keep us
away from mistakes in past!

Also, while security is needed in core, and is in core, the one module
security-rest-api, that is adding security rest apis is now also in this
plugin as it also uses "legacy REST".