提交 ba24fa07 编写于 作者: O Olivier Lamy

use logger instead of System.out

上级 0868af63
...@@ -202,7 +202,7 @@ public class RedeployPublisher extends Recorder { ...@@ -202,7 +202,7 @@ public class RedeployPublisher extends Recorder {
String settingsPath = mavenHome + "/conf/settings.xml"; String settingsPath = mavenHome + "/conf/settings.xml";
remoteSettings = build.getWorkspace().child( settingsPath); remoteSettings = build.getWorkspace().child( settingsPath);
} }
System.out.print( "use remote maven settings from : " + remoteSettings.getRemote() ); listener.getLogger().println( "use remote maven settings from : " + remoteSettings.getRemote() );
remoteSettings.copyTo( filePath ); remoteSettings.copyTo( filePath );
settingsLoc = tmpSettings; settingsLoc = tmpSettings;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册