You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alex O'Ree (JIRA)" <ji...@apache.org> on 2017/03/14 02:23:41 UTC

[jira] [Commented] (MPDF-80) Support generation of more than one PDF file for a given module

    [ https://issues.apache.org/jira/browse/MPDF-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923429#comment-15923429 ] 

Alex O'Ree commented on MPDF-80:
--------------------------------

ok looks like this is possible during the site phase. Simply add an additional execution element

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pdf-plugin</artifactId>
        <executions>
          <execution>
            <id>pdf</id>
            <phase>site</phase>
            <goals>
              <goal>pdf</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
              <includeReports>false</includeReports>
            </configuration>
          </execution>
           <execution>
            <id>pdf2</id>
            <phase>site</phase>
            <goals>
              <goal>pdf</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
              <includeReports>false</includeReports>
              <docDescriptor>src/site/pdf2.xml</docDescriptor>
            </configuration>
          </execution>
        </executions>
      </plugin>


> Support generation of more than one PDF file for a given module
> ---------------------------------------------------------------
>
>                 Key: MPDF-80
>                 URL: https://issues.apache.org/jira/browse/MPDF-80
>             Project: Maven PDF Plugin
>          Issue Type: New Feature
>            Reporter: Alex O'Ree
>
> I'd love to have the ability to generate both a user guide and dev guide from the same src/site folder if possible. Probably easiest to do more than one pdf.xml file



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)