Maven Javadoc Plugin
  1. Maven Javadoc Plugin
  2. MJAVADOC-340

Javadoc generation with includeDependencySources=true crashes when any of those dependencies have scope=provided dependencies

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Using this configuration in jbpm-distribution:

                  <configuration>
                    <includeDependencySources>true</includeDependencySources>
                    <dependencySourceIncludes>
                      <dependencySourceInclude>org.jbpm:*</dependencySourceInclude>
                    </dependencySourceIncludes>
                  </configuration>
      

      I got this:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 13.620s
      [INFO] Finished at: Tue Jan 17 15:05:07 CET 2012
      [INFO] Final Memory: 17M/441M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:javadoc (javadoc-javadoc) on project jbpm-distribution: An error has occurred in JavaDocs report generation:
      [ERROR] Exit code: 1 - /home/gdesmet/projects/jboss/droolsjbpm/jbpm/jbpm-distribution/target/distro-javadoc-sources/jbpm-flow-5.3.0-SNAPSHOT-sources/org/jbpm/osgi/flow/core/Activator.java:26: package org.osgi.framework does not exist
      [ERROR] import org.osgi.framework.BundleActivator;
      

      Workaround: Explicitly add the provided scope dependencies one by one

          <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.osgi.core</artifactId>
            <scope>provided</scope>
          </dependency>
          <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.osgi.compendium</artifactId>
            <scope>provided</scope>
          </dependency>
      

      (and if you're doing this in an assembly, make sure your zips don't get to big or to small)

        Issue Links

          Activity

          Geoffrey De Smet created issue -
          Geoffrey De Smet made changes -
          Field Original Value New Value
          Link This issue relates to MJAVADOC-280 [ MJAVADOC-280 ]
          Benson Margulies made changes -
          Assignee Benson Margulies [ bmargulies ]
          Benson Margulies made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Cannot Reproduce [ 5 ]
          Hervé Boutemy made changes -
          Comment [ ONLINE STORE :
          ==== ( http://zzb.bz/LNmmL ) =====






          n2012 comes, in order to thank everyone, characteristic, novel style, varieties, low price and good quality, and the low sale price. Thank everyone


          free shipping

          competitive price

          any size available

          accept the paypal

          jordan shoes $32

          nike shox $32

          Christan Audigier bikini $23

          Ed Hardy Bikini $23

          Smful short_t-shirt_woman $15

          ed hardy short_tank_woman $16

          Sandal $32

          christian louboutin $80

          Sunglass $15

          COACH_Necklace $27

          handbag $33

          AF tank woman $17


          puma slipper woman $30
          ==== ( http://zzb.bz/LNmmL ) ===== ]
          Hervé Boutemy made changes -
          Comment [ ONLINE STORE :
          ==== ( http://zzb.bz/LNmmL ) =====






          n2012 comes, in order to thank everyone, characteristic, novel style, varieties, low price and good quality, and the low sale price. Thank everyone


          free shipping

          competitive price

          any size available

          accept the paypal

          jordan shoes $32

          nike shox $32

          Christan Audigier bikini $23

          Ed Hardy Bikini $23

          Smful short_t-shirt_woman $15

          ed hardy short_tank_woman $16

          Sandal $32

          christian louboutin $80

          Sunglass $15

          COACH_Necklace $27

          handbag $33

          AF tank woman $17


          puma slipper woman $30
          ==== ( http://zzb.bz/LNmmL ) ===== ]
          Benson Margulies made changes -
          Fix Version/s 2.9 [ 17249 ]
          Gert Vanderseypen made changes -
          Attachment workspace-javadoc-test.rar [ 61606 ]
          Michael Osipov made changes -
          Fix Version/s 2.9 [ 17249 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 11:56:47 UTC 2015 [ 1428235007093 ]
          Mark Thomas made changes -
          Workflow jira [ 12722572 ] Default workflow, editable Closed status [ 12762344 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:11:46 UTC 2015 [ 1428279106587 ]
          Mark Thomas made changes -
          Workflow jira [ 12960173 ] Default workflow, editable Closed status [ 12997057 ]

            People

            • Assignee:
              Benson Margulies
              Reporter:
              Geoffrey De Smet
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development