File tree Expand file tree Collapse file tree 2 files changed +34
-24
lines changed Expand file tree Collapse file tree 2 files changed +34
-24
lines changed Original file line number Diff line number Diff line change 30
30
31
31
<artifactId >axon-kotlin</artifactId >
32
32
33
+ <properties >
34
+ <dokka .skip>false</dokka .skip>
35
+ </properties >
36
+
33
37
<dependencies >
34
38
<dependency >
35
39
<groupId >org.axonframework</groupId >
47
51
</plugins >
48
52
</build >
49
53
50
- <profiles >
51
- <profile >
52
- <id >javadoc-and-sources</id >
53
- <activation >
54
- <property >
55
- <name >performRelease</name >
56
- <value >true</value >
57
- </property >
58
- </activation >
59
- <build >
60
- <plugins >
61
- <plugin >
62
- <groupId >org.jetbrains.dokka</groupId >
63
- <artifactId >dokka-maven-plugin</artifactId >
64
- </plugin >
65
- <plugin >
66
- <artifactId >maven-source-plugin</artifactId >
67
- <version >3.0.1</version >
68
- </plugin >
69
- </plugins >
70
- </build >
71
- </profile >
72
- </profiles >
73
-
74
54
</project >
Original file line number Diff line number Diff line change 41
41
<slf4j .version>1.7.30</slf4j .version>
42
42
<log4j .version>2.13.3</log4j .version>
43
43
<dokka .version>1.4.10.2</dokka .version>
44
+ <!--
45
+ Deactivate dokka by default, and make the build faster for all projects.
46
+ The dokka.skip will be set to true on relevant projects only containing Kotlin code
47
+ (for example there is no reason to produce KDoc for example modules or empty javadoc archives for pom-only modules)
48
+ -->
49
+ <dokka .skip>true</dokka .skip>
44
50
</properties >
45
51
46
52
<dependencyManagement >
240
246
</plugins >
241
247
</build >
242
248
</profile >
249
+ <profile >
250
+ <id >docs-and-sources</id >
251
+ <activation >
252
+ <property >
253
+ <name >performRelease</name >
254
+ <value >true</value >
255
+ </property >
256
+ </activation >
257
+ <build >
258
+ <plugins >
259
+ <plugin >
260
+ <groupId >org.jetbrains.dokka</groupId >
261
+ <artifactId >dokka-maven-plugin</artifactId >
262
+ </plugin >
263
+ <plugin >
264
+ <artifactId >maven-source-plugin</artifactId >
265
+ </plugin >
266
+ </plugins >
267
+ </build >
268
+ </profile >
243
269
244
270
</profiles >
245
271
354
380
<groupId >org.jetbrains.dokka</groupId >
355
381
<artifactId >dokka-maven-plugin</artifactId >
356
382
<version >${dokka.version} </version >
383
+ <configuration >
384
+ <!-- Conditionally set per maven module, deactivated by default, to speed up and avoid unneeded empty docs archive -->
385
+ <skip >${dokka.skip} </skip >
386
+ </configuration >
357
387
<executions >
358
388
<execution >
359
389
<phase >prepare-package</phase >
You can’t perform that action at this time.
0 commit comments