kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Implement Kover Maven plugin

Open binkley opened this issue 3 years ago • 31 comments

Kover looks very exciting! Thank you for the Gradle plugin.

Request: an equivalent Maven plugin. Projects I work on are around 50/50 Gradle/Maven for builds (these are for backend, not mobile).

binkley avatar Nov 10 '21 00:11 binkley

+1 working with server side banking project. Look forward to the maven equivalent.

IgorSidorov avatar Nov 10 '21 21:11 IgorSidorov

Hi, at the moment, the development of the Maven plugin is not included in the short-term plans.

We will be happy to listen to your use cases, it will help to develop an API for the Maven plugin.

shanshin avatar Nov 12 '21 14:11 shanshin

+1 working with server side apm project. Look forward to the maven equivalent

KyongSik-Yoon avatar Nov 17 '21 12:11 KyongSik-Yoon

+1

Building maven based kotlin backend (REST API) application. I would like maven to create reports with kover during my CI.

marcoebbinghaus avatar Nov 24 '21 17:11 marcoebbinghaus

+1

RustamKuramshin avatar Dec 09 '21 11:12 RustamKuramshin

+1

Filipe3xF avatar Dec 10 '21 12:12 Filipe3xF

+1 Very much interested in Kover Maven Plugin. JaCoCo still does not fully serve the purpose. For example JaCoCo does not exclude getters and setters from the code coverage of data classes.

prajain12 avatar Jan 14 '22 07:01 prajain12

+1 Server-side enterprise development

revseev avatar Jan 23 '22 16:01 revseev

+1 Server-side enterprise development

Guruth avatar Feb 02 '22 08:02 Guruth

+1 Server Side enterprise dev

khekrn avatar Feb 13 '22 05:02 khekrn

A big reason I'm looking at Kover rather than JaCoCo is inline function coverage. See https://github.com/jacoco/jacoco/issues/654.

@shanshin As to "use cases", I assume you mean why Maven? I don't want to have a religious debate of Gradle vs Maven ;-) I'm a consultant, and make recommendations to client teams and organizations on tech choices. For me, I often (but not always) prefer Maven, especially for certain types of client, because of stability and reproducibility of builds. And I encourage them to move to Kotlin from Java when feasible, and coach developer teams in that transition.

Here is a sample personal project with 100% coverage according to JaCoCo of lines, branches, and instructions: https://github.com/binkley/kunits. It builds with Maven. There are extension functions I'd like to mark as inline but at the cost of JaCoCo calling those lines uncovered.

binkley avatar Mar 16 '22 12:03 binkley

+1

BerMuc avatar Apr 15 '22 03:04 BerMuc

+1

stylismo avatar May 12 '22 13:05 stylismo

+1

ArtSaidanov avatar Jun 02 '22 13:06 ArtSaidanov

+1

valeria-luchko-idf avatar Jun 02 '22 13:06 valeria-luchko-idf

+1

Bernardoklopf avatar Jun 14 '22 14:06 Bernardoklopf

+1

raissa-machado avatar Oct 11 '22 14:10 raissa-machado

  • 1!

NoxFr avatar Oct 13 '22 09:10 NoxFr

+1

JulI0-concerto avatar Nov 24 '22 19:11 JulI0-concerto

+1

joao-soares-amaro avatar Dec 19 '22 18:12 joao-soares-amaro

+1

from issue:

  • https://github.com/jacoco/jacoco/issues/654

oldratlee avatar Jan 03 '23 17:01 oldratlee

Our long-term plan is the following: polish and stabilize Gradle API (so it's complete, future-proof and supports both Android and merged reports in a concise manner). As soon as it's done, released and evaluated, we'll start transferring this API shape into Maven plugin (which, alas, will be much less configurable and probably won't support merged reports as well).

No specific timeframes for this tho, it's just an outline of our overall direction

qwwdfsad avatar Jan 05 '23 15:01 qwwdfsad

+1

pacdouglas avatar May 30 '23 21:05 pacdouglas

+1

SNandecha1 avatar Jun 15 '23 12:06 SNandecha1

+1

hiteshgrover06 avatar Jun 15 '23 12:06 hiteshgrover06

+1

acbeljaars avatar Jun 15 '23 13:06 acbeljaars

+1

emrearslan avatar Jul 13 '23 13:07 emrearslan

+1

aloisgeith avatar Jul 26 '23 07:07 aloisgeith

+1

simon-void avatar Aug 28 '23 08:08 simon-void

+1

oldratlee avatar Aug 28 '23 10:08 oldratlee