From fbaf7eba154d5daa517141b7d6f4bcd4417b07bc Mon Sep 17 00:00:00 2001 From: Ozan Gunalp Date: Wed, 29 Jan 2025 12:21:47 +0100 Subject: [PATCH] Configure connector-attribute-processor annotation processor using annotationProcessorPaths config --- documentation/pom.xml | 35 +++++++++++------ pom.xml | 12 ++++++ .../pom.xml | 31 +++++++++++++-- smallrye-reactive-messaging-amqp/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-aws-sqs/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-camel/pom.xml | 38 ++++++++++++------- .../resources/archetype-resources/pom.xml | 35 +++++++++++------ .../pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-in-memory/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-jms/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-kafka/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-mqtt/pom.xml | 35 +++++++++++------ smallrye-reactive-messaging-pulsar/pom.xml | 36 ++++++++++++------ smallrye-reactive-messaging-rabbitmq/pom.xml | 35 +++++++++++------ 14 files changed, 328 insertions(+), 139 deletions(-) diff --git a/documentation/pom.xml b/documentation/pom.xml index 8668573f07..28c5476df1 100644 --- a/documentation/pom.xml +++ b/documentation/pom.xml @@ -208,17 +208,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/pom.xml b/pom.xml index 22b4382ff6..c6ffb23840 100644 --- a/pom.xml +++ b/pom.xml @@ -125,6 +125,7 @@ true 1.16.0 + 1.1.1 @@ -163,6 +164,17 @@ import + + com.google.auto.service + auto-service-annotations + ${auto-service.version} + + + com.google.auto.service + auto-service + ${auto-service.version} + + org.eclipse.microprofile.reactive.messaging microprofile-reactive-messaging-api diff --git a/smallrye-connector-attribute-processor/pom.xml b/smallrye-connector-attribute-processor/pom.xml index ed40235808..2fff98280f 100644 --- a/smallrye-connector-attribute-processor/pom.xml +++ b/smallrye-connector-attribute-processor/pom.xml @@ -24,15 +24,40 @@ org.eclipse.microprofile.config microprofile-config-api + compile com.google.auto.service - auto-service - 1.1.1 - provided + auto-service-annotations + + + + org.apache.maven.plugins + maven-compiler-plugin + + + default-compile + compile + + compile + + + + + com.google.auto.service + auto-service + ${auto-service.version} + + + + + + + + coverage diff --git a/smallrye-reactive-messaging-amqp/pom.xml b/smallrye-reactive-messaging-amqp/pom.xml index f2d0774aa2..c1266ac91a 100644 --- a/smallrye-reactive-messaging-amqp/pom.xml +++ b/smallrye-reactive-messaging-amqp/pom.xml @@ -113,17 +113,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + maven-surefire-plugin diff --git a/smallrye-reactive-messaging-aws-sqs/pom.xml b/smallrye-reactive-messaging-aws-sqs/pom.xml index 0e6dd53aca..08d4006f36 100644 --- a/smallrye-reactive-messaging-aws-sqs/pom.xml +++ b/smallrye-reactive-messaging-aws-sqs/pom.xml @@ -95,17 +95,30 @@ org.apache.maven.plugins maven-compiler-plugin - - target/generated-sources - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-camel/pom.xml b/smallrye-reactive-messaging-camel/pom.xml index 56a81e921d..2d620673ef 100644 --- a/smallrye-reactive-messaging-camel/pom.xml +++ b/smallrye-reactive-messaging-camel/pom.xml @@ -14,9 +14,6 @@ false - 17 - 17 - 17 @@ -102,17 +99,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-connector-archetype/src/main/resources/archetype-resources/pom.xml b/smallrye-reactive-messaging-connector-archetype/src/main/resources/archetype-resources/pom.xml index 1a5cb43c11..7c244fc82c 100644 --- a/smallrye-reactive-messaging-connector-archetype/src/main/resources/archetype-resources/pom.xml +++ b/smallrye-reactive-messaging-connector-archetype/src/main/resources/archetype-resources/pom.xml @@ -96,17 +96,30 @@ org.apache.maven.plugins maven-compiler-plugin - - \${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-gcp-pubsub/pom.xml b/smallrye-reactive-messaging-gcp-pubsub/pom.xml index 47e568543e..8928873bd2 100644 --- a/smallrye-reactive-messaging-gcp-pubsub/pom.xml +++ b/smallrye-reactive-messaging-gcp-pubsub/pom.xml @@ -66,17 +66,30 @@ org.apache.maven.plugins maven-compiler-plugin - - target/generated-sources - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-in-memory/pom.xml b/smallrye-reactive-messaging-in-memory/pom.xml index e0477eb2af..15bcd17bad 100644 --- a/smallrye-reactive-messaging-in-memory/pom.xml +++ b/smallrye-reactive-messaging-in-memory/pom.xml @@ -46,17 +46,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-jms/pom.xml b/smallrye-reactive-messaging-jms/pom.xml index 7961ff219a..d0d94d2d05 100644 --- a/smallrye-reactive-messaging-jms/pom.xml +++ b/smallrye-reactive-messaging-jms/pom.xml @@ -140,17 +140,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-kafka/pom.xml b/smallrye-reactive-messaging-kafka/pom.xml index 2ee6e548d5..64862e7418 100644 --- a/smallrye-reactive-messaging-kafka/pom.xml +++ b/smallrye-reactive-messaging-kafka/pom.xml @@ -142,17 +142,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-mqtt/pom.xml b/smallrye-reactive-messaging-mqtt/pom.xml index 697078b9c5..621624bb81 100644 --- a/smallrye-reactive-messaging-mqtt/pom.xml +++ b/smallrye-reactive-messaging-mqtt/pom.xml @@ -70,17 +70,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + diff --git a/smallrye-reactive-messaging-pulsar/pom.xml b/smallrye-reactive-messaging-pulsar/pom.xml index aaf7cb3864..6b352fb72a 100644 --- a/smallrye-reactive-messaging-pulsar/pom.xml +++ b/smallrye-reactive-messaging-pulsar/pom.xml @@ -134,19 +134,31 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + + - org.apache.maven.plugins maven-surefire-plugin diff --git a/smallrye-reactive-messaging-rabbitmq/pom.xml b/smallrye-reactive-messaging-rabbitmq/pom.xml index 7bf6d2f8f8..8f9ce12e4d 100644 --- a/smallrye-reactive-messaging-rabbitmq/pom.xml +++ b/smallrye-reactive-messaging-rabbitmq/pom.xml @@ -88,17 +88,30 @@ org.apache.maven.plugins maven-compiler-plugin - - ${project.build.directory}/generated-sources/ - - - io.smallrye.reactive.messaging.connector.ConnectorAttributeProcessor - - - org.jboss.logging.processor.apt.LoggingToolsProcessor - - - + + + default-compile + compile + + compile + + + true + + + org.jboss.logging + jboss-logging-processor + ${version.org.jboss.logging-processor} + + + io.smallrye.reactive + smallrye-connector-attribute-processor + ${project.version} + + + + +