Skip to content

Commit 39befbd

Browse files
committed
build: Use Dokka format for Javadocs
1 parent 9f7192e commit 39befbd

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

pom.xml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@
151151
</execution>
152152
</executions>
153153
</plugin>
154-
<plugin>
155-
<artifactId>maven-javadoc-plugin</artifactId>
156-
<version>3.10.0</version>
157-
</plugin>
158154
<plugin>
159155
<artifactId>maven-jar-plugin</artifactId>
160156
<version>3.4.2</version>
@@ -168,6 +164,20 @@
168164
</manifestEntries>
169165
</archive>
170166
</configuration>
167+
<executions>
168+
<execution>
169+
<id>dokka-jar</id>
170+
<phase>package</phase>
171+
<goals>
172+
<goal>jar</goal>
173+
</goals>
174+
<configuration>
175+
<classifier>javadoc</classifier>
176+
<classesDirectory>${project.build.directory}/dokka</classesDirectory>
177+
<skipIfEmpty>true</skipIfEmpty>
178+
</configuration>
179+
</execution>
180+
</executions>
171181
</plugin>
172182
<plugin>
173183
<artifactId>maven-compiler-plugin</artifactId>
@@ -187,7 +197,7 @@
187197
<phase>prepare-package</phase>
188198
<goals>
189199
<goal>dokka</goal>
190-
<goal>javadocJar</goal>
200+
<!--goal>javadocJar</goal-->
191201
</goals>
192202
</execution>
193203
</executions>

0 commit comments

Comments
 (0)