Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13055

Document explicit annotation processing with protostream-processor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 13.0.0.Dev01
    • 12.1.3.Final
    • Marshalling
    • None
    • Undefined

      Our documentation tells users that all they need to generate ProtoStream context initializers is to add the protostream-processor dependency:

      https://infinispan.org/docs/stable/titles/developing/developing.html#generating_protostream_sci-marshalling

      This works in general, but it is not enough when the application is also using another annotation processor without automatic discovery, such as MapStruct.

      When users add one annotation processor in the <annotationProcessorPaths> configuration of maven-compiler-plugin, they must add all annotation processors there. Our documentation should mention that, and give an example of how to do it.

      It's even worse in our infinispan-client quarkus extension: the protostream-processor dependency is implicit, so the users don't even know what version of protostream-processor they need to reference in <annotationProcessorPaths>.

            Unassigned Unassigned
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: