this.buildShadowRepository("repo3");
this.buildShadowRepository("repo4");
// create a target
TargetRegistry targetRegistry = this.lookup(TargetRegistry.class);
Target t1 =
new Target("maven2-all", "All (Maven2)", new Maven2ContentClass(), Arrays.asList(new String[]{".*"}));
targetRegistry.addRepositoryTarget(t1);
nexusConfiguration().saveConfiguration();
// setup security
this.securitySystem = this.lookup(SecuritySystem.class);