Skip to content

Commit 7b90f0a

Browse files
committed
Add property to skip activation
1 parent fce8a46 commit 7b90f0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

parent/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,12 @@
193193
<profiles>
194194

195195
<profile>
196-
<!-- Generates SBOM.
197-
Inactivate with -P-sbom-->
196+
<!-- Generates SBOM. Skip with '-DskipSBOM'.-->
198197
<id>sbom</id>
199198
<activation>
200-
<activeByDefault>true</activeByDefault>
199+
<property>
200+
<name>!skipSBOM</name>
201+
</property>
201202
</activation>
202203
<build>
203204
<plugins>

0 commit comments

Comments
 (0)