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

maven pom's do not include source artifacts

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0-incubator
    • 1.0.0
    • FontBox, JempBox
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment