public void execute()

in src/main/java/org/apache/maven/plugins/pdf/PdfMojo.java [323:339]


    public void execute() throws MojoExecutionException {
        init();

        try {
            generatePdf();
        } catch (IOException e) {
            debugLogGeneratedModel(getDocumentModel(Locale.ENGLISH));

            throw new MojoExecutionException("Error during document generation: " + e.getMessage(), e);
        }

        try {
            copyGeneratedPdf();
        } catch (IOException e) {
            throw new MojoExecutionException("Error copying generated PDF: " + e.getMessage(), e);
        }
    }