1677 changed the way that maven-compiler-plugin compiles annotation processors from being implicit to explicitly defined. The definition for @AutoValue annotations was added, but not @AutoService.
This was namely an issue with JDBC templates for users that rely on the --extraFilesToStage parameter to copy files from GCS to the extra_files directory on the Dataflow worker.
This PR adds the definition for the @AutoService annotation processor to affected modules.
1677 changed the way that
maven-compiler-plugin
compiles annotation processors from being implicit to explicitly defined. The definition for@AutoValue
annotations was added, but not@AutoService
.This caused the
CommonTemplateJvmInitializer
to not get compiled into the template jars with the@AutoService
handler, which resulted in Beam not calling the necessary Jvm initialization methods for certain templates to work properly. https://github.com/GoogleCloudPlatform/DataflowTemplates/blob/0d01accc1cfa29b762a764bc226496bfde25165c/v1/src/main/java/com/google/cloud/teleport/templates/common/CommonTemplateJvmInitializer.java#L40-L44This was namely an issue with JDBC templates for users that rely on the
--extraFilesToStage
parameter to copy files from GCS to theextra_files
directory on the Dataflow worker.This PR adds the definition for the
@AutoService
annotation processor to affected modules.