@Override
    public void execute() throws MojoExecutionException {

        try {
            if (getBootstrapPacksInfo().isEmpty()) {
                getLog().error("Could not find any Celerio Template Pack having a META-INF/celerio.txt file on the classpath!");
                return;
            }
            celerioWelcomeBanner();

            JdbcConnectivity jdbcConnectivity = null;

            if (useCommandLineParameters()) {
                jdbcConnectivity = setUpParamValuesAndReturnJdbcConnectivity();

                TemplatePackInfo tpi = getBootstrapPackInfoByName(bootstrapPackName);
                packCommand = tpi.getCommand();
                packCommandHelp = tpi.getCommandHelp();
            } else {
                if (isInteractive()) {
                    startInteractiveConfWizard();
                } else {
                    useDefaultConf();
                }
            }

            runCelerioInBootstrapMode(jdbcConnectivity);

            copySqlConf();

            copyCelerioXsd();

            printInstructionsOnceBootstrapIsReady();

        } catch (Exception e) {
            getLog().error(e.getMessage());
            throw new MojoExecutionException(e.getLocalizedMessage(), e);
        }
    }
@ Override public void execute ( ) throws MojoExecutionException { try { if ( getBootstrapPacksInfo ( ) . isEmpty ( ) ) { getLog ( ) . error ( "Could not find any Celerio Template Pack having a META-INF/celerio.txt file on the classpath!" ) ; return ; } celerioWelcomeBanner ( ) ; JdbcConnectivity jdbcConnectivity = null ; if ( useCommandLineParameters ( ) ) { jdbcConnectivity = setUpParamValuesAndReturnJdbcConnectivity ( ) ; TemplatePackInfo tpi = getBootstrapPackInfoByName ( bootstrapPackName ) ; packCommand = tpi . getCommand ( ) ; packCommandHelp = tpi . getCommandHelp ( ) ; } else { if ( isInteractive ( ) ) { startInteractiveConfWizard ( ) ; } else { useDefaultConf ( ) ; } } runCelerioInBootstrapMode ( jdbcConnectivity ) ; copySqlConf ( ) ; copyCelerioXsd ( ) ; printInstructionsOnceBootstrapIsReady ( ) ; } catch ( Exception e ) { getLog ( ) . error ( e . getMessage ( ) ) ; throw new MojoExecutionException ( e . getLocalizedMessage ( ) , e ) ; } }
Mojo entry point.