Skip to content

Commit

Permalink
feat: Updates javadoc preparation for maven central. (#202)
Browse files Browse the repository at this point in the history
* Revert "fix: Drops dokka dependency."

This reverts commit 858867a.

* fix: Updates phases for dokka plugin.
  • Loading branch information
damencho authored Mar 29, 2024
1 parent 858867a commit c42fce4
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<kotest.version>5.7.2</kotest.version>
<mockk.version>1.13.8</mockk.version>
<prometheus.version>0.16.0</prometheus.version>
<dokka.version>1.9.10</dokka.version>
<jetty.version>11.0.14</jetty.version>
<jersey.version>3.0.10</jersey.version>
<smack.version>4.4.6</smack.version>
Expand Down Expand Up @@ -143,6 +144,30 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
</plugin>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>${dokka.version}</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>dokka</goal>
<goal>javadoc</goal>
<goal>javadocJar</goal>
</goals>
</execution>
</executions>
<configuration>
<dokkaPlugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>kotlin-as-java-plugin</artifactId>
<version>${dokka.version}</version>
</plugin>
</dokkaPlugins>
</configuration>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -288,15 +313,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<doclint>-missing</doclint>
<source>11</source>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down Expand Up @@ -353,6 +369,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit c42fce4

Please sign in to comment.