Uploaded image for project: 'Maven PDF Plugin'
  1. Maven PDF Plugin
  2. MPDF-28

When specifying output dir, copy only the generated pdf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None

    Description

      Suppose that you have the following layout:

      src
        |_ site
          |_ resources
            |_ foo
              |_ bar.pdf
      

      You specified the following conf

            <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>
                  </configuration>
                </execution>
              </executions>
            </plugin>
      

      The generated pdf is copied to target\site but also the bar.pdf

      Attachments

        Activity

          People

            Unassigned Unassigned
            siveton Siveton Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: