Maven PDF Plugin
  1. Maven PDF Plugin
  2. MPDF-28

When specifying output dir, copy only the generated pdf

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Labels:
      None
    • Number of attachments :
      0

      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

        Activity

        Hide
        Vincent Siveton added a comment -

        fixed in r802540, snapshot deployed

        Show
        Vincent Siveton added a comment - fixed in r802540 , snapshot deployed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: