Add dokka plugin to generate javadocs Unfortunately due to https://github.com/Kotlin/dokka/issues/294 the build will be limited to jdk8 for now.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/commit/f39add4d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/tree/f39add4d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/diff/f39add4d Branch: refs/heads/master Commit: f39add4d8bf43610abc58d99f23426d9def2bce8 Parents: 47ea105 Author: Raman Gupta <[email protected]> Authored: Fri Nov 2 02:02:24 2018 -0400 Committer: Raman Gupta <[email protected]> Committed: Fri Nov 2 02:07:41 2018 -0400 ---------------------------------------------------------------------- log4j-api-kotlin/pom.xml | 15 +++++++++++++++ pom.xml | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/blob/f39add4d/log4j-api-kotlin/pom.xml ---------------------------------------------------------------------- diff --git a/log4j-api-kotlin/pom.xml b/log4j-api-kotlin/pom.xml index a37e19d..70424d8 100644 --- a/log4j-api-kotlin/pom.xml +++ b/log4j-api-kotlin/pom.xml @@ -103,6 +103,21 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.jetbrains.dokka</groupId> + <artifactId>dokka-maven-plugin</artifactId> + <executions> + <execution> + <phase>pre-site</phase> + <goals> + <goal>dokka</goal> + </goals> + </execution> + </executions> + <configuration> + <skip>false</skip> + </configuration> + </plugin> </plugins> </build> http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/blob/f39add4d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a087c3e..13ed06a 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ <Log4jReleaseKey>748F15B2CF9BA8F024155E6ED7C92B70FA1C814D</Log4jReleaseKey> <changes.plugin.version>2.12</changes.plugin.version> <checkstyle.plugin.version>2.17</checkstyle.plugin.version> + <dokka.plugin.version>0.9.17</dokka.plugin.version> <findbugs.plugin.version>3.0.5</findbugs.plugin.version> <javadoc.plugin.version>2.10.3</javadoc.plugin.version> <jxr.plugin.version>2.5</jxr.plugin.version> @@ -136,6 +137,11 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.jetbrains.dokka</groupId> + <artifactId>dokka-maven-plugin</artifactId> + <version>${dokka.plugin.version}</version> + </plugin> </plugins> </pluginManagement> <plugins> @@ -219,6 +225,13 @@ </asciidoc> </configuration> </plugin> + <plugin> + <groupId>org.jetbrains.dokka</groupId> + <artifactId>dokka-maven-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> </plugins> </build> <reporting> @@ -371,6 +384,13 @@ </plugin> </plugins> </reporting> + <pluginRepositories> + <pluginRepository> + <id>jcenter</id> + <name>JCenter</name> + <url>https://jcenter.bintray.com/</url> + </pluginRepository> + </pluginRepositories> <repositories> <repository> <id>apache.snapshots</id>
