Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6044

Annotation processors configured for compiler plugin are not used for editor parsing

    XMLWordPrintableJSON

Details

    Description

      Maven supplies "classpath/compile" ClassPath as the processor classpath. But the compiler-maven-plugin supports a special processor classpath that can be set in plugin configuration and should be used for discovery in addition to regular compile classpath.

      This technique is used in e.g. micronaut where the micronaut-parent POM inherited into user projects configures annotation processors this way. Errors that appear at compile time are not reported or underlined in the IDE's editor.

      Attachments

        Issue Links

          Activity

            People

              sdedic Svatopluk Dedic
              sdedic Svatopluk Dedic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h