Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6877

Separate scope for annotation processing

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Dependencies
    • Labels:
      None

      Description

      Hi, I know about annotationProcessorPaths of maven-compiler-plugin and it works somehow, but with some limitations

      1.  dependencyManagement does not work for path elements (need to specify version). workaround use variable
      2. if I have apt-processor as a part of the project (separate module) and use it only in the maven-compiler-plugin configuration it has been built in the last order, that brakes build
      3.  the maven-compiler-plugin can use only INSTALLED artifacts, not from a reactor

       

      Use the processor as a usual dependency is also not a case (even with provided scope)

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              foal Stanislav Spiridonov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: