Skip to content

Commit 7e9cc2f

Browse files
committed
build: add 'fast' profile to skip tests and javadoc
Introduce a development profile that skips test compilation, test execution, and javadoc generation to speed up local builds
1 parent 9b0e15a commit 7e9cc2f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,22 @@
443443
</build>
444444

445445
<profiles>
446+
<profile>
447+
<id>fast</id>
448+
<!-- profile to skip time-consuming steps -->
449+
<activation>
450+
<activeByDefault>false</activeByDefault>
451+
</activation>
452+
<properties>
453+
<!-- skip _compiling_ the tests -->
454+
<maven.test.skip>true</maven.test.skip>
455+
<!-- skip execution of tests -->
456+
<skipTests>true</skipTests>
457+
458+
<maven.javadoc.skip>true</maven.javadoc.skip>
459+
</properties>
460+
</profile>
461+
446462
<profile>
447463
<id>release</id>
448464
<build>

0 commit comments

Comments
 (0)