Skip to content

Commit

Permalink
Sarthak: Made changes in pom.xml to support documentation using dokka
Browse files Browse the repository at this point in the history
  • Loading branch information
msarthak32 committed Feb 22, 2018
1 parent dce7f84 commit faed96c
Showing 1 changed file with 41 additions and 10 deletions.
51 changes: 41 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.dataanon</groupId>
<artifactId>data-anon</artifactId>
<version>0.9.0-SNAPSHOT</version>
<version>0.9.0</version>
<packaging>jar</packaging>

<name>data-anon</name>
Expand All @@ -21,6 +21,7 @@
<kotlin.version>1.2.21</kotlin.version>
<kotlin.test.version>2.0.7</kotlin.test.version>
<version.jacoco>0.8.0</version.jacoco>
<version.dokka>0.9.9</version.dokka>
</properties>

<scm>
Expand Down Expand Up @@ -56,6 +57,28 @@
<system>GitHub Issues</system>
</issueManagement>

<pluginRepositories>
<pluginRepository>
<id>jcenter</id>
<name>JCenter</name>
<url>https://jcenter.bintray.com/</url>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<repositories>
<repository>
<id>jcenter</id>
<name>JCenter</name>
<url>https://jcenter.bintray.com/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>io.projectreactor</groupId>
Expand Down Expand Up @@ -102,6 +125,11 @@
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>0.9.7</version>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -208,20 +236,23 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>prepare-package</phase>
<goals>
<goal>jar</goal>
<goal>dokka</goal>
<goal>javadoc</goal>
<goal>javadocJar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
<configuration>
<includes>
<file>packages.md</file>
</includes>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -239,4 +270,4 @@
</repository>
</distributionManagement>

</project>
</project>

0 comments on commit faed96c

Please sign in to comment.