Package org.apache.maven.plugin.logging

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


        boolean success = PluginValidator.validatePlugins(finder);

        if (success) {
            log.info("--------------------------");
            log.info("Plugin Validation: SUCCESS");
            log.info("--------------------------");
        } else {
            log.info("--------------------------");
            log.info("Plugin Validation: FAILURE");
            log.info("--------------------------");
            throw new MojoFailureException("Plugin validation failed. Check the rest of the log for more information.");
View Full Code Here


        if (success) {
            log.info("--------------------------");
            log.info("Plugin Validation: SUCCESS");
            log.info("--------------------------");
        } else {
            log.info("--------------------------");
            log.info("Plugin Validation: FAILURE");
            log.info("--------------------------");
            throw new MojoFailureException("Plugin validation failed. Check the rest of the log for more information.");
        }
    }
View Full Code Here

            log.info("--------------------------");
            log.info("Plugin Validation: SUCCESS");
            log.info("--------------------------");
        } else {
            log.info("--------------------------");
            log.info("Plugin Validation: FAILURE");
            log.info("--------------------------");
            throw new MojoFailureException("Plugin validation failed. Check the rest of the log for more information.");
        }
    }
}
View Full Code Here

                .append("enabled=[").append(config.getEnabled()).append("],")
                .append("connection pool=[").append(
                        config.getPoolName()).append("]\n");
        }
       
        log.info(builder.toString());
    }
}
View Full Code Here

                .append("resType=[").append(config.getResType()).append("],")
                .append("datasourceClassname=[").append(
                        config.getDatasourceClassname()).append("]\n");
        }
       
        log.info(builder.toString());
    }
}
View Full Code Here

        for (MailResourceConfig config : configs) {
            builder.append("jndi name=[").append(config.getName()).append("],")
                .append("enabled=[").append(config.getEnabled()).append("]\n");
        }
       
        log.info(builder.toString());
    }
}
View Full Code Here

    }

    protected String convertFile(File file, String format) throws CommandLineException {
        Log log = getLog();
        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;
View Full Code Here

    }

    public void execute(EnforcerRuleHelper helper) throws EnforcerRuleException
    {
        Log log = helper.getLog();
        log.info("checking availability of port : " + this.port);

        // make sure it's > 0
        if (!(this.port > 0))
        {
            throw new EnforcerRuleException("Port is not valid " + this.port);
View Full Code Here

        if ( message != null )
        {
            buf.append( message ).append( '\n' );
        }
        buf.append( "Always pass!" );
        log.info( buf.toString() );
    }

}
View Full Code Here

                                                  "No rules are configured. Use the skip flag if you want to disable execution." );
            }
        }
        else
        {
            log.info( "Skipping Rule Enforcement." );
        }
    }

    /**
     * This method determines if a rule should execute based
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.