Uploaded image for project: 'Build'
  1. Build
  2. BUILD-1222

Add auto-service to BOM

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • BOM 6.3.0
    • None
    • BOM
    • None

      We should add com.google.auto.service:auto-service in the BOM.

      So far we configured it via the maven compiler plugin and its annotation processor element. Turns out that a better way is to just have it on the class path in the provided scope. This way it will be picked up automatically without the need of explicitly configuring it. (The latter has the drawback that it forces us to also explicitly configure other annotations processors - e.g. Lombok, which are currently just picked up from the classpath the same way I'm suggesting for auto-services now).

       

        Acceptance criteria

              mduerig Michael Duerig
              mduerig Michael Duerig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR