Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9513

Oracle pom does not trigger annotation processors across profiles for Java 25

XMLWordPrintable

      The Oracle POM uses several include/exclude rules for the maven-compiler-plugin, and this does not work well using Java 25 with any profiles set, as the ProtoStream annotation processor configuration is omitted due to the override configuration strategy.

      The solution is to use a merge strategy where we create the base configuration as we have it now with appending the annotation processors, and then in each profile, we merge with the prior configuration, and only override the include/exclude filters.

      This allows the annotation processing to be defined once in the build configuration and reused across any profile that is toggled on/off.

              ccranfor@redhat.com Chris Cranford
              ccranfor@redhat.com Chris Cranford
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: