From d9a885746967e661cb5c7be309c57f09a17e878c Mon Sep 17 00:00:00 2001 From: Fangbin Sun Date: Fri, 18 Jun 2021 13:41:05 +0800 Subject: [PATCH] Fix functions main profile activation by default (#10887) ### Motivation Similar to #10814, functions module build failed due to the falg `activeByDefault` fail to activate the profile if any other profile is activated. ### Modifications - Use a better solution to activate the `main` profile by default by using a property value with inversion (`!`) rule. --- pulsar-functions/pom.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pulsar-functions/pom.xml b/pulsar-functions/pom.xml index fcbfb02de40ea..d5dcc34ae8475 100644 --- a/pulsar-functions/pom.xml +++ b/pulsar-functions/pom.xml @@ -35,7 +35,11 @@ main - true + + disableFunctionsMainProfile + + !true + proto