Package org.apache.maven.plugin.logging

Examples of org.apache.maven.plugin.logging.Log.error()


        log.warn( text );
        log.warn( text, e );
        log.warn( e );
        log.error( text );
        log.error( text, e );
        log.error( e );
        log.isDebugEnabled();
        log.isErrorEnabled();
        log.isWarnEnabled();
        log.isInfoEnabled();
    }
View Full Code Here


                        .createAssembler(config);
                    assembler.assemble(config);
                }
            }
        } catch (UtilityException e) {
            log.error("Assembly failed: " + e.getMessage(), e);
        }
    }

    protected void doValidate() throws MojoExecutionException {
        Log log = getLog();
View Full Code Here

                        case WARNING:
                            log.warn( exceptions.get(i).toString());
                            break;

                        case ERROR:
                            log.error( "Error: ", exceptions.get(i));
                            break;

                        default:
                            log.error( "Fatal error:", exceptions.get(i));
                            break;
View Full Code Here

                        case ERROR:
                            log.error( "Error: ", exceptions.get(i));
                            break;

                        default:
                            log.error( "Fatal error:", exceptions.get(i));
                            break;

                    }
                }
View Full Code Here

    }
    final Log log = getLog();
    try {
      log.debug("XMLFactories: " + XMLFactories.inspectXMLFactories());
    } catch (final Throwable t) {
      log.error("broken XMLFactories", t);
      try {
        log.info("trying fallbacks...");
        XMLFactories.installFallbacks();
        log.error("fallbacks work: " + XMLFactories.inspectXMLFactories());
      } catch (final Throwable tt) {
View Full Code Here

    } catch (final Throwable t) {
      log.error("broken XMLFactories", t);
      try {
        log.info("trying fallbacks...");
        XMLFactories.installFallbacks();
        log.error("fallbacks work: " + XMLFactories.inspectXMLFactories());
      } catch (final Throwable tt) {
        log.error("fallbacks did not work", tt);
      }
    }
  }
View Full Code Here

      try {
        log.info("trying fallbacks...");
        XMLFactories.installFallbacks();
        log.error("fallbacks work: " + XMLFactories.inspectXMLFactories());
      } catch (final Throwable tt) {
        log.error("fallbacks did not work", tt);
      }
    }
  }

  protected void checkParams() {
View Full Code Here

          //might be too late though, since FactoryFinders are initialized only once
          System.setProperty("jaxp.debug", "true");
        }
        FACTORIES.putAll(XMLFactories.inspectXMLFactories());
      } catch (final Throwable t) {
        log.error("could not inspect XML factories, build environment is broken", t);
      } finally {
        SystemPropertyHelper.restoreProps(orig);
      }
      log.debug(FACTORIES.toString());
    }
View Full Code Here

        log.info( text, e );
        log.info( e );
        log.warn( text );
        log.warn( text, e );
        log.warn( e );
        log.error( text );
        log.error( text, e );
        log.error( e );
        log.isDebugEnabled();
        log.isErrorEnabled();
        log.isWarnEnabled();
View Full Code Here

        log.info( e );
        log.warn( text );
        log.warn( text, e );
        log.warn( e );
        log.error( text );
        log.error( text, e );
        log.error( e );
        log.isDebugEnabled();
        log.isErrorEnabled();
        log.isWarnEnabled();
        log.isInfoEnabled();
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.