Skip to content

Commit 15c5799

Browse files
committed
Fix formatter when using Maven profiles
At the moment, it was failing when selecting Maven profiles because the `format` profile was unselected and hence the properties were not present.
1 parent f182787 commit 15c5799

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

pom.xml

+4-11
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
5757
<quarkus.platform.version>999-SNAPSHOT</quarkus.platform.version>
5858
<quarkus-plugin.version>999-SNAPSHOT</quarkus-plugin.version>
59+
<!-- Default values for format -->
60+
<src.format.goal>format</src.format.goal>
61+
<src.sort.goal>sort</src.sort.goal>
62+
<xml.format.goal>xml-format</xml.format.goal>
5963
</properties>
6064
<dependencyManagement>
6165
<dependencies>
@@ -251,17 +255,6 @@
251255
<quarkus.package.type>native</quarkus.package.type>
252256
</properties>
253257
</profile>
254-
<profile>
255-
<id>format</id>
256-
<activation>
257-
<activeByDefault>true</activeByDefault>
258-
</activation>
259-
<properties>
260-
<src.format.goal>format</src.format.goal>
261-
<src.sort.goal>sort</src.sort.goal>
262-
<xml.format.goal>xml-format</xml.format.goal>
263-
</properties>
264-
</profile>
265258
<profile>
266259
<id>validate-format</id>
267260
<activation>

0 commit comments

Comments
 (0)