Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-514

maven pom's do not include source artifacts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0-incubator
    • Fix Version/s: 1.0.0
    • Component/s: FontBox, JempBox
    • Labels:
      None

      Description

      For pdfbox, fontbox, and jempbox I have added the following lines to my POM's. This way when eclipse adds them to my classpath it also picks up the source.

      Essentially the following lines tell maven that when running a maven:install to also jar up the source files and include those in the distribution.

      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-source-plugin</artifactId>
      <executions>
      <execution>
      <id>attach-sources</id>
      <goals>
      <goal>jar</goal>
      </goals>
      </execution>
      </executions>
      </plugin>
      </plugins>

        Attachments

          Activity

            People

            • Assignee:
              jukkaz Jukka Zitting
              Reporter:
              yonas.jongkind@gmail.com Yonas Jongkind
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: