Package org.apache.maven.plugin.logging

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


        log.info( text );
        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();
View Full Code Here


        if (!useDot) {
            log.info("DOT generation disabled");
            return null;
        }
        if (this.executable == null || this.executable.length() == 0) {
            log.warn("Parameter <executable/> was not set in the pom.xml.  Skipping conversion.");
            return null;
        }

        String generatedFileName = removeFileExtension(file.getAbsolutePath()) + "." + format;
        Commandline cl = new Commandline();
View Full Code Here

        if (output.length() > 0) {
            log.debug(output);
        }
        String errOutput = stderr.getOutput();
        if (errOutput.length() > 0) {
            log.warn(errOutput);
        }
        return generatedFileName;
    }

    protected String removeFileExtension(String name) {
View Full Code Here

                log.info("'dot -?' execution failed so DOT generation disabled.");
                return null;
            }
        }
        if (this.executable == null || this.executable.length() == 0) {
            log.warn("Parameter <executable/> was not set in the pom.xml.  Skipping conversion.");
            return null;
        }

        String generatedFileName = removeFileExtension(file.getAbsolutePath()) + "." + format;
        Commandline cl = new Commandline();
View Full Code Here

        if (output.length() > 0) {
            log.debug(output);
        }
        String errOutput = stderr.getOutput();
        if (errOutput.length() > 0) {
            log.warn(errOutput);
        }
        return generatedFileName;
    }

    private int dotHelpExitCode() throws CommandLineException {
View Full Code Here

            case Project.MSG_ERR:
                log.error(message);
                break;

            case Project.MSG_WARN:
                log.warn(message);
                break;

            case Project.MSG_INFO:
                log.info(message);
                break;
View Full Code Here

                // if we found anything
                if ( !list.isEmpty() )
                {
                    for ( String failure  : list )
                    {
                        log.warn( failure );
                    }
                    if ( fail )
                    {
                        throw new MojoExecutionException(
                                                          "Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed." );
View Full Code Here

        log.debug( text, e );
        log.debug( e );
        log.info( text );
        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 );
View Full Code Here

        log.debug( e );
        log.info( text );
        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();
View Full Code Here

        log.info( text );
        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();
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.