Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-649

javadoc:aggregate mis-determines whether a submodule was skipped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • None

    Description

      The fix for MJAVADOC-613 ends up mis-detecting when a submodule is being skipped in case there is an interplay between command-line and profile activation.

      In OpenDaylight we have a setup, where we have a profile doing roughly:

          <profile>
            <id>q</id>
            <properties>
              <maven.javadoc.skip>true</maven.javadoc.skip>
              <!-- ... and a host of other things -->
            </properties>
          </profile>
      
      

      this profile is defined for each and every artifact we build.

      We then have a job dedicated to extraction of javadoc which does:

      mvn verify javadoc:aggregate -e -Pq -Dmaven.javadoc.skip=false

      This works perfectly well with maven-javadoc-plugin-3.1.1, but breaks with 3.2.0: while each submodule generates its javadoc correctly (observing the command-line override of the profile), the aggregate goal ends up skipping all submodules, resulting in no aggregate being generated.

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nite Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: