428418 JettyStopMojo prints some messages on System.err

This commit is contained in:
Jan Bartel 2014-02-19 12:06:10 +11:00
parent b8df85ec48
commit 8384b0febe
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ public class JettyStopMojo extends AbstractMojo
s.setSoTimeout(stopWait * 1000);
s.getInputStream();
System.err.printf("Waiting %d seconds for jetty to stop%n",stopWait);
getLog().info("Waiting "+stopWait+" seconds for jetty to stop");
LineNumberReader lin = new LineNumberReader(new InputStreamReader(s.getInputStream()));
String response;
boolean stopped = false;
@ -94,7 +94,7 @@ public class JettyStopMojo extends AbstractMojo
if ("Stopped".equals(response))
{
stopped = true;
System.err.println("Server reports itself as Stopped");
getLog().info("Server reports itself as stopped");
}
}
}