Skip to content

Commit 94ea7d8

Browse files
committed
Always active default build profile
Update the root build POM so that the default profile is always active. Prior to this commit the profile was to `activeByDefault` which meant it was only active if no other profiles were enabled. When running in Eclipse, the `m2e` profile is active, meaning the default profile was disabled and `spring-javaformat` setting were not applied. Closes gh-13900
1 parent 24e873c commit 94ea7d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
<profile>
2020
<id>default</id>
2121
<activation>
22-
<activeByDefault>true</activeByDefault>
22+
<property>
23+
<name>!disable-spring-boot-default-profile</name>
24+
</property>
2325
</activation>
2426
<properties>
2527
<spring-javaformat.version>0.0.3</spring-javaformat.version>

0 commit comments

Comments
 (0)