diff --git a/operator-framework/pom.xml b/operator-framework/pom.xml index 34c286797d..22f0914131 100644 --- a/operator-framework/pom.xml +++ b/operator-framework/pom.xml @@ -26,12 +26,6 @@ org.slf4j slf4j-api - - com.google.auto.service - auto-service - compile - - com.squareup javapoet @@ -87,4 +81,29 @@ - \ No newline at end of file + + + + maven-compiler-plugin + ${maven-compiler-plugin.version} + + + + default-compile + compile + + compile + + + + -proc:none + + + + + + + + + diff --git a/operator-framework/src/main/java/io/javaoperatorsdk/operator/config/runtime/ControllerConfigurationAnnotationProcessor.java b/operator-framework/src/main/java/io/javaoperatorsdk/operator/config/runtime/ControllerConfigurationAnnotationProcessor.java index d1cdb28581..fc517e713d 100644 --- a/operator-framework/src/main/java/io/javaoperatorsdk/operator/config/runtime/ControllerConfigurationAnnotationProcessor.java +++ b/operator-framework/src/main/java/io/javaoperatorsdk/operator/config/runtime/ControllerConfigurationAnnotationProcessor.java @@ -4,7 +4,6 @@ import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.ProcessingEnvironment; -import javax.annotation.processing.Processor; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; import javax.annotation.processing.SupportedSourceVersion; @@ -21,14 +20,12 @@ import io.fabric8.kubernetes.client.CustomResource; import io.javaoperatorsdk.operator.api.reconciler.Reconciler; -import com.google.auto.service.AutoService; import com.squareup.javapoet.TypeName; import static io.javaoperatorsdk.operator.config.runtime.RuntimeControllerMetadata.RECONCILERS_RESOURCE_PATH; @SupportedAnnotationTypes("io.javaoperatorsdk.operator.api.reconciler.ControllerConfiguration") @SupportedSourceVersion(SourceVersion.RELEASE_11) -@AutoService(Processor.class) public class ControllerConfigurationAnnotationProcessor extends AbstractProcessor { private static final Logger log = diff --git a/operator-framework/src/main/resources/META-INF/services/javax.annotation.processing.Processor b/operator-framework/src/main/resources/META-INF/services/javax.annotation.processing.Processor new file mode 100644 index 0000000000..82f7e04aea --- /dev/null +++ b/operator-framework/src/main/resources/META-INF/services/javax.annotation.processing.Processor @@ -0,0 +1 @@ +io.javaoperatorsdk.operator.config.runtime.ControllerConfigurationAnnotationProcessor \ No newline at end of file diff --git a/pom.xml b/pom.xml index 400a49b3bd..26335d41b6 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,6 @@ 2.18.0 4.6.1 3.12.0 - 1.0.1 0.19 1.13.0 3.23.1 @@ -106,11 +105,6 @@ commons-lang3 ${commons-lang3.version} - - com.google.auto.service - auto-service - ${auto-service.version} - com.google.testing.compile compile-testing