Examples of PrintStreamLogger


Examples of org.apache.maven.cli.PrintStreamLogger

            this.proxies = new ConcurrentHashMap<ModuleName, FilterImpl>(maven3Builder.proxies);
            for (ModuleName name : this.proxies.keySet()) {
                executedMojosPerModule.put( name, new CopyOnWriteArrayList<ExecutedMojo>() );
            }
            this.reporters = new ConcurrentHashMap<ModuleName, List<MavenReporter>>(maven3Builder.reporters);
            this.eventLogger = new ExecutionEventLogger( new PrintStreamLogger( maven3Builder.listener.getLogger() ) );
        }
View Full Code Here

Examples of org.apache.maven.cli.PrintStreamLogger

            config.setStreams(streams);

            // Configure logging
            this.logger = config.getLogger();
            if (logger == null) {
                logger = new PrintStreamLogger(streams.out);
            }
            else {
                logger.setStream(streams.out);
            }
            config.setLogger(logger);
View Full Code Here

Examples of uk.co.javahelp.maven.plugin.fitnesse.mojo.PrintStreamLogger

  private static final String PORT = "9124"; // Using default port disturbs other tests for some reason

  @After
  public void tearDown() {
    ByteArrayOutputStream logStream = new ByteArrayOutputStream();
    Log log = new DefaultLog(new PrintStreamLogger(
      Logger.LEVEL_INFO, "test", new PrintStream(logStream)));
         new FitNesseHelper(log).shutdownFitNesseServer(PORT);
  }
View Full Code Here

Examples of uk.co.javahelp.maven.plugin.fitnesse.mojo.PrintStreamLogger

  @Before
  public void setUp() {
    artifactHandler = mock(ArtifactHandler.class);
   
    logStream = new ByteArrayOutputStream();
    Log log = new DefaultLog(new PrintStreamLogger(
      Logger.LEVEL_INFO, "test", new PrintStream(logStream)));
   
    fitNesseHelper = new FitNesseHelper(log);
  }
View Full Code Here

Examples of uk.co.javahelp.maven.plugin.fitnesse.mojo.PrintStreamLogger

    private File baseDirWhitespace;
   
  @Before
  public void setUp() {
    logStream = new ByteArrayOutputStream();
    Log log = new DefaultLog(new PrintStreamLogger(
      Logger.LEVEL_INFO, "test", new PrintStream(logStream)));
   
    fitNesseHelper = new FitNesseHelper(log);
   
        baseDir = new File("/tmp", BASE_DIR);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.