Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-428

Documentation regarding useIncrementalCompilation not very useful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.9.0
    • Patch

    Description

      As of today, maven-compiler-plugin documentation for useIncrementalCompilation says: "to enable/disable incrementation compilation feature". Since there is no documentation of said feature, users will have to either:

      1) take a guess at how the feature behaves
      2) painfully read the plugin code to understand what it does

      This is less than optimal and lead to misunderstanding, like this comment https://issues.apache.org/jira/browse/MCOMPILER-205?focusedCommentId=14428972&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14428972

      So far the most explicit documentation I have found is in answer of a stackoverflow issue: https://stackoverflow.com/a/49700942

      I think it would benefit a lot of users to understand the implication of both options of this flag. I am trying to submit a PR providing an example of text.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              sadraskol Thomas Bracher
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: