Skip to content

Commit

Permalink
jicoco module to maven central (#200)
Browse files Browse the repository at this point in the history
* fix: Fixes building jicoco-metrics.

* fix: Fixes generating docs for jicoco.

Use dokka-maven-plugin for all modules.
  • Loading branch information
damencho authored Mar 29, 2024
1 parent 788f6c5 commit 6bc87ac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 46 deletions.
14 changes: 0 additions & 14 deletions jicoco-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
20 changes: 6 additions & 14 deletions jicoco-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,21 +218,13 @@
</goals>
</execution>
</executions>
<configuration>
<release>11</release>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
14 changes: 0 additions & 14 deletions jicoco-test-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@
<build>
<pluginManagement>
<plugins>
<!--
Dokka is not added as plugin for all projects because it randomly fails
for jicoco, see also https://github.com/Kotlin/dokka/issues/1599
-->
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
Expand Down Expand Up @@ -367,6 +363,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 6bc87ac

Please sign in to comment.