Skip to content

Commit 2f59f95

Browse files
committed
Specify dokka plugin
Specify dokka plugin to actually build the JavaDoc files
1 parent ca22fa2 commit 2f59f95

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

pom.xml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<project xmlns="http://maven.apache.org/POM/4.0.0"
19-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2119
<modelVersion>4.0.0</modelVersion>
2220
<name>Axon Framework - Kotlin Extension - Parent</name>
2321
<description>Extension for Axon Framework that provides Kotlin utilities.</description>
2422

2523
<groupId>org.axonframework.extensions.kotlin</groupId>
2624
<artifactId>axon-kotlin-parent</artifactId>
27-
<version>0.1.0-SNAPSHOT</version>
25+
<version>0.2.0-SNAPSHOT</version>
2826
<packaging>pom</packaging>
2927

3028
<modules>
@@ -39,6 +37,9 @@
3937
<jackson-kotlin.version>2.10.0</jackson-kotlin.version>
4038
<mockk.version>1.9.3</mockk.version>
4139
<junit.jupiter.version>5.5.2</junit.jupiter.version>
40+
<slf4j.version>1.7.30</slf4j.version>
41+
<log4j.version>2.13.3</log4j.version>
42+
<dokka.version>0.10.1</dokka.version>
4243
</properties>
4344

4445
<dependencyManagement>
@@ -339,20 +340,18 @@
339340
</configuration>
340341
</plugin>
341342
<plugin>
342-
<artifactId>maven-javadoc-plugin</artifactId>
343-
<version>2.10.4</version>
343+
<groupId>org.jetbrains.dokka</groupId>
344+
<artifactId>dokka-maven-plugin</artifactId>
345+
<version>${dokka.version}</version>
344346
<executions>
345347
<execution>
346-
<id>attach-javadoc</id>
347-
<phase>deploy</phase>
348+
<phase>prepare-package</phase>
348349
<goals>
349-
<goal>jar</goal>
350+
<goal>dokka</goal>
351+
<goal>javadocJar</goal>
350352
</goals>
351353
</execution>
352354
</executions>
353-
<configuration>
354-
<additionalparam>-Xdoclint:none</additionalparam>
355-
</configuration>
356355
</plugin>
357356
<plugin>
358357
<artifactId>maven-jar-plugin</artifactId>
@@ -469,6 +468,14 @@
469468
</repository>
470469
</repositories>
471470

471+
<pluginRepositories>
472+
<pluginRepository>
473+
<id>jcenter</id>
474+
<name>JCenter</name>
475+
<url>https://jcenter.bintray.com/</url>
476+
</pluginRepository>
477+
</pluginRepositories>
478+
472479
<!-- deploy and release configuration -->
473480
<distributionManagement>
474481
<snapshotRepository>

0 commit comments

Comments
 (0)