otr4j / otr4j-issues

1 stars 0 forks source link

jacoco slows down maven builds a lot #16

Closed eighthave closed 4 years ago

eighthave commented 9 years ago

I think that jacoco is valuable, but it currently runs as part of every mvn test cycle, which really slows down development. I barely know anything about maven. Can jacoco only run on automated tests? Perhaps we can make a mvn quick-test or something like that which runs the tests without running jacoco. It should probably also skip the PGP check, since that also slows things down.

cobratbq commented 9 years ago

I'll see if I can limit jacoco activation to when an additional parameter is provided. I think something like that is possible in maven. I'll let you know when it's in place.

cobratbq commented 9 years ago

Created PR https://github.com/otr4j/otr4j/pull/45 that moves jacoco plugin to separate profile, disabled by default.