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

New goals javadoc-no-fork and test-javadoc-no-fork which will not invoke generate-*-sources

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9, 2.9.1
    • 2.10
    • None
    • None
    • Patch

    Description

      • We have a lot of projects in our CI system (Jenkins) where we run mvn clean deploy site-deploy.
      • Because of this, the phase generate-sources resp. generate-test-sources does not need to rerun. It might even give a different result from the previous run during the default lifecycle.
      • Attached is a patch (including a IT) which will introduce two new goals, javadoc-no-fork and test-javadoc-no-fork, which will just skip the fork during site-run.

      In our case, e.g. enforcer:enforce, jacoco:prepare-agent and a homegrown configuration plugin are executed over and over again, which:

      • leads to confusion when application developers look on the console and
      • slows down the builds.

      Attachments

        1. mjavadoc-369.patch
          11 kB
          Mirko Friedenhagen

        Issue Links

          Activity

            People

              mfriedenhagen Mirko Friedenhagen
              mfriedenhagen Mirko Friedenhagen
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: