Moved mavenCentral to last repository checked rather than first to speed up build time considerably.
Added test to ensure repositories that have `@RestResource(exported = false)` are not exposed.