protected NexusClient client() {
if (nexusClient == null) {
try {
nexusClient = new NexusClientFactoryImpl(
Lists.<SubsystemProvider>newArrayList(new GuiceSubsystemProvider(TestContainer.getInstance().getPlexusContainer().lookup(Injector.class)))
).createFor(
BaseUrl.baseUrlFrom(nexusBaseUrl),
new UsernamePasswordAuthenticationInfo(checkNotNull("admin"), checkNotNull("admin123"))
);
}