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

When specifying output dir, copy only the generated pdf

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: