Why are benchmarks running when i mvn -pl a different module?
Henri Tremblay
henri.tremblay at gmail.com
Thu Sep 7 02:08:03 UTC 2017
Just remove lines 155-173 from
https://github.com/Pr0methean/BetterRandom/blob/master/benchmark/pom.xml.
Or move them in a maven profile.
On 6 September 2017 at 16:43, Chris <seahen123 at gmail.com> wrote:
> I have my benchmarks and the rest of my code in two sibling modules, called
> benchmark and betterrandom respectively. When I run
>
> #!/bin/sh
> cd betterrandom
> mvn -pl betterrandom jacoco:prepare-agent test jacoco:report &&\
> if [ "$TRAVIS" = "true" ]; then
> mvn coveralls:report
> fi
> cd ..
>
> Maven tries to run the benchmarks as well! Why is this happening, and how
> do I stop it? All my pom.xml's are at
> https://github.com/Pr0methean/betterrandom.
>
More information about the jmh-dev
mailing list