Skip to content

Commit

Permalink
Fix functions main profile activation by default (apache#10887)
Browse files Browse the repository at this point in the history
### Motivation

Similar to apache#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.
  • Loading branch information
murong00 authored and yangl committed Jun 23, 2021
1 parent 2aa2c70 commit 5f9e46a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pulsar-functions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
<profile>
<id>main</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>disableFunctionsMainProfile</name>
<!-- always active unless true is passed as a value -->
<value>!true</value>
</property>
</activation>
<modules>
<module>proto</module>
Expand Down

0 comments on commit 5f9e46a

Please sign in to comment.