Пример #1
0
 @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);
 }
Пример #2
0
 public SetLocation warning(String s, Object... args) {
   return reporter.warning(s, args);
 }
Пример #3
0
 public void progress(float progress, String s, Object... args) {
   reporter.progress(progress, s, args);
 }
Пример #4
0
 public List<String> getWarnings() {
   return reporter.getWarnings();
 }
Пример #5
0
 public List<String> getErrors() {
   return reporter.getErrors();
 }
Пример #6
0
 public SetLocation error(String s, Object... args) {
   return reporter.error(s, args);
 }
Пример #7
0
 public SetLocation exception(Throwable t, String format, Object... args) {
   return reporter.exception(t, format, args);
 }
Пример #8
0
 public boolean isOk() {
   return reporter.isOk();
 }
Пример #9
0
 public Location getLocation(String msg) {
   return reporter.getLocation(msg);
 }
Пример #10
0
 {
   ((ReporterAdapter) reporter).setTrace(true);
 }