@Override protected void setUp() throws Exception { super.setUp(); reporter.setTrace(true); Config config = new Config(); fnx = new FakeNexus(config, remote); fnx.start(); IO.delete(remote); IO.delete(local); IO.copy(IO.getFile("testresources/mavenrepo"), remote); remote.mkdirs(); local.mkdirs(); repo = new MavenRemoteRepository(local, new HttpClient(), fnx.getBaseURI() + "/repo/", reporter); storage = new MavenRepository( local, "fnexus", this.repo, null, null, new ReporterAdapter(System.out), null); }
public SetLocation warning(String s, Object... args) { return reporter.warning(s, args); }
public void progress(float progress, String s, Object... args) { reporter.progress(progress, s, args); }
public List<String> getWarnings() { return reporter.getWarnings(); }
public List<String> getErrors() { return reporter.getErrors(); }
public SetLocation error(String s, Object... args) { return reporter.error(s, args); }
public SetLocation exception(Throwable t, String format, Object... args) { return reporter.exception(t, format, args); }
public boolean isOk() { return reporter.isOk(); }
public Location getLocation(String msg) { return reporter.getLocation(msg); }
{ ((ReporterAdapter) reporter).setTrace(true); }